-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LXD is now banned from https://images.linuxcontainers.org/ Signed-off-by: Akihiro Suda <[email protected]>
- Loading branch information
1 parent
82d6cd2
commit e0cf3cb
Showing
4 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,29 +60,33 @@ jobs: | |
./hack/test-smoke.sh | ||
multi-node: | ||
name: "Multi node (emulated using LXD)" | ||
name: "Multi node (emulated using Incus)" | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- lxc-image: ubuntu:22.04 | ||
- incus-image: images:ubuntu/22.04 | ||
engine: docker | ||
- lxc-image: images:fedora/39/cloud | ||
- incus-image: images:fedora/39/cloud | ||
engine: podman | ||
env: | ||
LXC_IMAGE: "${{ matrix.lxc-image }}" | ||
INCUS_IMAGE: "${{ matrix.incus-image }}" | ||
CONTAINER_ENGINE: "${{ matrix.engine }}" | ||
steps: | ||
- run: sudo modprobe vxlan | ||
- uses: actions/checkout@v3 | ||
- uses: canonical/[email protected] | ||
- run: ./hack/create-cluster-lxd.sh | ||
- uses: maxwell-k/setup-incus@main | ||
- name: "Set up Incus" | ||
run: | | ||
set -x | ||
sudo incus admin init --auto | ||
- run: ./hack/create-cluster-incus.sh | ||
- run: kubectl taint nodes --all node-role.kubernetes.io/control-plane- || true | ||
- run: ./hack/test-smoke.sh | ||
- name: "Test data persistency after restarting the node" | ||
run: | | ||
lxc restart host0 host1 | ||
sudo incus restart host0 host1 | ||
sleep 30 | ||
./hack/test-smoke.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters