mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 20:22:56 -06:00
Added Netbox deployment config
This commit is contained in:
parent
ea5b7d3196
commit
feb719542d
19
.github/workflows/unittesting.yml
vendored
19
.github/workflows/unittesting.yml
vendored
@ -21,17 +21,26 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Docker
|
- name: Install Docker and Docker-compose
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y docker.io
|
apt-get install -y docker.io
|
||||||
|
sudo apt-get install docker-compose -y
|
||||||
|
|
||||||
- name: Test Docker
|
|
||||||
run: |
|
|
||||||
docker version
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.12
|
python-version: 3.12
|
||||||
- name: Show Python version
|
- name: Show Python version
|
||||||
run: python --version
|
run: python --version
|
||||||
|
- name: Test Docker
|
||||||
|
run: |
|
||||||
|
docker version
|
||||||
|
- name: configure and start Netbox
|
||||||
|
run: |
|
||||||
|
git clone -b release https://github.com/netbox-community/netbox-docker.git
|
||||||
|
mv netbox-docker/docker-compose.override.yml.example netbox-docker/docker-compose.override.yml
|
||||||
|
docker-compose -f netbox-docker/docker-compose.yml pull
|
||||||
|
docker-compose -f netbox-docker/docker-compose.yml up -d
|
||||||
|
- name: Wait 2 minutes for compose stack to build
|
||||||
|
run: sleep 120s
|
Loading…
Reference in New Issue
Block a user