Skip to content

Commit

Permalink
feat: temporary disable stac catalog creation and stac-sync TDE-1003 (#…
Browse files Browse the repository at this point in the history
…116)

- As the data will be publish to the ODR bucket, the STAC Catalog would
be in an incoherent state while some STAC Collections will point to
linz-elevation and some other to nz-elevation bucket. To avoid issues
and making confusion, we decided to temporary deactivate the STAC
Catalog.
- In order to prevent copying over the existing STAC Collection files
that belong to `linz-elevation` bucket, temporary deactivate `stac-sync`
  • Loading branch information
paulfouquet authored Feb 26, 2024
1 parent 13121ef commit ddc0767
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
- uses: linz/action-typescript@dee99184c4305aea6c380a52db9b2d7abaaa3e78 # v3

# FIXME: catalog.json is not pushed to the repository (temporary solution)
- name: Create STAC Catalog
uses: docker://ghcr.io/linz/argo-tasks:v2
with:
args: stac-catalog --output stac/catalog.json --template template/catalog.json /github/workspace/stac/
# - name: Create STAC Catalog
# uses: docker://ghcr.io/linz/argo-tasks:v2
# with:
# args: stac-catalog --output stac/catalog.json --template template/catalog.json /github/workspace/stac/

- name: Validate STAC Catalog
uses: docker://ghcr.io/linz/argo-tasks:v2
with:
args: stac-validate /github/workspace/stac/catalog.json
# - name: Validate STAC Catalog
# uses: docker://ghcr.io/linz/argo-tasks:v2
# with:
# args: stac-validate /github/workspace/stac/catalog.json

- name: Validate STAC Collections
run: |
Expand All @@ -41,8 +41,8 @@ jobs:
role-to-assume: ${{ secrets.AWS_CI_ROLE }}

# Sync STAC files only on push to 'master'
- name: Sync STAC
uses: docker://ghcr.io/linz/argo-tasks:v2
if: github.ref == 'refs/heads/master'
with:
args: stac-sync /github/workspace/stac/ s3://linz-elevation/
# - name: Sync STAC
# uses: docker://ghcr.io/linz/argo-tasks:v2
# if: github.ref == 'refs/heads/master'
# with:
# args: stac-sync /github/workspace/stac/ s3://linz-elevation/

0 comments on commit ddc0767

Please sign in to comment.