diff options
author | Sean Simmons <ssimmons@progress.com> | 2023-03-27 21:12:38 -0400 |
---|---|---|
committer | Sean Simmons <ssimmons@progress.com> | 2023-03-27 21:12:38 -0400 |
commit | 820d38e4e1b18ff62e075c4440c4e7ff24ebe537 (patch) | |
tree | 0f09992ddf8640acd826cc0059328ece9671db2b /.buildkite/build-test-omnibus.sh | |
parent | c38a663cc9f040e546bf5e7575345f53e0f18954 (diff) | |
download | chef-820d38e4e1b18ff62e075c4440c4e7ff24ebe537.tar.gz |
adding arm test portion
Signed-off-by: Sean Simmons <ssimmons@progress.com>
Diffstat (limited to '.buildkite/build-test-omnibus.sh')
-rwxr-xr-x | .buildkite/build-test-omnibus.sh | 52 |
1 files changed, 25 insertions, 27 deletions
diff --git a/.buildkite/build-test-omnibus.sh b/.buildkite/build-test-omnibus.sh index a22c45515d..23e16db90f 100755 --- a/.buildkite/build-test-omnibus.sh +++ b/.buildkite/build-test-omnibus.sh @@ -249,33 +249,6 @@ fi echo "- wait: ~" - - -if [[ ! -z "${omnibus_test_platforms_arm64:-}" ]] -then - for platform in ${omnibus_test_platforms_arm64[@]}; do - if [[ $platform != *"windows"* ]]; then - echo "- env:" - echo " OMNIBUS_BUILDER_KEY: build-${platform#*:}-arm" - echo " label: \":mag::docker: ${platform%:*}-arm\"" - echo " key: test-${platform%:*}-arm" - echo " retry:" - echo " automatic:" - echo " limit: 1" - echo " agents:" - echo " queue: docker-linux-arm64" - echo " plugins:" - echo " - docker#v3.5.0:" - echo " image: chefes/omnibus-toolchain-${platform%:*}:$OMNIBUS_TOOLCHAIN_VERSION" - echo " privileged: true" - echo " propagate-environment: true" - echo " commands:" - echo " - ./.expeditor/scripts/download_built_omnibus_pkgs.sh" - echo " - omnibus/omnibus-test.sh" - echo " timeout_in_minutes: 60" - done -fi - # using shell parameter expansion this checks to make sure the omnibus_test_platforms array isn't empty if OMNIBUS_FILTER is only esoteric platforms # prevents omnibus_test_platforms unbound variable error if [[ ! -z "${omnibus_test_platforms:-}" ]] @@ -373,6 +346,31 @@ then done fi +if [[ ! -z "${omnibus_test_platforms_arm64:-}" ]] +then + for platform in ${omnibus_test_platforms_arm64[@]}; do + if [[ $platform != *"windows"* ]]; then + echo "- env:" + echo " OMNIBUS_BUILDER_KEY: build-${platform#*:}-arm" + echo " label: \":mag::docker: ${platform%:*}-arm\"" + echo " key: test-${platform%:*}-arm" + echo " retry:" + echo " automatic:" + echo " limit: 1" + echo " agents:" + echo " queue: docker-linux-arm64" + echo " plugins:" + echo " - docker#v3.5.0:" + echo " image: chefes/omnibus-toolchain-${platform%:*}:$OMNIBUS_TOOLCHAIN_VERSION" + echo " privileged: true" + echo " propagate-environment: true" + echo " commands:" + echo " - ./.expeditor/scripts/download_built_omnibus_pkgs.sh" + echo " - omnibus/omnibus-test.sh" + echo " timeout_in_minutes: 60" + done +fi + if [ $BUILDKITE_PIPELINE_SLUG == "chef-chef-main-validate-release" ] then echo "- wait: ~" |