Skip to content

Bump NetBox e2e test version from 4.1.8 to 4.1.11 #242

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
6 changes: 3 additions & 3 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
- name: Run e2e tests
run: |
make test-e2e-4.0.11
e2e-tests-4-1-8:
name: Against netbox version 4.1.8
e2e-tests-4-1-11:
name: Against netbox version 4.1.11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down Expand Up @@ -109,4 +109,4 @@ jobs:
kubectl cluster-info
- name: Run e2e tests
run: |
make test-e2e-4.1.8
make test-e2e-4.1.11
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ create-kind-4.0.11:
test-e2e-4.0.11: create-kind-4.0.11 deploy-kind install-$(GO_PACKAGE_NAME_CHAINSAW)
chainsaw test $(E2E_PARAM)

.PHONY: create-kind-4.1.8
create-kind-4.1.8:
./kind/local-env.sh --version 4.1.8
.PHONY: test-e2e-4.1.8
test-e2e-4.1.8: create-kind-4.1.8 deploy-kind install-$(GO_PACKAGE_NAME_CHAINSAW)
.PHONY: create-kind-4.1.11
create-kind-4.1.11:
./kind/local-env.sh --version 4.1.11
.PHONY: test-e2e-4.1.11
test-e2e-4.1.11: create-kind-4.1.11 deploy-kind install-$(GO_PACKAGE_NAME_CHAINSAW)
chainsaw test $(E2E_PARAM)
8 changes: 4 additions & 4 deletions kind/local-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -e -u -o pipefail

NAMESPACE=""
VERSION="4.1.8" # default value
NETBOX_HELM_CHART="https://github.com/netbox-community/netbox-chart/releases/download/netbox-5.0.0-beta.169/netbox-5.0.0-beta.169.tgz" # default value
VERSION="4.1.11" # default value
NETBOX_HELM_CHART="https://github.com/netbox-community/netbox-chart/releases/download/netbox-5.0.30/netbox-5.0.30.tgz" # default value
while [[ $# -gt 0 ]]; do
case $1 in
-n|--namespace)
Expand Down Expand Up @@ -74,13 +74,13 @@ elif [[ "${VERSION}" == "4.0.11" ]] ;then
sed 's/netbox-demo-v4.1.sql/netbox-demo-v4.0.sql/g' $(dirname "$0")/load-data-job/load-data.orig.sh > $(dirname "$0")/load-data-job/load-data.sh && chmod +x $(dirname "$0")/load-data-job/load-data.sh

cp $(dirname "$0")/load-data-job/dockerfile.orig $(dirname "$0")/load-data-job/dockerfile
elif [[ "${VERSION}" == "4.1.8" ]] ;then
elif [[ "${VERSION}" == "4.1.11" ]] ;then
echo "Using version ${VERSION}"
# need to align with netbox-chart otherwise the creation of the cluster will hang
declare -a Remote_Images=( \
"busybox:1.37.0" \
"docker.io/bitnami/redis:7.4.1-debian-12-r2" \
"ghcr.io/netbox-community/netbox:v4.1.8" \
"ghcr.io/netbox-community/netbox:v4.1.11" \
"ghcr.io/zalando/postgres-operator:v1.12.2" \
"ghcr.io/zalando/spilo-16:3.2-p3" \
)
Expand Down
Loading