Skip to content

Commit

Permalink
fix: additional fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgniewek committed Apr 4, 2023
1 parent b1bc5de commit e676b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/check-gitlab-approvals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fi
export GITLAB_TOKEN=${ATLANTIS_GITLAB_TOKEN}
if [ -v ATLANTIS_GITLAB_HOSTNAME ] && [ ! -z "$ATLANTIS_GITLAB_HOSTNAME" ]; then
# if env set and not empty set GITLAB_HOST
GITLAB_HOST="https://${ATLANTIS_GITLAB_HOSTNAME}"
export GITLAB_HOST="https://${ATLANTIS_GITLAB_HOSTNAME}"
fi

REPO_NAME="${HEAD_REPO_OWNER}/${HEAD_REPO_NAME}"
Expand Down
2 changes: 1 addition & 1 deletion app/pull-gitlab-variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
export GITLAB_TOKEN=${ATLANTIS_GITLAB_TOKEN}
if [ -v ATLANTIS_GITLAB_HOSTNAME ] && [ ! -z "$ATLANTIS_GITLAB_HOSTNAME" ]; then
# if env set and not empty set GITLAB_HOST
GITLAB_HOST="https://${ATLANTIS_GITLAB_HOSTNAME}"
export GITLAB_HOST="https://${ATLANTIS_GITLAB_HOSTNAME}"
fi

ENV_SCOPE=$(echo $REPO_REL_DIR | sed -nE 's/environments\/([^/]+).*/\1/p')
Expand Down

0 comments on commit e676b50

Please sign in to comment.