Skip to content

Commit bffe192

Browse files
committed
Update to ubuntu 24.04 & update actions versions
1 parent c82e8b6 commit bffe192

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

.github/actions/setup-env/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
using: "composite"
3737
steps:
3838
- name: Set up JDK ${{ inputs.java-version }}
39-
uses: actions/setup-java@v4
39+
uses: actions/setup-java@v5
4040
with:
4141
java-version: ${{ inputs.java-version }}
4242
distribution: 'temurin'
@@ -45,7 +45,7 @@ runs:
4545

4646
- name: Set up Python
4747
if: ${{ inputs.install-python == 'true' }}
48-
uses: actions/setup-python@v5
48+
uses: actions/setup-python@v6
4949
with:
5050
python-version: '3.10'
5151
architecture: x64

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ permissions:
2626
contents: read
2727
jobs:
2828
build:
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-24.04
3030
steps:
31-
- uses: actions/checkout@v5
31+
- uses: actions/checkout@v6
3232
- name: Setup Environment
3333
uses: ./.github/actions/setup-env
3434
with:

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: github.repository == 'apache/cloudstack'
3030
runs-on: ubuntu-24.04
3131
steps:
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333
with:
3434
fetch-depth: 0
3535
- name: Setup Environment
@@ -57,7 +57,7 @@ jobs:
5757
tar -czf /tmp/artifacts/targets.tar.gz $(find . -name "target" -type d) tools/marvin/dist
5858
tar -czf /tmp/artifacts/m2-cloudstack.tar.gz -C ~/.m2/repository org/apache/cloudstack
5959
- name: Upload artifacts
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v7
6161
with:
6262
name: build-artifacts
6363
path: /tmp/artifacts/
@@ -138,7 +138,7 @@ jobs:
138138
smoke/test_list_hosts smoke/test_list_service_offerings smoke/test_list_storage_pools
139139
smoke/test_list_volumes
140140
steps:
141-
- uses: actions/checkout@v5
141+
- uses: actions/checkout@v6
142142
with:
143143
fetch-depth: 0
144144
- name: Setup Environment
@@ -179,7 +179,7 @@ jobs:
179179
sudo systemctl restart mysql
180180
sudo mysql -uroot -e "SELECT VERSION();"
181181
- name: Download artifacts
182-
uses: actions/download-artifact@v4
182+
uses: actions/download-artifact@v8
183183
with:
184184
name: build-artifacts
185185
path: /tmp/artifacts/
@@ -233,7 +233,7 @@ jobs:
233233
run: |
234234
echo -e "Simulator CI Test Results: (only failures listed)\n"
235235
python3 ./tools/marvin/xunit-reader.py integration-test-results/
236-
- uses: codecov/codecov-action@v4
236+
- uses: codecov/codecov-action@v5
237237
with:
238238
files: jacoco-coverage.xml
239239
fail_ci_if_error: true

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
language: ["actions"]
3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v3
40+
uses: github/codeql-action/init@v4
4141
with:
4242
languages: ${{ matrix.language }}
4343
- name: Autobuild
44-
uses: github/codeql-action/autobuild@v3
44+
uses: github/codeql-action/autobuild@v4
4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@v3
46+
uses: github/codeql-action/analyze@v4
4747
with:
4848
category: "Security"

.github/workflows/docker-cloudstack-simulator.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ concurrency:
3535
jobs:
3636
build:
3737
if: github.repository == 'apache/cloudstack'
38-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-24.04
3939
steps:
4040
- name: Login to Docker Registry
41-
uses: docker/login-action@v2
41+
uses: docker/login-action@v4
4242
with:
4343
registry: ${{ secrets.DOCKER_REGISTRY }}
4444
username: ${{ secrets.DOCKERHUB_USER }}
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set Docker repository name
4848
run: echo "DOCKER_REPOSITORY=apache" >> $GITHUB_ENV
4949

50-
- uses: actions/checkout@v5
50+
- uses: actions/checkout@v6
5151

5252
- name: Set ACS version
5353
run: echo "ACS_VERSION=$(grep '<version>' pom.xml | head -2 | tail -1 | cut -d'>' -f2 |cut -d'<' -f1)" >> $GITHUB_ENV

.github/workflows/merge-conflict-checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
triage:
3333
permissions:
3434
pull-requests: write # for eps1lon/actions-label-merge-conflict to label PRs
35-
runs-on: ubuntu-22.04
35+
runs-on: ubuntu-24.04
3636
steps:
3737
- name: Conflict Check
38-
uses: eps1lon/actions-label-merge-conflict@v2.0.0
38+
uses: eps1lon/actions-label-merge-conflict@v3
3939
with:
4040
repoToken: "${{ secrets.GITHUB_TOKEN }}"
4141
dirtyLabel: "status:has-conflicts"

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ concurrency:
2929
jobs:
3030
pre-commit:
3131
name: Run pre-commit
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-24.04
3333
steps:
3434
- name: Check Out
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@v6
3636
- name: Install
3737
run: |
3838
python -m pip install --upgrade pip

.github/workflows/rat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ permissions:
2626
contents: read
2727
jobs:
2828
build:
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-24.04
3030
steps:
31-
- uses: actions/checkout@v5
31+
- uses: actions/checkout@v6
3232
- name: Setup Environment
3333
uses: ./.github/actions/setup-env
3434
- name: Install Non-OSS

.github/workflows/sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
build:
3232
if: github.repository == 'apache/cloudstack' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
3333
name: Sonar JaCoCo Coverage
34-
runs-on: ubuntu-22.04
34+
runs-on: ubuntu-24.04
3535
steps:
36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@v6
3737
with:
3838
fetch-depth: 0
3939
- name: Setup Environment

.github/workflows/ui.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ permissions:
2828

2929
jobs:
3030
build:
31-
runs-on: ubuntu-22.04
31+
runs-on: ubuntu-24.04
3232

3333
steps:
34-
- uses: actions/checkout@v5
34+
- uses: actions/checkout@v6
3535

3636
- name: Set up Node
37-
uses: actions/setup-node@v5
37+
uses: actions/setup-node@v6
3838
with:
3939
node-version: 16
4040

@@ -55,7 +55,7 @@ jobs:
5555
npm run lint
5656
npm run test:unit
5757
58-
- uses: codecov/codecov-action@v4
58+
- uses: codecov/codecov-action@v5
5959
if: github.repository == 'apache/cloudstack'
6060
with:
6161
working-directory: ui

0 commit comments

Comments
 (0)