10
10
11
11
# Allows you to run this workflow manually from the Actions tab
12
12
workflow_dispatch :
13
+ inputs :
14
+ custom_tag :
15
+ description : ' Custom Docker tag (optional)'
16
+ required : false
17
+ default : ' '
13
18
14
19
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15
20
jobs :
74
79
- 27017:27017
75
80
76
81
container :
77
- image : countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }}
82
+ image : countly/countly-core:pipelines-${{ inputs.custom_tag || github.base_ref || github.ref_name }}
78
83
env :
79
84
COUNTLY_CONFIG__MONGODB_HOST : mongodb
80
85
COUNTLY_CONFIG_API_PREVENT_JOBS : true
@@ -131,7 +136,7 @@ jobs:
131
136
- 27017:27017
132
137
133
138
container :
134
- image : countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }}
139
+ image : countly/countly-core:pipelines-${{ inputs.custom_tag || github.base_ref || github.ref_name }}
135
140
env :
136
141
COUNTLY_CONFIG__MONGODB_HOST : mongodb
137
142
COUNTLY_CONFIG_API_PREVENT_JOBS : true
@@ -178,7 +183,7 @@ jobs:
178
183
- 27017:27017
179
184
180
185
container :
181
- image : countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }}
186
+ image : countly/countly-core:pipelines-${{ inputs.custom_tag || github.base_ref || github.ref_name }}
182
187
env :
183
188
COUNTLY_CONFIG__MONGODB_HOST : mongodb
184
189
COUNTLY_CONFIG_API_PREVENT_JOBS : true
@@ -231,7 +236,7 @@ jobs:
231
236
- 27017:27017
232
237
233
238
container :
234
- image : countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }}
239
+ image : countly/countly-core:pipelines-${{ inputs.custom_tag || github.base_ref || github.ref_name }}
235
240
env :
236
241
COUNTLY_CONFIG__MONGODB_HOST : mongodb
237
242
COUNTLY_CONFIG_API_PREVENT_JOBS : true
@@ -281,7 +286,8 @@ jobs:
281
286
/sbin/my_init &
282
287
cd ui-tests
283
288
npm install
284
- npm run cy:run:dashboard
289
+ xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
290
+ npm run cy:run:dashboard --headless --no-sandbox --disable-gpu --disable-dev-shm-usage
285
291
286
292
- name : Upload UI tests artifacts
287
293
if : ${{ failure() }}
@@ -308,7 +314,7 @@ jobs:
308
314
- 27017:27017
309
315
310
316
container :
311
- image : countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }}
317
+ image : countly/countly-core:pipelines-${{ inputs.custom_tag || github.base_ref || github.ref_name }}
312
318
env :
313
319
COUNTLY_CONFIG__MONGODB_HOST : mongodb
314
320
COUNTLY_CONFIG_API_PREVENT_JOBS : true
@@ -354,7 +360,8 @@ jobs:
354
360
/sbin/my_init &
355
361
cd ui-tests
356
362
npm install
357
- npm run cy:run:onboarding
363
+ xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
364
+ npm run cy:run:onboarding --headless --no-sandbox --disable-gpu --disable-dev-shm-usage
358
365
359
366
- name : Upload UI tests artifacts
360
367
if : ${{ failure() }}
0 commit comments