Skip to content

Commit 094a218

Browse files
Using the acceptance buildr in the 'promote' job.
Signed-off-by: Abhijit Gadgil <agadgil@progress.com>
1 parent ece682e commit 094a218

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.expeditor/release_habitat.pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,3 +535,5 @@ steps:
535535
executor:
536536
docker:
537537
privileged: true
538+
environment:
539+
- JOB_HAB_BLDR_URL=https://bldr.acceptance.habitat.sh

.expeditor/scripts/release_habitat/promote_artifacts_to_dev.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ source .expeditor/scripts/release_habitat/shared.sh
1919

2020
export HAB_BLDR_URL="${PIPELINE_HAB_BLDR_URL}"
2121

22+
# The following holds true only for aarch64-darwin as we are only setting that
23+
# environment variable for macos aarch64 jobs. TODO: Remove it once we start
24+
# using the SAAS builder for macOS
25+
if [[ -n "${JOB_HAB_BLDR_URL:-}" ]]; then
26+
export HAB_BLDR_URL="${JOB_HAB_BLDR_URL}"
27+
export HAB_AUTH_TOKEN="${ACCEPTANCE_HAB_AUTH_TOKEN}"
28+
fi
29+
2230
# Take advantage of the fact that we're just promoting and we can run
2331
# 100% on linux
2432
declare -g hab_binary

0 commit comments

Comments
 (0)