From db46f01aa7bb98b8fb15df8986cc338a39b85417 Mon Sep 17 00:00:00 2001 From: Aimee Barciauskas Date: Mon, 29 Jan 2024 14:14:59 -0800 Subject: [PATCH 1/2] Update README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 979c1a6..bea9f2c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,14 @@ After getting invited to this private repo you can do the following: default: '1' ``` -4. Fire off a `curl` command to Github. Replace `` with the one you created in step one above. And replace `` with the one you created in step two above: +4. Trigger your workflow + + 1. **Option 1:** Head to [GH Action tab](https://github.com/NASA-IMPACT/veda-pforge-job-runner/actions). Select the job you want to run from the left hand navigation under "Actions". The current name is "dispatch job". Since the dispatch job workflow has a workflow_dispatch trigger, you can select "Run workflow" and input suitable options. + + + Screenshot 2024-01-29 at 12 29 04 PM + + 2. **Option 2:** Fire off a `curl` command to Github. Replace `` with the one you created in step one above. And replace `` with the one you created in step two above: ```bash curl -X POST \ @@ -69,9 +76,9 @@ After getting invited to this private repo you can do the following: -d '{"ref":"main", "inputs":{"repo":"https://github.com/pforgetest/gpcp-from-gcs-feedstock.git","ref":"0.10.3","prune":"1"}}' ``` -5. Head to this repository's [GH Action tab](https://github.com/NASA-IMPACT/veda-pforge-job-runner/actions) +6. Head to this repository's [GH Action tab](https://github.com/NASA-IMPACT/veda-pforge-job-runner/actions) -6. If multiple jobs are running you can get help finding your job using the "Actor" filter +7. If multiple jobs are running you can get help finding your job using the "Actor" filter ![](docs/img/xfilter_job.png) @@ -84,4 +91,4 @@ After getting invited to this private repo you can do the following: ![](docs/img/xmonitor_job.png) -9. Continue to come back to the "monitor" subjob to see if it passes or fails. In the future there will be some mild heuristics in place that should tell you why it fails based on what it sniffs in the logs. For now it sniffs for the correct job status within a time limit of two hours \ No newline at end of file +9. Continue to come back to the "monitor" subjob to see if it passes or fails. In the future there will be some mild heuristics in place that should tell you why it fails based on what it sniffs in the logs. For now it sniffs for the correct job status within a time limit of two hours From 4799745d0a2af2a8588465bf4bc21e3fc57e5b94 Mon Sep 17 00:00:00 2001 From: Aimee Barciauskas Date: Mon, 29 Jan 2024 14:17:17 -0800 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index bea9f2c..b891f61 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,7 @@ After getting invited to this private repo you can do the following: 4. Trigger your workflow - 1. **Option 1:** Head to [GH Action tab](https://github.com/NASA-IMPACT/veda-pforge-job-runner/actions). Select the job you want to run from the left hand navigation under "Actions". The current name is "dispatch job". Since the dispatch job workflow has a workflow_dispatch trigger, you can select "Run workflow" and input suitable options. - + 1. **Option 1:** Head to [GH Action tab](https://github.com/NASA-IMPACT/veda-pforge-job-runner/actions). Select the job you want to run from the left-hand navigation, under "Actions". The current job name is "dispatch job". Since the "dispatch job" workflow has a `workflow_dispatch` trigger, you can select "Run workflow" and use the form to input suitable options. Screenshot 2024-01-29 at 12 29 04 PM