-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(goss): move windows sanity checks from provider script to goss (#…
…922) * add goss checks * remove sanity check from provisionning * remove path to exec commands from goss * wip goss test * wip windows goss * run goss as elevated user packer * wip unrestricted * remove erroractionpreference from goss launch * with retry and pause * add timeout on goss * add debug * bump goss-windows versions * Update goss/goss-windows.yaml * Apply suggestions from code review * wip cleaning * remove elevated user privileges * use regular expression for goss match of pwsh * remove chocolatey version check
- Loading branch information
Showing
3 changed files
with
146 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,163 @@ | ||
command: | ||
Powershell: | ||
exec: powershell (Get-Host).Version | ||
exit-status: 0 | ||
awscli: | ||
exec: aws --version | ||
exit-status: 0 | ||
stdout: | ||
- 2.15.0 | ||
azurecli: | ||
exec: az version | ||
exit-status: 0 | ||
stdout: | ||
- 2.55.0 | ||
bundle: | ||
exec: bundle -v | ||
exit-status: 0 | ||
chocolatey: | ||
exec: choco | ||
exit-status: 1 | ||
container-structure-test: | ||
exec: container-structure-test version | ||
exit-status: 0 | ||
stdout: | ||
- 1.16.0 | ||
default_java: | ||
exec: java --version | ||
exit-status: 0 | ||
stdout: | ||
- 11.0.21+9 | ||
jdk8: | ||
exec: C:\tools\jdk-8\bin\java.exe -version | ||
docker-ce: | ||
exec: docker -v | ||
exit-status: 0 | ||
stderr: | ||
- 1.8.0_392 | ||
docker_compose: | ||
exec: docker-compose -v | ||
exit-status: 0 | ||
stdout: | ||
- 2.23.3 | ||
gh_cli: | ||
exec: gh version | ||
exit-status: 0 | ||
stdout: | ||
- 2.40.0 | ||
git_lfs: | ||
exec: git-lfs version | ||
exit-status: 0 | ||
stdout: | ||
- 3.4.0 | ||
goss: | ||
exec: goss -version | ||
exit-status: 0 | ||
stdout: | ||
- 0.4.4 | ||
hadolint: | ||
exec: hadolint --version | ||
exit-status: 0 | ||
stdout: | ||
- 2.12.0 | ||
jdk11: | ||
exec: C:\tools\jdk-11\bin\java.exe --version | ||
exec: C:\tools\jdk-11\bin\java --version | ||
exit-status: 0 | ||
stdout: | ||
- 11.0.21+9 | ||
jdk17: | ||
exec: C:\tools\jdk-17\bin\java.exe --version | ||
exec: C:\tools\jdk-17\bin\java --version | ||
exit-status: 0 | ||
stdout: | ||
- 17.0.8.1+1 | ||
jdk21: | ||
exec: C:\tools\jdk-21\bin\java.exe --version | ||
exec: C:\tools\jdk-21\bin\java --version | ||
exit-status: 0 | ||
stdout: | ||
- 21.0.1+12 | ||
jdk8: | ||
exec: C:\tools\jdk-8\bin\java -version | ||
exit-status: 0 | ||
stderr: | ||
- 1.8.0_392 | ||
jq: | ||
exec: jq --version | ||
exit-status: 0 | ||
stdout: | ||
- jq-1.6 | ||
jx-release-version: | ||
exec: jx-release-version -version | ||
exit-status: 0 | ||
stdout: | ||
- 2.7.0 | ||
kubectl: | ||
exec: kubectl version --client | ||
exit-status: 0 | ||
stdout: | ||
- 1.23.13 | ||
launchable: | ||
exec: launchable --version | ||
exit-status: 0 | ||
stdout: | ||
- 1.66.0 | ||
make: | ||
exec: make -version | ||
exit-status: 0 | ||
netlify-deploy: | ||
exec: netlify-deploy --help | ||
exit-status: 0 | ||
nodejs: | ||
exec: node --version | ||
exit-status: 0 | ||
stdout: | ||
- 18.18.2 | ||
packer: | ||
exec: packer --version | ||
exit-status: 0 | ||
stdout: | ||
- 1.9.4 | ||
pwsh: | ||
exec: pwsh -command "(Get-Host).Version" | ||
exit-status: 0 | ||
stdout: | ||
- /7.*4.*0/ | ||
python3: | ||
exec: python --version | ||
exit-status: 0 | ||
stdout: | ||
- 3.12.1 | ||
ruby: | ||
exec: ruby -v | ||
exit-status: 0 | ||
stdout: | ||
- 2.6.10 | ||
terraform: | ||
exec: terraform -v | ||
exit-status: 0 | ||
stdout: | ||
- 1.6.5 | ||
trivy: | ||
exec: trivy --version | ||
exit-status: 0 | ||
stdout: | ||
- 0.47.0 | ||
updatecli: | ||
exec: updatecli version | ||
exit-status: 0 | ||
stderr: | ||
- 0.69.0 | ||
vagrant: | ||
exec: vagrant --version | ||
exit-status: 0 | ||
stdout: | ||
- 2.4.0 | ||
yq: | ||
exec: yq --version | ||
exit-status: 0 | ||
stdout: | ||
- 4.25.3 | ||
file: | ||
C:\Program Files\Chromium\Application\: | ||
contains: [] | ||
exists: true | ||
filetype: directory | ||
C:\Program Files\Datadog\Datadog agent\bin\: | ||
contains: [] | ||
exists: true | ||
filetype: directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters