Skip to content

Commit

Permalink
ci: move back to docker-based studio, now with labels
Browse files Browse the repository at this point in the history
This moves us back to the linux executor with a docker based studio.
We are moving back because of

buildkite-plugins/docker-buildkite-plugin#127

which is still present in the build that we have.

Signed-off-by: Steven Danna <[email protected]>
  • Loading branch information
stevendanna committed Jul 25, 2019
1 parent 8e3ef1f commit c92ea29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .expeditor/verify_private.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion scripts/verify_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c92ea29

Please sign in to comment.