Verified Commit 27e172f2 authored by Adrian DC's avatar Adrian DC
Browse files

ci(gitlab-ci): deprecate unreliable 'python:dind' and 'python:local' jobs

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent b14addd2
Loading
Loading
Loading
Loading
Loading
+0 −33
Changes for .gitlab-ci.yml: 0 added lines, 33 removed lines.
Original line number Diff line number Diff line
@@ -553,39 +553,6 @@ py3.13:podman:
    - !reference ['.test:podman', before_script]
    - !reference ['.test:template', before_script]

python:dind:
  extends:
    - .test:template
  image: local:quiet
  before_script:
    # Inherit before_script
    - !reference ['.test:template', before_script]
    # Configure Docker in Docker
    - docker rm -f gcil-dind >/dev/null 2>&1 || true
    - docker run -d -v "${PWD}/.dind:/certs" -v "${PWD}:${PWD}" --name gcil-dind --privileged docker:dind >/dev/null
    - sleep 10
    - export DIND_IP=$(docker exec gcil-dind hostname -i)
    - export DOCKER_CERT_PATH="${PWD}/.dind/client/"
    - export DOCKER_HOST="tcp://${DIND_IP}:2376"
    - export DOCKER_TLS_VERIFY=''
  after_script:
    # Cleanup Docker in Docker
    - docker rm -f gcil-dind >/dev/null || true
  rules:
    - if: $CI_LOCAL

python:local:
  extends:
    - .test:template
  image: local:quiet
  before_script:
    # Prepare temporary folder
    - mkdir -p ./.tmp/
    - pipx uninstall $(ls -1 ./dist/*.whl | cut -d'/' -f3 | cut -d'-' -f1) || true
    - pipx install --force ./dist/*.whl
  rules:
    - if: $CI_LOCAL

quality:coverage:
  needs:
    - job: registry:test-coverage-docker