Skip to content

Commit 63a9828

Browse files
authored
3.x: Update github ubuntu runner (#455)
* Update github ubuntu runner Image going to be depricated at 2025.04.01, actions/runner-images#11101. * Move to netty-tcnative-boringss-static netty-tcnative depends on dynamic libssl.so.1.0.0, which is problematic to get installed on modern distros. At the same time, boringssl-static is a build-in lib that does not have dependancies. And it is slightly faster than openssl 1 and 3. Also updating netty package.
1 parent 3adff13 commit 63a9828

File tree

7 files changed

+15
-20
lines changed

7 files changed

+15
-20
lines changed

.github/workflows/docs-pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
release:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4

.github/workflows/docs-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
build:
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
release:
1313
name: Release
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-latest
1515

1616
permissions:
1717
contents: write

.github/workflows/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- completed
1111
jobs:
1212
report:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
timeout-minutes: 5
1515

1616
steps:

.github/workflows/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- completed
1111
jobs:
1212
report:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
timeout-minutes: 5
1515

1616
steps:

.github/workflows/[email protected]

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build:
1212
name: Build
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515

1616
strategy:
@@ -33,7 +33,7 @@ jobs:
3333

3434
verify:
3535
name: Full verify
36-
runs-on: ubuntu-20.04
36+
runs-on: ubuntu-latest
3737
timeout-minutes: 10
3838

3939
strategy:
@@ -56,7 +56,7 @@ jobs:
5656

5757
unit-tests:
5858
name: Unit tests
59-
runs-on: ubuntu-20.04
59+
runs-on: ubuntu-latest
6060
timeout-minutes: 10
6161

6262
steps:
@@ -99,7 +99,7 @@ jobs:
9999

100100
setup-integration-tests:
101101
name: Setup ITs
102-
runs-on: ubuntu-20.04
102+
runs-on: ubuntu-latest
103103
timeout-minutes: 2
104104

105105
steps:
@@ -124,7 +124,7 @@ jobs:
124124

125125
cassandra-integration-tests:
126126
name: Cassandra ITs
127-
runs-on: ubuntu-20.04
127+
runs-on: ubuntu-latest
128128
needs: [setup-integration-tests]
129129
timeout-minutes: 90
130130

@@ -150,10 +150,8 @@ jobs:
150150

151151
- name: Setup environment
152152
run: |
153-
sudo sh -c "echo 'deb http://security.ubuntu.com/ubuntu xenial-security main' >> /etc/apt/sources.list"
154-
sudo apt-get update
155-
sudo apt-get install libssl1.0.0
156153
pip3 install https://github.com/scylladb/scylla-ccm/archive/master.zip
154+
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
157155
158156
- name: Run integration tests on Cassandra (${{ matrix.cassandra-version }})
159157
run: mvn -B verify -Pshort -Dcassandra.version=${{ matrix.cassandra-version }} -Dfmt.skip=true -Dclirr.skip=true -Danimal.sniffer.skip=true
@@ -193,7 +191,7 @@ jobs:
193191

194192
scylla-integration-tests:
195193
name: Scylla ITs
196-
runs-on: ubuntu-20.04
194+
runs-on: ubuntu-latest
197195
needs: [setup-integration-tests]
198196
timeout-minutes: 90
199197

@@ -219,9 +217,6 @@ jobs:
219217

220218
- name: Setup environment
221219
run: |
222-
sudo sh -c "echo 'deb http://security.ubuntu.com/ubuntu xenial-security main' >> /etc/apt/sources.list"
223-
sudo apt-get update
224-
sudo apt-get install libssl1.0.0
225220
pip3 install https://github.com/scylladb/scylla-ccm/archive/master.zip
226221
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
227222

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
<slf4j.version>1.7.25</slf4j.version>
5757
<slf4j-log4j12.version>1.7.25</slf4j-log4j12.version>
5858
<guava.version>19.0</guava.version>
59-
<netty.version>4.1.100.Final</netty.version>
60-
<netty-tcnative.artifact>netty-tcnative</netty-tcnative.artifact>
61-
<netty-tcnative.version>2.0.61.Final</netty-tcnative.version>
59+
<netty.version>4.1.119.Final</netty.version>
60+
<netty-tcnative.artifact>netty-tcnative-boringssl-static</netty-tcnative.artifact>
61+
<netty-tcnative.version>2.0.70.Final</netty-tcnative.version>
6262
<metrics.version>3.2.2</metrics.version>
6363
<snappy.version>1.1.10.5</snappy.version>
6464
<lz4.version>1.4.1</lz4.version>

0 commit comments

Comments
 (0)