-
Notifications
You must be signed in to change notification settings - Fork 22
38 lines (34 loc) · 1.08 KB
/
ows_cfg_testing_dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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