diff --git a/.github/workflows/unittesting.yml b/.github/workflows/unittesting.yml deleted file mode 100644 index 52db4bf..0000000 --- a/.github/workflows/unittesting.yml +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: Unit testing and functional code control -on: - push: - branches: - - 'main' - - 'develop' - - 'unittesting' - -jobs: - integration: - runs-on: ubuntu-latest - services: - docker: - image: docker:dind - options: --privileged --shm-size=2g - volumes: - - /var/run/docker.sock:/var/run/docker.sock:ro - steps: - - uses: actions/checkout@v4 - - name: Install Docker and Docker-compose - run: | - apt-get update - apt-get install -y docker.io - apt install docker-compose-v2 -y - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: 3.12 - - name: Show 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 infra/netbox-compose.yml 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 - docker compose -f netbox-docker/docker-compose.yml logs netbox \ No newline at end of file diff --git a/infra/netbox-compose.yml b/infra/netbox-compose.yml deleted file mode 100644 index c1e8c96..0000000 --- a/infra/netbox-compose.yml +++ /dev/null @@ -1,22 +0,0 @@ -services: - netbox: - ports: - - "8000:8080" - # If you want the Nginx unit status page visible from the - # outside of the container add the following port mapping: - # - "8001:8081" - healthcheck: - # Time for which the health check can fail after the container is started. - # This depends mostly on the performance of your database. On the first start, - # when all tables need to be created the start_period should be higher than on - # subsequent starts. For the first start after major version upgrades of NetBox - # the start_period might also need to be set higher. - # Default value in our docker-compose.yml is 60s - start_period: 150s - # environment: - # SKIP_SUPERUSER: "false" - # SUPERUSER_API_TOKEN: "" - # SUPERUSER_EMAIL: "" - # SUPERUSER_NAME: "" - # SUPERUSER_PASSWORD: "" -