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
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 - Use Node.js 14.x
32+ uses : actions/setup-node@v2
33+ with :
34+ node-version : 14.x
35+ cache : ' npm'
36+
37+ - name : Integration-test - install dependencies
38+ working-directory : ./adapter/integration-test
2839 run : |
29- docker-compose -f docker-compose.yml -f docker-compose.it.yml build mock-server
40+ npm i
3041
3142 - name : Run Integration-test
3243 working-directory : ./adapter/integration-test
5061
5162 scheduler-build :
5263 name : Scheduler Build & Test
53- runs-on : ubuntu-18 .04
64+ runs-on : ubuntu-22 .04
5465
5566 steps :
5667 - uses : actions/checkout@v2
8798
8899 storage-build :
89100 name : Storage Build & Test
90- runs-on : ubuntu-18 .04
101+ runs-on : ubuntu-22 .04
91102
92103 steps :
93104 - uses : actions/checkout@v2
@@ -161,7 +172,7 @@ jobs:
161172
162173 pipeline-build :
163174 name : Pipeline Build & Test
164- runs-on : ubuntu-18 .04
175+ runs-on : ubuntu-22 .04
165176
166177 steps :
167178 - uses : actions/checkout@v2
@@ -198,7 +209,7 @@ jobs:
198209
199210 notification-build :
200211 name : Notification Build & Test
201- runs-on : ubuntu-18 .04
212+ runs-on : ubuntu-22 .04
202213
203214 steps :
204215 - uses : actions/checkout@v2
@@ -248,7 +259,7 @@ jobs:
248259
249260 ui-build :
250261 name : UI Build & Test
251- runs-on : ubuntu-18 .04
262+ runs-on : ubuntu-22 .04
252263
253264 steps :
254265 - uses : actions/checkout@v2
@@ -285,7 +296,7 @@ jobs:
285296 # ----------------- Pipeline Provider-side CDC-Test -----------------
286297 pipeline-provider :
287298 name : Pipeline Provider-side CDC-Test
288- runs-on : ubuntu-18 .04
299+ runs-on : ubuntu-22 .04
289300 needs : [pipeline-build, ui-build, notification-build, storage-build]
290301 steps :
291302 - uses : actions/checkout@v2
@@ -304,7 +315,7 @@ jobs:
304315 # ----------------- Storage Provider-side CDC-Test -----------------
305316 storage-provider :
306317 name : Storage Provider-side CDC-Test
307- runs-on : ubuntu-18 .04
318+ runs-on : ubuntu-22 .04
308319 needs : [storage-build, ui-build]
309320 steps :
310321 - uses : actions/checkout@v2
@@ -322,7 +333,7 @@ jobs:
322333 # ----------------- SYSTEMTEST --------------------
323334 systemtest :
324335 name : Systemtest
325- runs-on : ubuntu-18 .04
336+ runs-on : ubuntu-22 .04
326337 needs : [adapter-build, notification-build, scheduler-build, storage-build, pipeline-build, ui-build]
327338 steps :
328339 - name : Checkout
@@ -388,7 +399,7 @@ jobs:
388399
389400 adapter_upload :
390401 name : Adapter Publish
391- runs-on : ubuntu-18 .04
402+ runs-on : ubuntu-22 .04
392403
393404 needs : [systemtest]
394405
@@ -426,7 +437,7 @@ jobs:
426437
427438 scheduler_upload :
428439 name : Scheduler Publish
429- runs-on : ubuntu-18 .04
440+ runs-on : ubuntu-22 .04
430441
431442 needs : [systemtest]
432443
@@ -463,7 +474,7 @@ jobs:
463474
464475 storage_upload :
465476 name : Storage Publish
466- runs-on : ubuntu-18 .04
477+ runs-on : ubuntu-22 .04
467478
468479 needs : [systemtest, storage-provider]
469480
@@ -525,7 +536,7 @@ jobs:
525536
526537 pipeline_upload :
527538 name : Pipeline Publish
528- runs-on : ubuntu-18 .04
539+ runs-on : ubuntu-22 .04
529540
530541 needs : [systemtest, pipeline-provider]
531542
@@ -562,7 +573,7 @@ jobs:
562573
563574 notifcation_upload :
564575 name : Notifcation Publish
565- runs-on : ubuntu-18 .04
576+ runs-on : ubuntu-22 .04
566577
567578 needs : [systemtest]
568579
@@ -599,7 +610,7 @@ jobs:
599610
600611 ui_upload :
601612 name : UI Publish
602- runs-on : ubuntu-18 .04
613+ runs-on : ubuntu-22 .04
603614
604615 needs : [systemtest]
605616
0 commit comments