Commit e15d27ad authored by Dan Davison's avatar Dan Davison

Merge branch 'promote-container-registry-test' into 'master'

Promote container registry test to pre-prod

See merge request gitlab-org/gitlab!56487
parents 5cd6cff3 cd4aacf6
# frozen_string_literal: true
module QA
RSpec.describe 'Package', :orchestrated do
describe 'Container Registry', only: { subdomain: :staging } do
RSpec.describe 'Package' do
describe 'Container Registry', only: { subdomain: %i[staging pre] } do
let(:project) do
Resource::Project.fabricate_via_api! do |project|
project.name = 'project-with-registry'
......@@ -26,6 +26,10 @@ module QA
- docker:19.03.12-dind
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment