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

run as UTC

parent 5046d87b
No related branches found
No related tags found
1 merge request!109run as UTC
name: data update checker v3
on:
workflow_dispatch:
schedule:
- cron: '*/15 6-10,18-22 * * *'
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: eis-feds-dask-coordinator-v3
github_ref: 1.0.0
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"}'
#!/bin/bash #!/bin/bash
# set -euxo pipefail # set -euxo pipefail
set -eo pipefail set -eo pipefail
export TZ="Etc/UTC"
mkdir output mkdir output
basedir=$( cd "$(dirname "$0")"; pwd -P ) basedir=$( cd "$(dirname "$0")"; pwd -P )
echo "Basedir: $basedir" echo "Basedir: $basedir"
......
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