Try to get test on ARM64 to pass
This commit is contained in:
parent
5d6e733bce
commit
e44f0398fb
5
.github/workflows/push.yml
vendored
5
.github/workflows/push.yml
vendored
@ -75,6 +75,11 @@ jobs:
|
||||
env:
|
||||
BUILDX_PLATFORM: ${{ matrix.platform }}
|
||||
BUILDX_BUILDER_NAME: ${{ steps.buildx-setup.outputs.name }}
|
||||
- id: arm-time-limit
|
||||
name: Set Netbox container start_period higher on ARM64
|
||||
if: matrix.platform == 'linux/arm64'
|
||||
run: |
|
||||
echo "NETBOX_START_PERIOD=240s" >>"${GITHUB_ENV}"
|
||||
- id: docker-test
|
||||
name: Test the image
|
||||
run: IMAGE="${FINAL_DOCKER_TAG}" ./test.sh
|
||||
|
@ -14,7 +14,7 @@ services:
|
||||
volumes:
|
||||
- ./test-configuration/logging.py:/etc/netbox/config/logging.py:z,ro
|
||||
healthcheck:
|
||||
start_period: 120s
|
||||
start_period: ${NETBOX_START_PERIOD-120s}
|
||||
timeout: 3s
|
||||
interval: 15s
|
||||
test: "curl -f http://localhost:8080/api/ || exit 1"
|
||||
|
Loading…
Reference in New Issue
Block a user