Skip to content

Commit

Permalink
removed script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jana Kh A O Almuqaisib authored and root committed Aug 12, 2024
1 parent 9015d6e commit d956958
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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" .
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d956958

Please sign in to comment.