Skip to content

Commit

Permalink
test: update integration tests script
Browse files Browse the repository at this point in the history
Omni integration tests executable was changed, change the integration
tests script to make it work again.
Also enable `ConfigPatching` tests.

Signed-off-by: Artem Chernyshev <[email protected]>
  • Loading branch information
Unix4ever committed Jan 24, 2025
1 parent fb2e410 commit 218f799
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hack/test/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TALOS_VERSION=1.9.1
SUBNET_CIDR=172.42.0.0/24
GATEWAY_IP=172.42.0.1
ARTIFACTS=_out
NUM_MACHINES=4
NUM_MACHINES=8

echo "OMNI_IMAGE: $OMNI_IMAGE"
echo "OMNI_INTEGRATION_TEST_IMAGE: $OMNI_INTEGRATION_TEST_IMAGE"
Expand Down Expand Up @@ -211,10 +211,12 @@ echo "Run integration tests..."
docker run --rm --network host \
--name omni-integration-test \
-v "$(pwd)/hack/certs:/etc/ssl/certs" \
-v "$(pwd)/hack/test:/var/test" \
-e SSL_CERT_DIR=/etc/ssl/certs \
-e OMNI_SERVICE_ACCOUNT_KEY="$ADMIN_SERVICE_ACCOUNT_KEY" \
"$OMNI_INTEGRATION_TEST_IMAGE" \
--endpoint=${BASE_URL} \
--expected-machines=$NUM_MACHINES \
--talos-version="${TALOS_VERSION}" \
--provision-config-file=/var/test/provisionconfig.yaml \
--skip-extensions-check-on-create \
--test.run "StaticInfraProvider"
5 changes: 5 additions & 0 deletions hack/test/provisionconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
count: 8
provider:
id: bare-metal
static: true

0 comments on commit 218f799

Please sign in to comment.