Skip to content

Landcover Release Dev Test #1142

Landcover Release Dev Test

Landcover Release Dev Test #1142

name: OWS DEV CFG Test
on:
push:
branches: [ master ]
paths:
- 'dev/services/wms/**'
- .github/workflows/ows_cfg_testing_dev.yaml
- 'docker/database/**'
- 'docker-compose.ows.yaml'
pull_request:
branches: [ master ]
paths:
- 'dev/services/wms/**'
- .github/workflows/ows_cfg_testing_dev.yaml
- 'docker/database/**'
- 'docker-compose.ows.yaml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run ows_refactored_cfg test (dev)
run: |
docker compose -f docker-compose.ows.yaml up -d
docker compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c "datacube system init"
docker compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c "cd /dea-config; ./compare-cfg.sh"
docker compose -f docker-compose.ows.yaml down
env:
OWS_CFG_PATH: dev/services/wms/ows_refactored
PYTHON_PATH: dev/services/wms/
DATACUBE_OWS_CFG: ows_refactored.ows_root_cfg.ows_cfg