-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathcontinuous-integration-workflow.yml
More file actions
184 lines (173 loc) · 6.01 KB
/
continuous-integration-workflow.yml
File metadata and controls
184 lines (173 loc) · 6.01 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
name: Continous Integration Tests
on: [ push, pull_request ]
jobs:
jenkins-agent-golang-ubi8:
name: Jenkins agent Go (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/golang/docker
run: |
docker build --tag agent-go-test-ubi8 --file Dockerfile.ubi8 \
--build-arg goDistributionUrl=https://go.dev/dl/go1.23.0.linux-amd64.tar.gz \
--build-arg golangciVersion=v1.60.1 \
.
jenkins-agent-jdk-ubi8:
name: Jenkins agent JDK (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/jdk/docker
run: |
docker build --tag agent-jdk-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusUsername=developer \
--build-arg nexusPassword=s3cr3t \
.
jenkins-agent-nodejs18-ubi8:
name: Jenkins agent NodeJS 18 (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/nodejs18/docker
run: |
docker build --tag agent-nodejs18-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusAuth=developer:s3cr3t \
.
jenkins-agent-nodejs20-ubi8:
name: Jenkins agent NodeJS 20 (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/nodejs20/docker
run: |
docker build --tag agent-nodejs20-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusAuth=developer:s3cr3t \
.
jenkins-agent-nodejs22-ubi8:
name: Jenkins agent NodeJS 22 (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/nodejs22/docker
run: |
docker build --tag agent-nodejs22-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusAuth=developer:s3cr3t \
.
jenkins-agent-nodejs24-ubi8:
name: Jenkins agent NodeJS 24 (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/nodejs24/docker
run: |
docker build --tag agent-nodejs24-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusAuth=developer:s3cr3t \
.
jenkins-agent-python-ubi8:
name: Jenkins agent Python (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/python/docker
run: |
docker build --tag agent-python-test-ubi8 --file Dockerfile.ubi8 .
jenkins-agent-rust-ubi8:
name: Jenkins agent Rust (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/rust/docker
run: |
docker build --tag agent-rust-test-ubi8 --file Dockerfile.ubi8 \
--build-arg rustVersion=1.88.0 \
--build-arg rustToolchain=x86_64-unknown-linux-gnu \
--build-arg cargoNextestVersion=0.9.94 \
--build-arg cargoLlvmCovVersion=0.6.16 \
--build-arg cargoGenerateVersion=0.23.3 \
--build-arg cargoDenyVersion=0.18.2 \
.
jenkins-agent-terraform-2306-ubi8:
name: Jenkins agent Terraform 2306 (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/terraform-2306/docker
run: |
docker build --tag agent-terraform-2306-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusAuth=developer:s3cr3t \
--build-arg NPMJS_REGISTRY_FLAG=--registry=https://registry.npmjs.org \
.
jenkins-agent-terraform-2408-ubi8:
name: Jenkins agent Terraform 2408 (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/terraform-2408/docker
run: |
docker build --tag agent-terraform-2408-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusAuth=developer:s3cr3t \
--build-arg NPMJS_REGISTRY_FLAG=--registry=https://registry.npmjs.org \
.
jenkins-agent-scala-ubi8:
name: Jenkins agent Scala (UBI8)
runs-on: ubuntu-22.04
steps:
-
name: Checkout repository
uses: actions/checkout@v4.2.2
-
name: Build docker image
working-directory: common/jenkins-agents/scala/docker
run: |
docker build --tag agent-scala-test-ubi8 --file Dockerfile.ubi8 \
--build-arg nexusUrl=https://nexus.example.com \
--build-arg nexusUsername=developer \
--build-arg nexusPassword=s3cr3t \
.