Commit 05b7848c authored by Petr Černohouz's avatar Petr Černohouz Committed by Daniel Salzman

Build images in scheduled pipelines

parent 348f5814
...@@ -23,7 +23,10 @@ stages: ...@@ -23,7 +23,10 @@ stages:
- docker push "$IMAGE_TAG" - docker push "$IMAGE_TAG"
tags: tags:
- dind - dind
only:
- triggers
- schedules
docker:knot-dns:debian: docker:knot-dns:debian:
<<: *image <<: *image
variables: variables:
...@@ -78,6 +81,9 @@ docker:knot-dns:fedora: ...@@ -78,6 +81,9 @@ docker:knot-dns:fedora:
- docker - docker
- linux - linux
- amd64 - amd64
except:
- schedules
.centos_latest: &centos_latest .centos_latest: &centos_latest
image: "$CI_REGISTRY/knot/knot-dns/centos:latest" image: "$CI_REGISTRY/knot/knot-dns/centos:latest"
...@@ -85,13 +91,17 @@ docker:knot-dns:fedora: ...@@ -85,13 +91,17 @@ docker:knot-dns:fedora:
- docker - docker
- linux - linux
- amd64 - amd64
except:
- schedules
.debian_stable: &debian_stable .debian_stable: &debian_stable
image: "$CI_REGISTRY/knot/knot-dns/debian:latest" image: "$CI_REGISTRY/knot/knot-dns/debian:latest"
tags: tags:
- docker - docker
- linux - linux
- amd64 - amd64
except:
- schedules
.debian_unstable: &debian_unstable .debian_unstable: &debian_unstable
image: "registry.labs.nic.cz/knot/knot-dns/debian:unstable" image: "registry.labs.nic.cz/knot/knot-dns/debian:unstable"
...@@ -99,6 +109,8 @@ docker:knot-dns:fedora: ...@@ -99,6 +109,8 @@ docker:knot-dns:fedora:
- docker - docker
- linux - linux
- amd64 - amd64
except:
- schedules
.ubuntu_latest: &ubuntu_latest .ubuntu_latest: &ubuntu_latest
image: "$CI_REGISTRY/knot/knot-dns/ubuntu:latest" image: "$CI_REGISTRY/knot/knot-dns/ubuntu:latest"
...@@ -106,6 +118,8 @@ docker:knot-dns:fedora: ...@@ -106,6 +118,8 @@ docker:knot-dns:fedora:
- docker - docker
- linux - linux
- amd64 - amd64
except:
- schedules
.build: &build_job .build: &build_job
stage: build stage: build
...@@ -116,11 +130,15 @@ docker:knot-dns:fedora: ...@@ -116,11 +130,15 @@ docker:knot-dns:fedora:
artifacts: artifacts:
untracked: true untracked: true
expire_in: '1 hour' expire_in: '1 hour'
except:
- schedules
.test: &test_job .test: &test_job
stage: test stage: test
script: script:
- make -k check V=1 - make -k check V=1
except:
- schedules
build:fedora:amd64: build:fedora:amd64:
<<: *fedora_latest <<: *fedora_latest
...@@ -141,7 +159,7 @@ test:centos:amd64: ...@@ -141,7 +159,7 @@ test:centos:amd64:
<<: *test_job <<: *test_job
dependencies: dependencies:
- build:centos:amd64 - build:centos:amd64
build:ubuntu:amd64: build:ubuntu:amd64:
<<: *ubuntu_latest <<: *ubuntu_latest
<<: *build_job <<: *build_job
......
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