Skip to content

Commit

Permalink
start converting OPERA_DISP_TMS to fan-out workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Jan 29, 2025
1 parent 7f66eda commit 064a549
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-opera-disp-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Deploy OPERA-DISP Sandbox Stack to AWS
on:
push:
branches:
- develop
# TODO revert
#- develop
- opera-disp-fan-out

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down
46 changes: 35 additions & 11 deletions job_spec/OPERA_DISP_TMS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,45 @@ OPERA_DISP_TMS:
cost: 1.0
validators: []
steps:
- name: ''
- name: CREATE_MEASUREMENT_GEOTIFF
image: ghcr.io/asfhyp3/opera-disp-tms
command:
- Ref::measurement_type
- Ref::frames
- Ref::start_date
- Ref::end_date
- --bucket
- '!Ref Bucket'
- --bucket-prefix
- Ref::bucket_prefix
timeout: 21600 # 6 hr
- ++process
- create_measurement_geotiff
# TODO args
timeout: 21600 # 6 hr # TODO
compute_environment: Default
vcpu: 1
memory: 31500
memory: 31500 # TODO
secrets:
- EARTHDATA_USERNAME
- EARTHDATA_PASSWORD
- name: CREATE_TILE_MAP
image: ghcr.io/asfhyp3/opera-disp-tms
command:
- ++process
- create_tile_map
# TODO args
timeout: 21600 # 6 hr # TODO
compute_environment: Default
vcpu: 1
memory: 31500 # TODO
# TODO delete:
# - name: ''
# image: ghcr.io/asfhyp3/opera-disp-tms
# command:
# - Ref::measurement_type
# - Ref::frames
# - Ref::start_date
# - Ref::end_date
# - --bucket
# - '!Ref Bucket'
# - --bucket-prefix
# - Ref::bucket_prefix
# timeout: 21600 # 6 hr
# compute_environment: Default
# vcpu: 1
# memory: 31500
# secrets:
# - EARTHDATA_USERNAME
# - EARTHDATA_PASSWORD

0 comments on commit 064a549

Please sign in to comment.