-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrte-rrtmgp-ci.yml
76 lines (68 loc) · 1.73 KB
/
rte-rrtmgp-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3.8'
# service stack for RTE-RRTMGP Continuous Integration
# images depend on each other, but docker-compose only has a "depends_on"
# option for running the services (i.e., running the container)
# https://stackoverflow.com/a/37945466
# so one either has to build the images at the beginning of the
# chain or build them first
services:
min-oneapi:
build:
context: ./
dockerfile: Dockerfile-oneapi-minimal
image: minimal-toolchain:oneapi
container_name: min-oneapi
min-nvhpc:
build:
context: ./
dockerfile: Dockerfile-nvhpc-minimal
image: minimal-toolchain:nvhpc
container_name: min-nvhpc
nc-oneapi:
build:
context: ./
dockerfile: Dockerfile-add-netcdf
args:
- TOOLCHAIN=oneapi
image: add-netcdf:oneapi
container_name: nc-oneapi
nc-nvhpc:
build:
context: ./
dockerfile: Dockerfile-add-netcdf
args:
- TOOLCHAIN=nvhpc
image: add-netcdf:nvhpc
container_name: nc-nvhpc
py-oneapi:
build:
context: ./
dockerfile: Dockerfile-add-python
args:
- TOOLCHAIN=oneapi
image: add-python:oneapi
container_name: py-oneapi
py-nvhpc:
build:
context: ./
dockerfile: Dockerfile-add-python
args:
- TOOLCHAIN=nvhpc
image: add-python:nvhpc
container_name: py-nvhpc
ci-oneapi:
build:
context: ./
dockerfile: Dockerfile-finalize
args:
- TOOLCHAIN=oneapi
image: earthsystemradiation/rte-rrtmgp-ci:oneapi
container_name: ci-oneapi
ci-nvhpc:
build:
context: ./
dockerfile: Dockerfile-finalize
args:
- TOOLCHAIN=nvhpc
image: earthsystemradiation/rte-rrtmgp-ci:nvhpc
container_name: ci-nvhpc