diff --git a/.expeditor/verify_private.pipeline.yml b/.expeditor/verify_private.pipeline.yml index 4b5aa07b2f6..61c9aee42f9 100644 --- a/.expeditor/verify_private.pipeline.yml +++ b/.expeditor/verify_private.pipeline.yml @@ -54,18 +54,19 @@ steps: command: - scripts/verify_build.sh timeout_in_minutes: 45 + env: + ALLOW_LOCAL_PACKAGES: true + HAB_STUDIO_SUP: false + HAB_NONINTERACTIVE: true expeditor: secrets: HAB_STUDIO_SECRET_GITHUB_TOKEN: account: github/chef-ci field: token executor: - docker: + linux: privileged: true - environment: - - ALLOW_LOCAL_PACKAGES=true - - HAB_STUDIO_SUP=false - - HAB_NONINTERACTIVE=true + - label: "[unit] license-control-service" command: diff --git a/scripts/verify_build.sh b/scripts/verify_build.sh index 9371ae109df..225353d5bb3 100755 --- a/scripts/verify_build.sh +++ b/scripts/verify_build.sh @@ -63,7 +63,8 @@ done if [[ "$build_commands" != "" ]]; then # We override HAB_CACHE_KEY_PATH to ensure we only see the key we # generated in this build - HAB_ORIGIN=chef HAB_CACHE_KEY_PATH=$RESOLVED_RESULTS_DIR DO_CHECK=true hab studio run "source .studiorc; set -e; $build_commands" + export HAB_DOCKER_OPTS="--label buildkitejob=$BUILDKITE_JOB_ID" + HAB_ORIGIN=chef HAB_CACHE_KEY_PATH=$RESOLVED_RESULTS_DIR DO_CHECK=true hab studio run -D "source .studiorc; set -e; $build_commands" fi # Generate a local A2 manifest. This manifest represents the total