Skip to content
Snippets Groups Projects
Commit 41588c69 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki Committed by GitLab Release Tools Bot
Browse files

Merge branch 'fix-qa-auto-devops-secrets' into 'master'

Fix QA spec flaky for application secret variables

Closes gitlab-qa#362

See merge request gitlab-org/gitlab-ce!24210

(cherry picked from commit c8ff1664)

e9cb44e5 Fix QA spec flaky for application secret variables
parent 837903bb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -98,6 +98,17 @@ module QA
resource.value = 'You can see this application secret'
end
 
# Our current Auto DevOps implementation won't update the production
# app if we only update a CI variable with no code change.
#
# Workaround: push new code and use the resultant pipeline.
Resource::Repository::ProjectPush.fabricate! do |push|
push.project = @project
push.commit_message = 'Force a Deployment change by pushing new code'
push.file_name = 'new_file.txt'
push.file_content = 'new file contents'
end
@project.visit!
Page::Project::Menu.act { click_ci_cd_pipelines }
Page::Project::Pipeline::Index.act { go_to_latest_pipeline }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment