summaryrefslogtreecommitdiff
path: root/spec/scripts/trigger-build_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-24 09:11:46 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-24 09:11:46 +0000
commit8883c54feaf1ca2d5a859ecd634043b36dfb8832 (patch)
tree22cc323511d7fde2e3f3c50ba13b50817c5a7bb1 /spec/scripts/trigger-build_spec.rb
parent555532c942a339983ab09730be3f1b72eaec38d1 (diff)
downloadgitlab-ce-8883c54feaf1ca2d5a859ecd634043b36dfb8832.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/scripts/trigger-build_spec.rb')
-rw-r--r--spec/scripts/trigger-build_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/scripts/trigger-build_spec.rb b/spec/scripts/trigger-build_spec.rb
index ac8e3c7797c..52682387e20 100644
--- a/spec/scripts/trigger-build_spec.rb
+++ b/spec/scripts/trigger-build_spec.rb
@@ -318,28 +318,6 @@ RSpec.describe Trigger do
end
end
- describe "GITLAB_ASSETS_TAG" do
- context 'when CI_COMMIT_TAG is set' do
- before do
- stub_env('CI_COMMIT_TAG', 'v1.0')
- end
-
- it 'sets GITLAB_ASSETS_TAG to CI_COMMIT_REF_NAME' do
- expect(subject.variables['GITLAB_ASSETS_TAG']).to eq(env['CI_COMMIT_REF_NAME'])
- end
- end
-
- context 'when CI_COMMIT_TAG is nil' do
- before do
- stub_env('CI_COMMIT_TAG', nil)
- end
-
- it 'sets GITLAB_ASSETS_TAG to CI_COMMIT_SHA' do
- expect(subject.variables['GITLAB_ASSETS_TAG']).to eq(env['CI_COMMIT_SHA'])
- end
- end
- end
-
describe "CE_PIPELINE" do
context 'when Trigger.ee? is true' do
before do