diff options
author | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-05-21 15:27:18 +0300 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2018-05-22 14:32:09 +0300 |
commit | 3ebaa2bdd3948cbe05cb8c4feaae7f39520703b3 (patch) | |
tree | ebbcbc2de45b30473c4b4e39c87c0ffe42e5b456 /spec | |
parent | dc88ced2659f502c42da157fa184852e86c9f5b3 (diff) |
Merge branch '46454-wrong-value-in-ci-deploy-user' into 'master'
Resolve "CI/CD jobs: Wrong value in env. variable CI_DEPLOY_USER using <gitlab-deploy-token> deploy token"
Closes #46454
See merge request gitlab-org/gitlab-ce!19047
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index dc810489011..5eb4fffbaaf 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -2044,7 +2044,7 @@ describe Ci::Build do let(:deploy_token_variables) do [ - { key: 'CI_DEPLOY_USER', value: deploy_token.name, public: true }, + { key: 'CI_DEPLOY_USER', value: deploy_token.username, public: true }, { key: 'CI_DEPLOY_PASSWORD', value: deploy_token.token, public: false } ] end |