diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-07 14:43:25 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-07 14:43:25 +0300 |
commit | 5d9a2e3b1e3b3e5b41c0968f22ee679275125610 (patch) | |
tree | 10bd3b01e7a9ed74327cd0fa45863beaa7ac0b97 /app | |
parent | a7a11f828dd7d75e2fdf06f4889a23906880abe9 (diff) | |
parent | a910c09bbc8c56002db10d669e4ae1e4bdef9f4d (diff) |
Merge branch 'fix/gb/encrypt-ci-build-token' into 'master'
Add CI/CD build encrypted tokens (after revert)
Closes #52342
See merge request gitlab-org/gitlab-ce!23649
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index d60861dc95f..d86a6eceb59 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -120,7 +120,7 @@ module Ci acts_as_taggable - add_authentication_token_field :token + add_authentication_token_field :token, encrypted: true, fallback: true before_save :update_artifacts_size, if: :artifacts_file_changed? before_save :ensure_token |