-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce multi-version support for e2e tests
Fix issue with podman Remove exit(1)
- Loading branch information
1 parent
c458b63
commit 0cfa2ea
Showing
9 changed files
with
219 additions
and
61 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
golang-version=1.23 | ||
kind-version=v0.25.0 | ||
kind-image=kindest/node:v1.31.2 | ||
kind-image=kindest/node:v1.32.0 |
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# load-data-job | ||
|
||
Due to database schema changes cross major/minor NetBox versions, we have to `patch` the SQL files and demo data link on-the-fly. | ||
|
||
The default values stems from the NetBox 4.1.x version. So the patching will only happen for 3.7.x and 4.0.x versions. | ||
|
||
Please see `../local-env.sh`, that's where all the patching happen. |
2 changes: 1 addition & 1 deletion
2
kind/load-data-job/dockerfile → kind/load-data-job/dockerfile.orig
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.12 | ||
ADD main.py . | ||
RUN pip install pynetbox | ||
RUN pip install -Iv pynetbox==7.4.1 | ||
CMD ["python", "./main.py"] |
1 change: 1 addition & 0 deletions
1
kind/load-data-job/load-data.sh → kind/load-data-job/load-data.orig.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
Oops, something went wrong.