Skip to content

Commit d71a6d2

Browse files
committed
e2e with octavia
- allow testing octavia by enabling it in the e2e job - increase vm qouta to allow e2e to run
1 parent 21e4081 commit d71a6d2

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/e2e.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: "flamingo"
1818
openstack_version: "stable/2025.2"
1919
ubuntu_version: "24.04"
20+
devstack_conf_overrides: |
21+
LIBVIRT_CPU_MODE=host-passthrough
22+
OCTAVIA_AMP_DISTRIBUTION_RELEASE_ID=jammy
2023
- name: "epoxy"
2124
openstack_version: "stable/2025.1"
2225
ubuntu_version: "24.04"
@@ -31,12 +34,34 @@ jobs:
3134
steps:
3235
- uses: actions/checkout@v6.0.2
3336

37+
- name: Enable KVM access
38+
run: |
39+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
40+
sudo udevadm control --reload-rules
41+
sudo udevadm trigger --name-match=kvm
42+
3443
- name: Deploy devstack
3544
uses: gophercloud/devstack-action@60ca1042045c0c9e3e001c64575d381654ffcba1
3645
with:
3746
enable_workaround_docker_io: 'false'
3847
branch: ${{ matrix.openstack_version }}
39-
enabled_services: "openstack-cli-server,neutron-trunk"
48+
enabled_services: "openstack-cli-server,neutron-trunk,octavia,o-api,o-cw,o-hm,o-hk,o-da"
49+
conf_overrides: |
50+
${{ matrix.devstack_conf_overrides }}
51+
enable_plugin octavia https://github.com/openstack/octavia ${{ matrix.openstack_version }}
52+
enable_plugin neutron https://github.com/openstack/neutron ${{ matrix.openstack_version }}
53+
54+
[[post-config|/etc/nova/nova.conf]]
55+
[quota]
56+
instances = 50
57+
- name: Calculate go version
58+
id: vars
59+
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
60+
61+
- name: Set up Go
62+
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # tag=v6.1.0
63+
with:
64+
go-version: ${{ steps.vars.outputs.go_version }}
4065

4166
- name: Deploy a Kind Cluster
4267
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc

0 commit comments

Comments
 (0)