Skip to content
Snippets Groups Projects
Commit 2fccc712 authored by ranchodeluxe's avatar ranchodeluxe
Browse files

add maap_pgt

parent 4e126977
No related branches found
No related tags found
1 merge request!92add maap_pgt
......@@ -17,13 +17,16 @@ inputs:
maap_image_env:
description: 'ubuntu'
required: true
maap_pgt_secret:
description: 'MAAP_PGT'
required: true
runs:
using: "composite"
steps:
- shell: bash
run: |
docker run \
--env MAAP_PGT=${{ secrets.MAAP_PGT }} \
--env MAAP_PGT=${{ inputs.maap_pgt_secret }} \
--env MAAP_CONF=/maap-py \
--pull=always -u ${UID}:${DOCKER_GID} -v ${PWD}:${PWD} -w ${PWD} \
--rm mas.maap-project.org/root/maap-workspaces/base_images/vanilla:v3.1.4 \
......
......@@ -17,6 +17,9 @@ inputs:
maap_image_env:
description: 'MAAP image environment'
required: true
maap_pgt_secret:
description: 'MAAP_PGT'
required: true
json_params:
description: 'json encoded params to pass to the job'
required: true
......@@ -26,7 +29,7 @@ runs:
- shell: bash
run: |
docker run \
--env MAAP_PGT=${{ secrets.MAAP_PGT }} \
--env MAAP_PGT=${{ inputs.maap_pgt_secret }} \
--env MAAP_CONF=/maap-py \
--pull=always -u ${UID}:${DOCKER_GID} -v ${PWD}:${PWD} -w ${PWD} \
--rm mas.maap-project.org/root/maap-workspaces/base_images/vanilla:v3.1.4 \
......
......@@ -53,6 +53,7 @@ jobs:
username: gcorradini
queue: maap-dps-eis-worker-64gb
maap_image_env: ubuntu
maap_pgt_secret: ${{ secrets.MAAP_PGT }}
json_params: '{"regnm": "CONUS", "bbox": "[-126.401171875,24.071240929282325,-61.36210937500001,49.40003415463647]", "tst": "[2024,1,1,\"AM\"]", "ted": $NOW_TED, "operation": "--coordinate-all"}'
......@@ -37,5 +37,6 @@ jobs:
username: gcorradini
queue: maap-dps-eis-worker-32gb
maap_image_env: ubuntu
maap_pgt_secret: ${{ secrets.MAAP_PGT }}
......@@ -41,6 +41,7 @@ jobs:
username: gcorradini
queue: maap-dps-eis-worker-64gb
maap_image_env: ubuntu
maap_pgt_secret: ${{ secrets.MAAP_PGT }}
json_params: '{"regnm": "", "bbox": "[]", "tst": "[]", "ted": "[]", "operation": "--data-update"}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment