Skip to content

Commit

Permalink
Change testing for 2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
mrauhala committed Mar 5, 2024
1 parent b6bc9a2 commit f7fbf3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@ jobs:
run: |
docker tag meteofi/geoserver:${{ matrix.version }} meteofi/geoserver:latest
docker tag meteofi/geoserver:${{ matrix.version }} meteofi/geoserver:stable
cd ${{ matrix.version }}
docker compose up -d --wait --wait-timeout 300
curl -f "http://localhost:8080/geoserver/wms?request=getCapabilities&service=WMS" || exit 1
docker logs geoserver
docker compose down
- if: ${{ matrix.version == '2.23' }}
name: docker tag maintenance
run: docker tag meteofi/geoserver:${{ matrix.version }} meteofi/geoserver:maintenance

- name: docker test ${{ matrix.version }}
- name: docker test
run: |
docker run --name geoserver${{ matrix.version }} --rm -p 127.0.0.1:8080:8080 meteofi/geoserver:${{ matrix.version }} &> debug.log &
sleep 60
Expand Down
3 changes: 2 additions & 1 deletion 2.24/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ services:
args:
GEOSERVER_PLUGINS: "css pyramid"
image: meteofi/geoserver:2.24
container_name: geoserver
restart: unless-stopped
ports:
- "8080:8080"
restart: unless-stopped
volumes:
- geoserver-storage:/data/geoserver

Expand Down

0 comments on commit f7fbf3b

Please sign in to comment.