Skip to content

Commit 29a711c

Browse files
authored
Merge pull request #1138 from openmina/fix/ci-runner-images
chore(ci): Upgrade jobs to use Ubuntu 22.04
2 parents 50f2232 + cb75538 commit 29a711c

File tree

1 file changed

+38
-14
lines changed

1 file changed

+38
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717

1818
jobs:
1919
ledger-tests:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
steps:
2222
- name: Git checkout
2323
uses: actions/checkout@v4
@@ -44,7 +44,7 @@ jobs:
4444
cargo test --release -- -Z unstable-options --report-time
4545
4646
ledger-32x9-tests:
47-
runs-on: ubuntu-20.04
47+
runs-on: ubuntu-22.04
4848
steps:
4949
- name: Git checkout
5050
uses: actions/checkout@v4
@@ -78,7 +78,7 @@ jobs:
7878
cargo test --release -- -Z unstable-options --report-time
7979
8080
vrf-tests:
81-
runs-on: ubuntu-20.04
81+
runs-on: ubuntu-22.04
8282
steps:
8383
- name: Git checkout
8484
uses: actions/checkout@v4
@@ -101,7 +101,7 @@ jobs:
101101
cargo test --release -- -Z unstable-options --report-time
102102
103103
tx-fuzzer-check:
104-
runs-on: ubuntu-20.04
104+
runs-on: ubuntu-22.04
105105
steps:
106106
- name: Git checkout
107107
uses: actions/checkout@v4
@@ -120,7 +120,7 @@ jobs:
120120
cargo check
121121
122122
p2p-tests:
123-
runs-on: ubuntu-20.04
123+
runs-on: ubuntu-22.04
124124
steps:
125125
- name: Git checkout
126126
uses: actions/checkout@v4
@@ -146,7 +146,7 @@ jobs:
146146
147147
148148
build:
149-
runs-on: ubuntu-20.04
149+
runs-on: ubuntu-22.04
150150
steps:
151151
- name: Git checkout
152152
uses: actions/checkout@v4
@@ -177,7 +177,7 @@ jobs:
177177
path: target/release/openmina
178178

179179
build_wasm:
180-
runs-on: ubuntu-20.04
180+
runs-on: ubuntu-22.04
181181
steps:
182182
- name: Git checkout
183183
uses: actions/checkout@v4
@@ -206,7 +206,7 @@ jobs:
206206
wasm-bindgen --keep-debug --web --out-dir pkg ../../target/wasm32-unknown-unknown/release/openmina_node_web.wasm
207207
208208
build-tests:
209-
runs-on: ubuntu-20.04
209+
runs-on: ubuntu-22.04
210210
steps:
211211
- name: Git checkout
212212
uses: actions/checkout@v4
@@ -242,7 +242,7 @@ jobs:
242242
path: target/release/tests
243243

244244
build-tests-webrtc:
245-
runs-on: ubuntu-20.04
245+
runs-on: ubuntu-22.04
246246
steps:
247247
- name: Git checkout
248248
uses: actions/checkout@v4
@@ -279,7 +279,7 @@ jobs:
279279

280280
p2p-scenario-tests:
281281
needs: [ build-tests, build-tests-webrtc ]
282-
runs-on: ubuntu-20.04
282+
runs-on: ubuntu-22.04
283283
container:
284284
image: gcr.io/o1labs-192920/mina-daemon:3.0.4-alpha1-889607b-bullseye-devnet
285285
options: --volume debugger_data:/tmp/db
@@ -304,6 +304,14 @@ jobs:
304304
- 80:80
305305

306306
steps:
307+
- name: Install libssl3 # Our binaries are built on a newer ubuntu and require libssl3
308+
run: |
309+
echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list
310+
apt-get update && \
311+
apt-get install -y --no-install-recommends libssl3 && \
312+
apt-get clean && \
313+
rm -rf /var/lib/apt/lists/*
314+
307315
- name: Download tests
308316
uses: actions/download-artifact@v4
309317
with:
@@ -331,7 +339,7 @@ jobs:
331339
if: ${{ always() }}
332340

333341
k8s-peers:
334-
runs-on: ubuntu-20.04
342+
runs-on: ubuntu-22.04
335343
# TODO: query cluster for actual addresses, or specify then on deployment
336344
env:
337345
PEERS: |
@@ -361,7 +369,7 @@ jobs:
361369
- k8s-peers
362370
- build-tests
363371
- build-tests-webrtc
364-
runs-on: ubuntu-20.04
372+
runs-on: ubuntu-22.04
365373
container:
366374
image: gcr.io/o1labs-192920/mina-daemon:3.0.4-alpha1-889607b-bullseye-devnet
367375
options: --volume debugger_data:/tmp/db
@@ -404,6 +412,14 @@ jobs:
404412
- 80:80
405413

406414
steps:
415+
- name: Install libssl3 # Our binaries are built on a newer ubuntu and require libssl3
416+
run: |
417+
echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list
418+
apt-get update && \
419+
apt-get install -y --no-install-recommends libssl3 && \
420+
apt-get clean && \
421+
rm -rf /var/lib/apt/lists/*
422+
407423
- name: Download tests
408424
uses: actions/download-artifact@v4
409425
with:
@@ -441,7 +457,7 @@ jobs:
441457
- k8s-peers
442458
- build-tests
443459
- build-tests-webrtc
444-
runs-on: ubuntu-20.04
460+
runs-on: ubuntu-22.04
445461
container:
446462
image: gcr.io/o1labs-192920/mina-daemon:3.0.4-alpha1-889607b-bullseye-devnet
447463
env:
@@ -454,6 +470,14 @@ jobs:
454470
fail-fast: false
455471

456472
steps:
473+
- name: Install libssl3 # Our binaries are built on a newer ubuntu and require libssl3
474+
run: |
475+
echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list
476+
apt-get update && \
477+
apt-get install -y --no-install-recommends libssl3 && \
478+
apt-get clean && \
479+
rm -rf /var/lib/apt/lists/*
480+
457481
- name: Download tests
458482
uses: actions/download-artifact@v4
459483
with:
@@ -471,7 +495,7 @@ jobs:
471495
472496
bootstrap-test:
473497
needs: [ k8s-peers, build, build-tests ]
474-
runs-on: ubuntu-20.04
498+
runs-on: ubuntu-22.04
475499
env:
476500
PEERS_LIST: ${{ needs.k8s-peers.outputs.peers }}
477501
PEER_LIST_FILE: peer-list.txt

0 commit comments

Comments
 (0)