From d956958c37e80296ded2512bb6ed7019aad85a8f Mon Sep 17 00:00:00 2001 From: Jana Kh A O Almuqaisib Date: Thu, 25 Jul 2024 15:44:54 +0200 Subject: [PATCH] removed script --- .gitlab-ci.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 819c5e9533..2481c4a1bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,22 +59,6 @@ set_version_name: - src/python/CRABInterface/__init__.py policy: push -check_docker_images: - rules: - - !reference [.default_rules, default] - - !reference [.default_rules, release] - stage: check_image - image: - name: python:3.9-alpine - script: - - python -m pip install --upgrade pip # Ensure pip is up to date - - python -m pip install -r requirements.txt # Install dependencies - - python scripts/docker-images-has-changed.py -r "registry.cern.ch/cmscrab/crabserver:${IMAGE_TAG}.jalmuqaibase" # Adjust repository and tags as needed - artifacts: - paths: - - "*.txt" # Ensure the output files are saved as artifacts - expire_in: 1 week - build_rest_image: rules: - if: $SUBMIT_STATUS_TRACKING @@ -89,8 +73,6 @@ build_rest_image: - docker:24.0.5-dind before_script: - docker info - dependencies: - - check_docker_images script: - echo "{\"auths\":{\"$CMSCRAB_REGISTRY_URL\":{\"auth\":\"$(echo -n $CMSCRAB_REGISTRY_USER:$CMSCRAB_REGISTRY_PASSWORD | base64)\"}}}" - docker build -f "${CI_PROJECT_DIR}/cicd/crabserver_pypi/Dockerfile" -t "registry.cern.ch/cmscrab/crabserver:${IMAGE_TAG}.jalmuqaibase" . @@ -114,8 +96,6 @@ build_base_image: name: docker:24.0.5 services: - docker:24.0.5-dind - dependencies: - - build_rest_image script: - echo "{\"auths\":{\"$CMSCRAB_REGISTRY_URL\":{\"auth\":\"$(echo -n $CMSCRAB_REGISTRY_USER:$CMSCRAB_REGISTRY_PASSWORD | base64)\"}}}" - docker login -u $CMSCRAB_REGISTRY_USER -p $CMSCRAB_REGISTRY_PASSWORD $CMSCRAB_REGISTRY_URL @@ -140,8 +120,6 @@ build_tw_image: name: docker:24.0.5 services: - docker:24.0.5-dind - dependencies: - - build_base_image script: - echo "{\"auths\":{\"$CMSCRAB_REGISTRY_URL\":{\"auth\":\"$(echo -n $CMSCRAB_REGISTRY_USER:$CMSCRAB_REGISTRY_PASSWORD | base64)\"}}}" - docker login -u $CMSCRAB_REGISTRY_USER -p $CMSCRAB_REGISTRY_PASSWORD $CMSCRAB_REGISTRY_URL