From d98341be0e1d33ead9e4c39b1e5e3e66e21b7dbe Mon Sep 17 00:00:00 2001 From: Sean Simmons Date: Fri, 3 Jan 2025 13:01:36 -0500 Subject: [PATCH] had the wrong name in the expeditor config, an extra s Signed-off-by: Sean Simmons --- .expeditor/config.yml | 2 +- .expeditor/promote-hab-pkg.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 4216363..6ddad90 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -81,7 +81,7 @@ subscriptions: # subscription to fire off any other promotions that you may need for an additional channnel like LTS or something. - workload: staged_workload_released:{{agent_id}}:workstation_build_promote:* actions: - - bash:.expeditor/scripts/promote-hab-pkgs.sh: + - bash:.expeditor/scripts/promote-hab-pkg.sh: post_commit: true staging_areas: diff --git a/.expeditor/promote-hab-pkg.sh b/.expeditor/promote-hab-pkg.sh index a94fd75..cd4f7ee 100644 --- a/.expeditor/promote-hab-pkg.sh +++ b/.expeditor/promote-hab-pkg.sh @@ -10,9 +10,9 @@ # HAB_AUTH_TOKEN - GitHub Auth token used to communicate with the # Habitat depot and private repos in Chef's GitHub org # -set -eoux pipefail +set -eou pipefail -printenv | grep EXPEDITOR +# printenv | grep EXPEDITOR # Export the HAB_AUTH_TOKEN for use of promoting habitat packages to {{EXPEDITOR_TARGET_CHANNEL}} HAB_AUTH_TOKEN=$(vault kv get -field auth_token account/static/habitat/chef-ci)