Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fireatlas_nrt
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gcorradini
fireatlas_nrt
Commits
9f3730c1
Commit
9f3730c1
authored
1 year ago
by
gcorradini
Browse files
Options
Downloads
Plain Diff
Merge branch 'gc/revise_gh_action_final' into 'conus-dps'
modifed action See merge request
!84
parents
eda596cd
4dc7f708
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!84
modifed action
Pipeline
#13507
passed with stage
in 6 seconds
Changes
2
Pipelines
120
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/schedule-data-update.yaml
+22
-6
22 additions, 6 deletions
.github/workflows/schedule-data-update.yaml
.github/workflows/scheduled/data-update.yaml
+0
-35
0 additions, 35 deletions
.github/workflows/scheduled/data-update.yaml
with
22 additions
and
41 deletions
.github/workflows/schedule-data-update.yaml
+
22
−
6
View file @
9f3730c1
name
:
data update checker
on
:
workflow_dispatch
:
schedule
:
-
cron
:
'
0
*/4
*
*
*'
workflow_dispatch
:
jobs
:
data_update_checker
:
if
:
contains('["ranchodeluxe"]', github.actor)
runs-on
:
ubuntu-latest
environment
:
production
steps
:
-
name
:
C
heckout repository
-
name
:
c
heckout repository
uses
:
actions/checkout@v2
with
:
ref
:
gc/github_actions
ref
:
primarykeyv2
-
name
:
pip install fireatlas
run
:
|
pip install -e '.[test]'
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 job
-
name
:
kick off the
DPS
job
run
:
|
docker run \
--env MAAP_PGT=${MAAP_PGT} \
--env MAAP_PGT=${
{ secrets.
MAAP_PGT
}
} \
--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 \
...
...
@@ -33,3 +47,5 @@ jobs:
maap-dps-eis-worker-64gb \
ubuntu \
--params '{"regnm": "", "bbox": "[]", "tst": "[]", "ted": "[]", "operation": "--data-update"}'
This diff is collapsed.
Click to expand it.
.github/workflows/scheduled/data-update.yaml
deleted
100644 → 0
+
0
−
35
View file @
eda596cd
name
:
data update checker
on
:
schedule
:
-
cron
:
'
0
*/4
*
*
*'
workflow_dispatch
:
jobs
:
data_update_checker
:
if
:
contains('["ranchodeluxe"]', github.actor)
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
with
:
ref
:
gc/github_actions
-
name
:
pip install fireatlas
run
:
|
pip install -e '.[test]'
-
name
:
kick off the job
run
:
|
docker run \
--env MAAP_PGT=${MAAP_PGT} \
--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 \
/opt/conda/envs/vanilla/bin/python maap_runtime/submit-dps-job.py \
eis-feds-dask-coordinator-v3 \
1.0.0 \
gcorradini \
maap-dps-eis-worker-64gb \
ubuntu \
--params '{"regnm": "", "bbox": "[]", "tst": "[]", "ted": "[]", "operation": "--data-update"}'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment