Browse Source

Fix Docker in Docker CI jobs (#5867)

pull/5871/head
Maxime Guyot 4 years ago
committed by GitHub
parent
commit
033afe1574
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions
  1. 3
      .gitlab-ci.yml
  2. 6
      .gitlab-ci/packet.yml

3
.gitlab-ci.yml

@ -10,7 +10,6 @@ stages:
variables:
FAILFASTCI_NAMESPACE: 'kargo-ci'
GITLAB_REPOSITORY: 'kargo-ci/kubernetes-sigs-kubespray'
# DOCKER_HOST: tcp://localhost:2375
ANSIBLE_FORCE_COLOR: "true"
MAGIC: "ci check this"
TEST_ID: "$CI_PIPELINE_ID-$CI_BUILD_ID"
@ -45,8 +44,6 @@ before_script:
.testcases: &testcases
<<: *job
services:
- docker:dind
before_script:
- update-alternatives --install /usr/bin/python python /usr/bin/python3 1
- ./tests/scripts/rebase.sh

6
.gitlab-ci/packet.yml

@ -102,9 +102,11 @@ packet_centos7-calico-ha:
when: manual
packet_centos7-calico-ha-once-localhost:
stage: deploy-part2
stage: unit-tests
extends: .packet
when: manual
when: on_success
services:
- docker:18.09.9-dind
packet_centos7-kube-ovn:
stage: deploy-part2

Loading…
Cancel
Save