Skip to content

Commit c8352fd

Browse files
authored
Fix 819: Update CI (#841)
* Remove NetBox 2.11, 3.0 from CI. Add NetBox 3.3.
1 parent f470d34 commit c8352fd

File tree

174 files changed

+2500
-16415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+2500
-16415
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -45,106 +45,82 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
include:
48-
- python-version: 3.8
49-
VERSION: "v2.11"
50-
INTEGRATION_TESTS: "v2.11"
51-
- python-version: 3.8
52-
VERSION: "v3.0"
53-
INTEGRATION_TESTS: "v3.0"
5448
- python-version: 3.8
5549
VERSION: "v3.1"
5650
INTEGRATION_TESTS: "v3.1"
5751
- python-version: 3.8
5852
VERSION: "v3.2"
5953
INTEGRATION_TESTS: "v3.2"
54+
- python-version: 3.8
55+
VERSION: "v3.3"
56+
INTEGRATION_TESTS: "v3.3"
6057
steps:
6158
- name: Checkout repo
6259
uses: actions/checkout@v2
6360
- name: Set up Python ${{ matrix.python-version }}
6461
uses: actions/setup-python@v2
6562
with:
6663
python-version: ${{ matrix.python-version }}
67-
if: matrix.VERSION == 'v2.11'
68-
- name: Clone & Start netbox-docker containers - 2.11
69-
env:
70-
VERSION: ${{ matrix.VERSION }}
71-
run: |
72-
cd ..
73-
git clone https://github.com/netbox-community/netbox-docker.git
74-
cd netbox-docker
75-
git checkout 1.2.0
76-
tee docker-compose.override.yml <<EOF
77-
version: '3.4'
78-
services:
79-
netbox:
80-
image: netboxcommunity/netbox:v2.11
81-
ports:
82-
- 32768:8080
83-
EOF
84-
docker-compose up -d --quiet-pull
85-
docker container ls
86-
cd ..
87-
if: matrix.VERSION == 'v2.11'
88-
- name: Clone & Start netbox-docker containers - 3.0
64+
- name: Clone & Start netbox-docker containers - 3.1
8965
env:
9066
VERSION: ${{ matrix.VERSION }}
9167
run: |
9268
cd ..
9369
git clone https://github.com/netbox-community/netbox-docker.git
9470
cd netbox-docker
95-
git checkout 1.3.1
71+
git checkout 1.4.1
9672
tee docker-compose.override.yml <<EOF
9773
version: '3.4'
9874
services:
9975
netbox:
100-
image: netboxcommunity/netbox:v3.0
76+
image: netboxcommunity/netbox:v3.1
10177
ports:
10278
- 32768:8080
10379
EOF
10480
docker-compose up -d --quiet-pull
10581
docker container ls
10682
cd ..
107-
if: matrix.VERSION == 'v3.0'
108-
- name: Clone & Start netbox-docker containers - 3.1
83+
if: matrix.VERSION == 'v3.1'
84+
- name: Clone & Start netbox-docker containers - 3.2
10985
env:
11086
VERSION: ${{ matrix.VERSION }}
11187
run: |
11288
cd ..
11389
git clone https://github.com/netbox-community/netbox-docker.git
11490
cd netbox-docker
115-
git checkout 1.4.1
91+
git checkout 1.6.1
11692
tee docker-compose.override.yml <<EOF
11793
version: '3.4'
11894
services:
11995
netbox:
120-
image: netboxcommunity/netbox:v3.1
96+
image: netboxcommunity/netbox:v3.2
12197
ports:
12298
- 32768:8080
12399
EOF
124100
docker-compose up -d --quiet-pull
125101
docker container ls
126102
cd ..
127-
if: matrix.VERSION == 'v3.1'
128-
- name: Clone & Start netbox-docker containers - 3.2
103+
if: matrix.VERSION == 'v3.2'
104+
- name: Clone & Start netbox-docker containers - 3.3
129105
env:
130106
VERSION: ${{ matrix.VERSION }}
131107
run: |
132108
cd ..
133109
git clone https://github.com/netbox-community/netbox-docker.git
134110
cd netbox-docker
135-
git checkout 1.6.1
111+
git checkout 2.2.0
136112
tee docker-compose.override.yml <<EOF
137113
version: '3.4'
138114
services:
139115
netbox:
140-
image: netboxcommunity/netbox:v3.2
116+
image: netboxcommunity/netbox:v3.3
141117
ports:
142118
- 32768:8080
143119
EOF
144120
docker-compose up -d --quiet-pull
145121
docker container ls
146122
cd ..
147-
if: matrix.VERSION == 'v3.2'
123+
if: matrix.VERSION == 'v3.3'
148124
- name: Install and configure Poetry
149125
uses: snok/install-poetry@v1.1.1
150126
with:

0 commit comments

Comments
 (0)