Bump actions/checkout from 3 to 4 #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WORKSPACE CSV Test (prod) | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'workspaces/prod-products.csv' | |
- '.github/workflows/workspace_prod_csv_testing.yaml' | |
- 'docker-compose.productscsv.yaml' | |
- 'check-product-csv.sh' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'workspaces/prod-products.csv' | |
- '.github/workflows/workspace_prod_csv_testing.yaml' | |
- 'docker-compose.productscsv.yaml' | |
- 'check-product-csv.sh' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run csv testing (Prod) | |
run: | | |
docker-compose -f docker-compose.productscsv.yaml up -d | |
docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c "datacube system init" | |
docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c "cd /env/config; ./datacube_init_metadata.sh" | |
docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c "cd /env/config; ./check-product-csv.sh" | |
docker-compose -f docker-compose.productscsv.yaml down | |
env: | |
ENV: prod | |
EXPLORER_ENDPOINT: explorer.sandbox.dea.ga.gov.au |