Skip to content

Commit

Permalink
E2E test use lxd 5.21 & ubuntu 24.04 LTS (#526)
Browse files Browse the repository at this point in the history
* nightly 24.04

* integration 24.04 lxd 5.21

* add test trigger

* lxd 5.21 informing e2e

* rm test trigger
  • Loading branch information
louiseschmidtgen authored Jul 3, 2024
1 parent e96042b commit 6b4bf88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integration-informing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
uses: actions/checkout@v4
- name: Install lxd
run: |
sudo snap refresh lxd --channel 5.21/stable
sudo lxd init --auto
sudo usermod --append --groups lxd $USER
sg lxd -c 'lxc version'
Expand Down Expand Up @@ -67,7 +68,7 @@ jobs:
run: pip install tox
- name: Install lxd
run: |
sudo snap refresh lxd --channel 5.19/stable
sudo snap refresh lxd --channel 5.21/stable
sudo lxd init --auto
sudo usermod --append --groups lxd $USER
sg lxd -c 'lxc version'
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
uses: actions/checkout@v4
- name: Install lxd
run: |
sudo snap refresh lxd --channel 5.21/stable
sudo lxd init --auto
sudo usermod --append --groups lxd $USER
sg lxd -c 'lxc version'
Expand All @@ -48,7 +49,7 @@ jobs:
name: Test ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu:20.04", "ubuntu:22.04"]
os: ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:24.04"]
runs-on: ubuntu-20.04
needs: build

Expand All @@ -63,7 +64,7 @@ jobs:
run: pip install tox
- name: Install lxd
run: |
sudo snap refresh lxd --channel 5.19/stable
sudo snap refresh lxd --channel 5.21/stable
sudo lxd init --auto
sudo usermod --append --groups lxd $USER
sg lxd -c 'lxc version'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Nightly Latest/Edge Tests

on:
schedule:
- cron: '0 0 * * *' # Runs every midnight
- cron: '0 0 * * *' # Runs every midnight

permissions:
contents: read
Expand All @@ -12,7 +12,7 @@ jobs:
name: Integration Test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.releases }}
strategy:
matrix:
os: ["ubuntu:20.04", "ubuntu:22.04"]
os: ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:24.04"]
arch: ["amd64", "arm64"]
releases: ["latest/edge"]
fail-fast: false # TODO: remove once arm64 works
Expand Down

0 comments on commit 6b4bf88

Please sign in to comment.