/dea-config

Config files for dea services

Primary LanguagePythonApache License 2.0Apache-2.0

DEA Config

Config files for Digital Earth Australia (DEA) services

This is a central space used to store configuration for our services and products.

Below are notable folders:

Docker image

image name: geoscienceaustralia/dea-datakube-config up to version 1.5.38-13-g43d4569a images are available from: dockerhub newer images are only available from AWS ECR

Formatting for Terria Data Description section in ows config

Bold

**Overview**

Italic

*Overview*

Testing

products metadata and products definition testing

testing workspace csv

First, create an .env file for the docker-compose setup

    vi .env
    # inside .env
ENV=prod
EXPLORER_ENDPOINT=explorer.sandbox.dea.ga.gov.au

then bring up the testing tool

    docker-compose -f docker-compose.productscsv.yaml up -d
    docker exec -it dea-config_datacube_1 bash
    # within the docker container run
    datacube system init
    cd /env/config
    ./datacube_init_metadata.sh
    ./check-product-csv.sh

audit checks (local-check-script.sh)

    docker-compose -f docker-compose.productscsv.yaml up -d
    docker exec -it dea-config_datacube_1 bash
    # within the docker container run
    datacube system init
    cd /env/config
    ./datacube_init_metadata.sh
    ./local-check-script.sh

ows config testing

First, create an .env file for the docker-compose setup

    vi .env
    # inside .env
OWS_CFG_PATH=dev/services/wms/ows_refactored
DATACUBE_OWS_CFG=ows_refactored.ows_root_cfg.ows_cfg
PYTHON_PATH=dev/services/wms/

then bring up the testing tool

    docker-compose -f docker-compose.ows.yaml up -d
    docker exec -it dea-config_ows_1 bash
    # within the docker container run
    cd /env/config
    datacube system init
    ./compare-cfg.sh

Pull Request Template

There are three pull request Templates available for the following changes:

  • ows config changes (ows_cfg.md)
  • terria json changes (terria.md)
  • product yaml file changes (product.md)

To access the PR templates

  • open up a new pull request page and add &template=ows_cfg.md, &template=terria.md or &template=product.md at the end of the url

for example https://github.com/GeoscienceAustralia/dea-config/compare/ows-fix-depreciated?expand=1&template=ows_cfg.md

Usage

Files should be referenced by the raw tag on the master branch i.e.

https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/master/prod/products/nrt/landsat/products.yaml

Dependants

Datacube EKS - Containerised Web Services for DEA running on AWS EKS.