Commit 1688fed0 authored by Martin Peres's avatar Martin Peres
Browse files

gitlab-ci: never generate the uroot container in CI

This takes a lot of time, so the person making changes will just need
to push it to the registry themselves!
parent 8ea67989
Pipeline #288659 passed with stage
in 2 minutes and 53 seconds
......@@ -5,22 +5,22 @@ stages:
variables:
GIT_SUBMODULE_STRATEGY: recursive
uroot_container:
image: docker:stable
stage: containers
rules:
- changes:
- Dockerfile
when: manual
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE .
- if [[ "$CI_COMMIT_BRANCH" == "master" ]]; then docker push $CI_REGISTRY_IMAGE; fi
#uroot_container:
#image: docker:stable
#stage: containers
#rules:
#- changes:
#- Dockerfile
#when: manual
#services:
#- docker:dind
#variables:
#DOCKER_HOST: tcp://docker:2375
#DOCKER_DRIVER: overlay2
#script:
#- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
#- docker build -t $CI_REGISTRY_IMAGE .
#- if [[ "$CI_COMMIT_BRANCH" == "master" ]]; then docker push $CI_REGISTRY_IMAGE; fi
test_container:
image: docker:stable
......@@ -54,5 +54,5 @@ tests:
- make out/initramfs.linux_amd64.cpio.xz
- curl -L -o out/kernel https://gitlab.freedesktop.org/mupuf/boot2container/-/releases/v0.6/downloads/bzImage
- make KERNEL=$PWD/out/kernel test
- make clean
- if [[ "$CI_COMMIT_BRANCH" == "master" ]]; then mkdir -p releases/HEAD/; mv out/*.cpio.xz releases/HEAD/; fi
- make clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment