generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): split TEST and PROD ETL jobs
- Loading branch information
1 parent
bcf02f8
commit 6d29483
Showing
2 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: ETL PROD | ||
|
||
on: | ||
schedule: [cron: "30 */2 * * *"] # Every other hour on the hour | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
etl-prod: | ||
environment: prod | ||
name: ETL (PROD) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: redhat-actions/openshift-tools-installer@v1 | ||
with: | ||
oc: "4" | ||
- name: Run ./sync/oc_run.sh | ||
run: ./sync/oc_run.sh prod ${{ secrets.oc_token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters