From ddc076749804234e2204241dba065e0ddede8fa1 Mon Sep 17 00:00:00 2001 From: paulfouquet <86932794+paulfouquet@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:39:23 +1300 Subject: [PATCH] feat: temporary disable stac catalog creation and stac-sync TDE-1003 (#116) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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` --- .github/workflows/publish.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f2108581..d3f26960 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: | @@ -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/ \ No newline at end of file + # - 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/