From 2f87f1f06a87bc0b80a34ce041a1d5bbe5ce1e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Wed, 24 Mar 2021 12:07:02 +0100 Subject: [PATCH] Debug a RSpec failure due to QA_IMAGE being present MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- .gitlab-ci.yml | 1 + spec/gitlab/qa/component/specs_spec.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dbfaa8e..27734a3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,7 @@ variables: QA_DEFAULT_BRANCH: "master" # TOP_UPSTREAM_DEFAULT_BRANCH is the default branch name of the original project that triggered a pipeline in this project. TOP_UPSTREAM_DEFAULT_BRANCH: "master" + QA_IMAGE: "registry.gitlab.com/gitlab-org/gitlab/gitlab-ee-qa:omnibus-5429-pass-image-tag-to-omnibus-pipeline-new" .check-base: stage: check diff --git a/spec/gitlab/qa/component/specs_spec.rb b/spec/gitlab/qa/component/specs_spec.rb index fe24b876..d4d9a3dc 100644 --- a/spec/gitlab/qa/component/specs_spec.rb +++ b/spec/gitlab/qa/component/specs_spec.rb @@ -61,6 +61,7 @@ describe Gitlab::QA::Component::Specs do specs.release = release end + p "ENV['QA_IMAGE']: #{ENV['QA_IMAGE']}" expect(docker_engine).to have_received(:pull) .with("#{qa_image}:#{qa_tag}") end -- GitLab