Skip to content

Commit

Permalink
chore(updatecli, tests) fix Linux Git manifest to also update goss (#919
Browse files Browse the repository at this point in the history
)

* chore(updatecli) fix Linux Git manifest to also update goss

Fixup of #910

* chore(tests) fix Linux Git version

Fixup of #893
  • Loading branch information
dduportal authored Nov 21, 2023
1 parent 564e3dd commit 7242387
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion goss/goss-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ command:
exec: git --version
exit-status: 0
stdout:
- 2.42.0
- 2.43.0
git_lfs:
exec: git-lfs --version
exit-status: 0
Expand Down
17 changes: 12 additions & 5 deletions updatecli/updatecli.d/git-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ sources:
kind: githubrelease
name: Get the latest Git version
spec:
owner: "git"
repository: "git"
owner: git
repository: git
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
versionfilter:
Expand All @@ -29,11 +29,18 @@ sources:

targets:
updateGitVersion:
name: Update the Git version in the Packer default values
name: Bump Git version on Linux in the Packer default values
kind: yaml
spec:
file: "provisioning/tools-versions.yml"
key: "git_linux_version"
file: provisioning/tools-versions.yml
key: $.git_linux_version
scmid: default
updateVersionInGoss:
name: Bump Git version on Linux in the goss test
kind: yaml
spec:
file: goss/goss-linux.yaml
key: $.command.git.stdout[0]
scmid: default

actions:
Expand Down

0 comments on commit 7242387

Please sign in to comment.