Skip to content
Snippets Groups Projects
Commit 29cc5f24 authored by Aaron Viets's avatar Aaron Viets
Browse files

.gitlab-ci.yml: Remove old docker stuff

parent 78bc82a3
No related branches found
No related tags found
No related merge requests found
Pipeline #711786 failed
......@@ -201,69 +201,6 @@ docker:
- build
- test
docker:rl8:
interruptible: true
stage: docker
before_script: [ ]
script:
# add RPMs to directory to pass to docker
- mkdir rpms
# Copy rpms to new container.
- mv *.rpm rpms
# Build the container:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $DOCKER_BRANCH --file .gitlab/ci/Dockerfile.dev .
- docker push $DOCKER_BRANCH
needs:
- build
- test
only:
- schedules
- pushes
except:
- /gstlal-([a-z]+-|)[0-9]+\.[0-9]+\.[0-9]+-v[0-9]+/
docker-release:rl8:
interruptible: true
stage: docker
before_script: [ ]
script:
# add RPMs to directory to pass to docker
- mkdir rpms
# Copy rpms to new container.
- mv *.rpm rpms
# Clear out the old rpmbuild directory
- rm -rf rpmbuild*
# Build the container:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $DOCKER_BRANCH --file .gitlab/ci/Dockerfile .
- docker push $DOCKER_BRANCH
needs:
- build
- test
only:
- /gstlal-calibration-[0-9]+\.[0-9]+\.[0-9]+-v[0-9]+/
latest_image:
interruptible: true
stage: docker-latest
before_script: [ ]
needs:
- docker-release:rl8
only:
- /gstlal-calibration-[0-9]+\.[0-9]+\.[0-9]+-v[0-9]+/
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker tag $DOCKER_BRANCH $DOCKER_LATEST
- docker push $DOCKER_LATEST
retry:
max: 2
# -- lint
flake8:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment