Incrase shared memory size
This commit is contained in:
12
.github/workflows/build-and-test.yaml
vendored
12
.github/workflows/build-and-test.yaml
vendored
@@ -87,12 +87,12 @@ jobs:
|
||||
if : ${{ matrix.mode == 'build-and-test' }}
|
||||
run : |
|
||||
docker volume create ${VOLUME}
|
||||
docker run --rm --shm-size=128M -v ${VOLUME}:${MOUNT} -e UPDATES=enabled ${IMAGE}:${TAG} import
|
||||
docker run --rm --shm-size=4GB -v ${VOLUME}:${MOUNT} -e UPDATES=enabled ${IMAGE}:${TAG} import
|
||||
-
|
||||
name: Start server
|
||||
if : ${{ matrix.mode == 'build-and-test' }}
|
||||
run : |
|
||||
docker run --shm-size=128M -v ${VOLUME}:${MOUNT} -e UPDATES=enabled -p 80:80 -d --name ${CONTAINER} ${IMAGE}:${TAG} run
|
||||
docker run --shm-size=4GB -v ${VOLUME}:${MOUNT} -e UPDATES=enabled -p 80:80 -d --name ${CONTAINER} ${IMAGE}:${TAG} run
|
||||
sleep 30
|
||||
docker logs ${CONTAINER}
|
||||
-
|
||||
@@ -106,13 +106,6 @@ jobs:
|
||||
curl http://localhost/tile/1/1/1.png --fail -o 111.png
|
||||
curl http://localhost/tile/18/138474/85459.png --fail -o empty.png
|
||||
curl http://localhost/tile/18/135536/89345.png --fail -o example.png
|
||||
-
|
||||
name: Upload tiles
|
||||
if : ${{ matrix.mode == 'build-and-test' }}
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: tiles
|
||||
path: '*.png'
|
||||
-
|
||||
name: Verify tiles
|
||||
if : ${{ matrix.mode == 'build-and-test' }}
|
||||
@@ -262,6 +255,7 @@ jobs:
|
||||
push: false
|
||||
load: true
|
||||
tags: localbuild/testimage:latest
|
||||
platforms: linux/amd64
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user