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

Merge branch 'conus-dps' into primarykeyv2

parents 97ca57d6 f0d5f768
No related branches found
No related tags found
1 merge request!61Additions: primary keys, speed ups (preprocessing and postprocessing), tests, scalene, reorg entire fireatlas
name: manual nrt v3
on:
workflow_dispatch:
inputs:
algo_name:
description: 'Algorithm name'
required: true
github_ref:
description: 'Branch name or tag'
required: true
username:
description: 'Username'
required: true
queue:
description: 'Queue'
required: false
default: 'maap-dps-eis-worker-64gb'
maap_image_env:
description: 'MAAP image environment'
required: false
default: 'ubuntu'
json_params:
description: 'JSON encoded params to pass to the job e.g.: \'{"regnm": "NewMexicoV3", "bbox": "[-125,31,-101,49]", "tst": "[]", "ted": "[]", "operation": "--coordinate-all"}\''
required: true
jobs:
run_dps_job_v3:
if: contains('["ranchodeluxe", "mccabete"]', github.actor)
runs-on: ubuntu-latest
environment: production
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
ref: primarykeyv2
- name: pip install fireatlas
run: |
pip install .
- name: get docker GID and set DOCKER_GID environment variable
run: |
echo "DOCKER_GID=$(getent group docker | cut -d: -f3)" >> $GITHUB_ENV
- name: get current user UID and set UID environment variable
run: |
echo "UID=$(id -u)" >> $GITHUB_ENV
- name: print DOCKER_GID and UID
run: |
echo "Docker GID: $DOCKER_GID"
echo "User UID: $UID"
- name: kick off the DPS job
uses: Earth-Information-System/fireatlas/.github/actions/run-dps-job-v3@conus-dps
with:
algo_name: ${{ inputs.algo_name }}
github_ref: ${{ inputs.github_ref }}
username: ${{ inputs.username }}
queue: ${{ inputs.queue }}
maap_image_env: ${{ inputs.maap_image_env }}
maap_pgt_secret: ${{ secrets.MAAP_PGT }}
json_params: ${{ inputs.json_params }}
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