Skip to content

Commit 222d4bb

Browse files
committed
CI: upgrade base image as GitHub canceled support for ubuntu 18.04
1 parent 2deeccc commit 222d4bb

4 files changed

Lines changed: 333 additions & 1407 deletions

File tree

.github/workflows/ods.yml

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
adapter-build:
1717
name: Adapter Build & Test
18-
runs-on: ubuntu-18.04
18+
runs-on: ubuntu-22.04
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -24,9 +24,14 @@ jobs:
2424
run: |
2525
docker-compose -f docker-compose.yml build adapter
2626
27-
- name: Build Integration-test
27+
- name: Integration-test - build mock server
28+
run: |
29+
docker-compose -f docker-compose.yml -f adapter/integration-test/docker-compose.it.yml build mock-server
30+
31+
- name: Integration-test - install dependencies
32+
working-directory: ./adapter/integration-test
2833
run: |
29-
docker-compose -f docker-compose.yml -f docker-compose.it.yml build mock-server
34+
npm i
3035
3136
- name: Run Integration-test
3237
working-directory: ./adapter/integration-test
@@ -50,7 +55,7 @@ jobs:
5055

5156
scheduler-build:
5257
name: Scheduler Build & Test
53-
runs-on: ubuntu-18.04
58+
runs-on: ubuntu-22.04
5459

5560
steps:
5661
- uses: actions/checkout@v2
@@ -87,7 +92,7 @@ jobs:
8792

8893
storage-build:
8994
name: Storage Build & Test
90-
runs-on: ubuntu-18.04
95+
runs-on: ubuntu-22.04
9196

9297
steps:
9398
- uses: actions/checkout@v2
@@ -161,7 +166,7 @@ jobs:
161166

162167
pipeline-build:
163168
name: Pipeline Build & Test
164-
runs-on: ubuntu-18.04
169+
runs-on: ubuntu-22.04
165170

166171
steps:
167172
- uses: actions/checkout@v2
@@ -198,7 +203,7 @@ jobs:
198203

199204
notification-build:
200205
name: Notification Build & Test
201-
runs-on: ubuntu-18.04
206+
runs-on: ubuntu-22.04
202207

203208
steps:
204209
- uses: actions/checkout@v2
@@ -248,7 +253,7 @@ jobs:
248253

249254
ui-build:
250255
name: UI Build & Test
251-
runs-on: ubuntu-18.04
256+
runs-on: ubuntu-22.04
252257

253258
steps:
254259
- uses: actions/checkout@v2
@@ -285,7 +290,7 @@ jobs:
285290
# ----------------- Pipeline Provider-side CDC-Test -----------------
286291
pipeline-provider:
287292
name: Pipeline Provider-side CDC-Test
288-
runs-on: ubuntu-18.04
293+
runs-on: ubuntu-22.04
289294
needs: [pipeline-build, ui-build, notification-build, storage-build]
290295
steps:
291296
- uses: actions/checkout@v2
@@ -304,7 +309,7 @@ jobs:
304309
# ----------------- Storage Provider-side CDC-Test -----------------
305310
storage-provider:
306311
name: Storage Provider-side CDC-Test
307-
runs-on: ubuntu-18.04
312+
runs-on: ubuntu-22.04
308313
needs: [storage-build, ui-build]
309314
steps:
310315
- uses: actions/checkout@v2
@@ -322,7 +327,7 @@ jobs:
322327
# ----------------- SYSTEMTEST --------------------
323328
systemtest:
324329
name: Systemtest
325-
runs-on: ubuntu-18.04
330+
runs-on: ubuntu-22.04
326331
needs: [adapter-build, notification-build, scheduler-build, storage-build, pipeline-build, ui-build]
327332
steps:
328333
- name: Checkout
@@ -388,7 +393,7 @@ jobs:
388393

389394
adapter_upload:
390395
name: Adapter Publish
391-
runs-on: ubuntu-18.04
396+
runs-on: ubuntu-22.04
392397

393398
needs: [systemtest]
394399

@@ -426,7 +431,7 @@ jobs:
426431
427432
scheduler_upload:
428433
name: Scheduler Publish
429-
runs-on: ubuntu-18.04
434+
runs-on: ubuntu-22.04
430435

431436
needs: [systemtest]
432437

@@ -463,7 +468,7 @@ jobs:
463468
464469
storage_upload:
465470
name: Storage Publish
466-
runs-on: ubuntu-18.04
471+
runs-on: ubuntu-22.04
467472

468473
needs: [systemtest, storage-provider]
469474

@@ -525,7 +530,7 @@ jobs:
525530
526531
pipeline_upload:
527532
name: Pipeline Publish
528-
runs-on: ubuntu-18.04
533+
runs-on: ubuntu-22.04
529534

530535
needs: [systemtest, pipeline-provider]
531536

@@ -562,7 +567,7 @@ jobs:
562567
563568
notifcation_upload:
564569
name: Notifcation Publish
565-
runs-on: ubuntu-18.04
570+
runs-on: ubuntu-22.04
566571

567572
needs: [systemtest]
568573

@@ -599,7 +604,7 @@ jobs:
599604
600605
ui_upload:
601606
name: UI Publish
602-
runs-on: ubuntu-18.04
607+
runs-on: ubuntu-22.04
603608

604609
needs: [systemtest]
605610

adapter/integration-test/jest.config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "ODS Adapter Integration-Test",
3-
"preset": "ts-jest",
43
"testEnvironment": "node",
54
"roots": ["./src"],
65
"globalSetup": "<rootDir>/src/setup.js",

0 commit comments

Comments
 (0)