Skip to content

Commit

Permalink
testing GITHUB_TOKEN in build-infra-deb
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Borisov <[email protected]>
  • Loading branch information
borisicbs committed Feb 5, 2025
1 parent 8cb7c6d commit 57157fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .expeditor/scripts/build-infra-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -euo pipefail

echo "-------DEBUG-------"
echo "$GITHUB_TOKEN"

validate_env_vars() {
if [ -z "${CHEF_INFRA_MIGRATE_TAR:-}" ] || [ -z "${CHEF_INFRA_HAB_TAR:-}" ]; then
echo "Environment variables CHEF_INFRA_MIGRATE_TAR and CHEF_INFRA_HAB_TAR must be set to the URLs of the respective tarball files."
Expand Down Expand Up @@ -44,8 +47,6 @@ download_migration_tool_from_github_releases() {
local output_path="$1"

echo "--- Downloading migration tools to $output_path.."
echo "-------DEBUG-------"
echo "$GITHUB_TOKEN"

if [ -z "${GITHUB_TOKEN:-}" ]; then
echo "GITHUB_TOKEN is not set. Cannot download migration tool from"
Expand Down

0 comments on commit 57157fc

Please sign in to comment.