Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Enable openstack-cli-server #205

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
- name: "dalmatian"
openstack_version: "stable/2024.2"
ubuntu_version: "22.04"
additional_services: "openstack-cli-server"
- name: "caracal"
openstack_version: "stable/2024.1"
ubuntu_version: "22.04"
additional_services: ""
env:
image_tag: virtual-registry.k-orc.cloud/ci:commit-${GITHUB_SHA::7}

Expand All @@ -32,6 +34,7 @@ jobs:
with:
enable_workaround_docker_io: 'false'
branch: ${{ matrix.openstack_version }}
enabled_services: "${{ matrix.additional_services }}"

- name: Deploy a Kind Cluster
uses: helm/kind-action@ae94020eaf628e9b9b9f341a10cc0cdcf5c018fb
Expand All @@ -46,7 +49,7 @@ jobs:
- name: Deploy orc
run: |
kubectl config use-context kind-orc
make deploy IMG=${{ env.image_tag }}
make deploy IMG=${{ env.image_tag }} LOGLEVEL=5

- name: Run e2e tests
run: make test-e2e
Expand Down
15 changes: 13 additions & 2 deletions hack/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,21 @@ E2E_KUTTL_TEST=${E2E_KUTTL_TEST:-}
# Define a custom external network
export E2E_EXTERNAL_NETWORK_NAME=${E2E_EXTERNAL_NETWORK_NAME:-private}

export OS_CLOUD=devstack

echo OpenStack Networks before running kuttl
set -x
openstack network list
openstack subnet list
set +x

kubectl kuttl test $E2E_KUTTL_DIR --test "$E2E_KUTTL_TEST"

# Now drop admin privileges
export OS_CLOUD=devstack
echo OpenStack Networks after running kuttl
set -x
openstack network list
openstack subnet list
set +x

cd examples

Expand Down
Loading