Skip to content
Snippets Groups Projects
Commit fe5e3317 authored by Anders Harrisson's avatar Anders Harrisson
Browse files

Bump python and NetBox versions in GitLab-CI jobs

parent 1cceba59
No related branches found
No related tags found
1 merge request!21Move to NetBox 4.x
...@@ -12,7 +12,7 @@ default: ...@@ -12,7 +12,7 @@ default:
build-package: build-package:
stage: build stage: build
image: python:3.11 image: python:3.12
before_script: before_script:
- python -m pip install build --user - python -m pip install build --user
script: script:
...@@ -24,7 +24,7 @@ build-package: ...@@ -24,7 +24,7 @@ build-package:
test: test:
stage: test stage: test
image: python:3.11 image: python:3.12
services: services:
- name: redis - name: redis
variables: variables:
...@@ -37,7 +37,7 @@ test: ...@@ -37,7 +37,7 @@ test:
HEALTHCHECK_TCP_PORT: "5432" HEALTHCHECK_TCP_PORT: "5432"
before_script: before_script:
- pip install . - pip install .
- git clone --depth 1 --branch v3.7.8 --single-branch https://github.com/netbox-community/netbox.git - git clone --depth 1 --branch v4.2.3 --single-branch https://github.com/netbox-community/netbox.git
- pip install --upgrade --requirement netbox/requirements.txt - pip install --upgrade --requirement netbox/requirements.txt
- ln -s $(pwd)/tests/configuration.py netbox/netbox/netbox/configuration.py - ln -s $(pwd)/tests/configuration.py netbox/netbox/netbox/configuration.py
script: script:
...@@ -46,7 +46,7 @@ test: ...@@ -46,7 +46,7 @@ test:
release-package: release-package:
stage: release stage: release
image: python:3.11 image: python:3.12
before_script: before_script:
- python -m pip install twine --user - python -m pip install twine --user
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment