.gitlab-ci.yml 3.1 KB
Newer Older
1 2 3 4
---
image: duneci/docker-builder

stages:
5
 - stage0
6 7 8
 - stage1
 - stage2
 - stage3
9
 - publish
10

11 12 13 14 15
pull base distributions:
 stage: stage0
 script:
 - docker pull debian:8
 - docker pull debian:stretch
16
 - docker pull debian:buster
17
 - docker pull ubuntu:16.04
18 19
 only:
 - master@ansgar/dune-docker
20

21
docker-builder:
Ansgar Burchardt's avatar
Ansgar Burchardt committed
22 23
 stage: stage1
 script:
24 25 26 27
 - ./bin/duneci-build-docker-image duneci/docker-builder docker-builder
 only:
 - master@ansgar/dune-docker

28 29 30 31 32 33 34
proxy:
 stage: stage1
 script:
 - ./bin/duneci-build-docker-image duneci/proxy proxy
 only:
 - master@ansgar/dune-docker

35 36 37 38
base:8:
 stage: stage1
 script:
 - ./bin/duneci-build-docker-image duneci/base:8 base-common base-8
39 40
 only:
 - master@ansgar/dune-docker
41 42 43 44 45

base:9:
 stage: stage1
 script:
 - ./bin/duneci-build-docker-image duneci/base:9 base-common base-9
46 47
 only:
 - master@ansgar/dune-docker
48

49 50 51 52 53 54 55
base:10:
 stage: stage1
 script:
 - ./bin/duneci-build-docker-image duneci/base:10 base-common base-10
 only:
 - master@ansgar/dune-docker

56 57 58 59
base:16.04:
 stage: stage1
 script:
 - ./bin/duneci-build-docker-image duneci/base:16.04 base-common base-16.04
60 61
 only:
 - master@ansgar/dune-docker
62 63 64 65 66

base:8-backports:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image duneci/base:8-backports base-8-backports
67 68
 only:
 - master@ansgar/dune-docker
69 70 71 72 73

dune:2.3:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image duneci/dune:2.3 dune-2.3
74 75
 only:
 - master@ansgar/dune-docker
76 77 78 79 80

dune:2.4:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image duneci/dune:2.4 dune-2.4
81 82
 only:
 - master@ansgar/dune-docker
83

Ansgar Burchardt's avatar
Ansgar Burchardt committed
84 85 86
dune:2.5:
 stage: stage2
 script:
87
 - ./bin/duneci-build-docker-image duneci/dune:2.5 dune-2.5
Ansgar Burchardt's avatar
Ansgar Burchardt committed
88 89 90
 only:
 - master@ansgar/dune-docker

91 92 93 94 95 96 97
dune:2.6:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image --parallel duneci/dune:2.6 dune-2.6
 only:
 - master@ansgar/dune-docker

98 99 100
dune:git:
 stage: stage2
 script:
101
 - ./bin/duneci-build-docker-image --parallel duneci/dune:git dune-git
102 103
 only:
 - master@ansgar/dune-docker
104 105 106 107

dune-fufem:2.4:
 stage: stage3
 script:
108
 - ./bin/duneci-build-docker-image --parallel duneci/dune-fufem:2.4 dune-fufem
109 110
 only:
 - master@ansgar/dune-docker
111 112 113 114

dune-fufem:git:
 stage: stage3
 script:
115
 - ./bin/duneci-build-docker-image --parallel duneci/dune-fufem:git dune-fufem-git
116 117
 only:
 - master@ansgar/dune-docker
118

119
dune-pdelab-deps:2.6:
120 121 122 123 124 125
 stage: stage3
 script:
 - ./bin/duneci-build-docker-image --parallel duneci/dune-pdelab-deps:2.6 dune-pdelab-deps-2.6
 only:
 - master@ansgar/dune-docker

126
dune-pdelab-deps:git:
127 128 129 130 131 132
 stage: stage3
 script:
 - ./bin/duneci-build-docker-image --parallel duneci/dune-pdelab-deps:git dune-pdelab-deps-git
 only:
 - master@ansgar/dune-docker

133 134 135 136 137
publish:
 stage: publish
 script:
 - docker push duneci/base:8
 - docker push duneci/base:9
138
 - docker push duneci/base:10
139 140 141 142 143
 - docker push duneci/base:16.04
 - docker push duneci/base:8-backports
 - docker push duneci/dune:2.3
 - docker push duneci/dune:2.4
 - docker push duneci/dune:2.5
144
 - docker push duneci/dune:2.6
145 146 147
 - docker push duneci/dune:git
 - docker push duneci/dune-fufem:2.4
 - docker push duneci/dune-fufem:git
148 149
 - docker push duneci/dune-pdelab-deps:2.6
 - docker push duneci/dune-pdelab-deps:git
150 151
 only:
 - master@ansgar/dune-docker