.gitlab-ci.yml 2.68 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 16
pull base distributions:
 stage: stage0
 script:
 - docker pull debian:8
 - docker pull debian:stretch
 - docker pull ubuntu:16.04
17
 - docker pull ubuntu:16.10
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 67 68 69
base:16.10:
 stage: stage1
 script:
 - ./bin/duneci-build-docker-image duneci/base:16.10 base-common base-16.10
 only:
 - master@ansgar/dune-docker

70 71 72 73
base:8-backports:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image duneci/base:8-backports base-8-backports
74 75
 only:
 - master@ansgar/dune-docker
76 77 78 79 80

dune:2.3:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image duneci/dune:2.3 dune-2.3
81 82
 only:
 - master@ansgar/dune-docker
83 84 85 86 87

dune:2.4:
 stage: stage2
 script:
 - ./bin/duneci-build-docker-image duneci/dune:2.4 dune-2.4
88 89
 only:
 - master@ansgar/dune-docker
90

Ansgar Burchardt's avatar
Ansgar Burchardt committed
91 92 93
dune:2.5:
 stage: stage2
 script:
94
 - ./bin/duneci-build-docker-image duneci/dune:2.5 dune-2.5
Ansgar Burchardt's avatar
Ansgar Burchardt committed
95 96 97
 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 120 121 122 123

publish:
 stage: publish
 script:
 - docker push duneci/base:8
 - docker push duneci/base:9
124
 - docker push duneci/base:10
125 126 127 128 129 130 131 132 133
 - docker push duneci/base:16.04
 - docker push duneci/base:16.10
 - docker push duneci/base:8-backports
 - docker push duneci/dune:2.3
 - docker push duneci/dune:2.4
 - docker push duneci/dune:2.5
 - docker push duneci/dune:git
 - docker push duneci/dune-fufem:2.4
 - docker push duneci/dune-fufem:git
134 135
 only:
 - master@ansgar/dune-docker