Skip to content

Commit

Permalink
Merge pull request #184 from sparkfabrik/feat/gitlab_agent_in_helm_init
Browse files Browse the repository at this point in the history
feat: call the setup-gitlab-agent also in helm-init script
  • Loading branch information
Monska85 authored Jul 5, 2024
2 parents 5ed4910 + a242486 commit 47f550d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/helm-init
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ source "$DEPLOY_ROOT_DIR/src/common.bash"
# shellcheck disable=SC1091
source "$DEPLOY_ROOT_DIR/src/functions.bash"

# Switch to the GitLab Agent context if needed.
# This configuration is also used in the default `before_script`
# of the `.gitlab-ci-template.yml`. In some rare cases, the `before_script`
# section is completely overridden in the project's jobs.
# To avoid any issues, we call the `setup-gitlab-agent` function also here.
setup-gitlab-agent

# Proceed with the other steps.
create-ns-and-developer-role-bindings
helm-init

0 comments on commit 47f550d

Please sign in to comment.