diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23570394b..8a943a2c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -164,8 +164,8 @@ test:live:setup: --container-arg="-c" \ --container-arg="printf '#!/usr/bin/env ruby \nu = User.first \nu.admin = true \nu.save! \nt = PersonalAccessToken.new({ user: u, name: \"gitbeaker\", scopes: [\"api\", \"read_user\"]}) \nt.expires_at = 365.days.from_now \nt.set_token(ENV[\"PERSONAL_ACCESS_TOKEN\"]) \nt.save! \nputs t.token\n' > /opt/gitlab/embedded/service/gitlab-rails/db/fixtures/production/40_access_token.rb && /assets/wrapper" \ --container-env ^~^GITLAB_ROOT_PASSWORD=${GITLAB_ROOT_PASSWORD}~PERSONAL_ACCESS_TOKEN=${GITLAB_PERSONAL_ACCESS_TOKEN}~GITLAB_OMNIBUS_CONFIG="gitlab_rails['monitoring_whitelist'] = ['0.0.0.0/0', '172.17.0.1'];" \ - --metadata SELF_DESTRUCT_INTERVAL_MINUTES=15 \ - --metadata-from-file startup-script=./scripts/shutdown.sh \ + --metadata=SELF_DESTRUCT_INTERVAL_MINUTES=15 \ + --metadata-from-file=startup-script=./scripts/shutdown.sh \ --format='get(networkInterfaces[0].accessConfigs[0].natIP)'\ | head -2 | tail -1 )