-
Notifications
You must be signed in to change notification settings - Fork 1
131 lines (129 loc) · 5.26 KB
/
image_build_push.yaml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: Build Image and Push to Quay
on: push
jobs:
build-hadoop-base:
name: Build Hadoop base image
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
with:
OVERRIDE_REPO_NAME: hadoop-base
OVERRIDE_TAG_NAME: v3.3.0
DOCKERFILE_LOCATION: "./hadoop/base/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./hadoop/base"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-spark-base:
name: Build Spark base image
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-hadoop-base]
with:
OVERRIDE_REPO_NAME: spark-base
OVERRIDE_TAG_NAME: 3.3.0-hadoop3.3
DOCKERFILE_LOCATION: "./spark/base/Dockerfile"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-namenode:
name: namenode
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-hadoop-base]
with:
OVERRIDE_REPO_NAME: namenode
OVERRIDE_TAG_NAME: v3.3.0
DOCKERFILE_LOCATION: "./hadoop/namenode/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./hadoop/namenode"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-datanode:
name: datanode
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-hadoop-base]
with:
OVERRIDE_REPO_NAME: datanode
OVERRIDE_TAG_NAME: v3.3.0
DOCKERFILE_LOCATION: "./hadoop/datanode/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./hadoop/datanode"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-nodemanager:
name: nodemanager
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-hadoop-base]
with:
OVERRIDE_REPO_NAME: nodemanager
OVERRIDE_TAG_NAME: v3.3.0
DOCKERFILE_LOCATION: "./hadoop/nodemanager/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./hadoop/nodemanager"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-resourcemanager:
name: resourcemanager
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-hadoop-base]
with:
OVERRIDE_REPO_NAME: resourcemanager
OVERRIDE_TAG_NAME: v3.3.0
DOCKERFILE_LOCATION: "./hadoop/resourcemanager/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./hadoop/resourcemanager"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-historyserver:
name: historyserver
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-hadoop-base]
with:
OVERRIDE_REPO_NAME: historyserver
OVERRIDE_TAG_NAME: v3.3.0
DOCKERFILE_LOCATION: "./hadoop/historyserver/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./hadoop/historyserver"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-submit:
name: spark submit
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs: [build-spark-base]
with:
OVERRIDE_REPO_NAME: spark-submit
OVERRIDE_TAG_NAME: 3.3.0-hadoop3.3
DOCKERFILE_LOCATION: "./spark/submit/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./spark/submit"
USE_QUAY_ONLY: true
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
build-gen3-spark:
name: Build Gen3 spark single node
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}