Skip to content

Commit

Permalink
Nightly build changes for geomet-dev-22 (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Ngai <[email protected]>
  • Loading branch information
kngai and Kevin Ngai authored Dec 7, 2023
1 parent 4ccabfc commit b4d1dbf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:focal

# Allow for change during docker build-time
ARG GEOMET_CLIMATE_URL=https://geomet-dev-21-nightly.cmc.ec.gc.ca/geomet-climate
ARG GEOMET_CLIMATE_URL=https://geomet-dev-22-nightly.cmc.ec.gc.ca/geomet-climate

ENV BASEDIR=/data/web/geomet-climate-nightly \
DOCKERDIR=/data/web/geomet-climate-nightly/docker \
Expand Down
1 change: 0 additions & 1 deletion deploy/nightly-docker/deploy-nightly-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ rm -fr latest
echo "Generating nightly build for $TIMESTAMP"
mkdir $NIGHTLYDIR && cd $NIGHTLYDIR
git clone $GEOMET_CLIMATE_GITREPO . -b master --depth=1
# git clone https://github.com/kngai/geomet-climate.git . -b docker-nightly --depth=1

echo "Stopping/building/starting Docker setup"
docker compose -f docker/docker-compose.yml -f docker/docker-compose.override.yml build --no-cache
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ docker compose -f docker/docker-compose.yml -f docker/docker-compose.override.ym
docker compose -f docker/docker-compose.yml -f docker/docker-compose.override.yml up -d

# test WMS endpoint
curl "http://geomet-dev-21.cmc.ec.gc.ca:8099/?service=WMS&version=1.3.0&request=GetCapabilities"
curl "http://geomet-dev-22.cmc.ec.gc.ca:8099/?service=WMS&version=1.3.0&request=GetCapabilities"
```
4 changes: 2 additions & 2 deletions docker/docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ services:
geomet-climate-nightly:
build:
args:
GEOMET_CLIMATE_URL: https://geomet-dev-21-nightly.cmc.ec.gc.ca/geomet-climate
# GEOMET_CLIMATE_URL: http://geomet-dev-21.cmc.ec.gc.ca:8099
GEOMET_CLIMATE_URL: https://geomet-dev-22-nightly.cmc.ec.gc.ca/geomet-climate
# GEOMET_CLIMATE_URL: http://geomet-dev-22.cmc.ec.gc.ca:8099
environment:
GEOMET_CLIMATE_OWS_DEBUG: 5
GEOMET_CLIMATE_ES_URL: http://${GEOMET_CLIMATE_ES_USERNAME}:${GEOMET_CLIMATE_ES_PASSWORD}@localhost:9200
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
build:
context: ..
network_mode: host
hostname: geomet-dev-21-docker.cmc.ec.gc.ca
hostname: geomet-dev-22-docker.cmc.ec.gc.ca
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
Expand Down

0 comments on commit b4d1dbf

Please sign in to comment.