Skip to content

Commit

Permalink
Merge branch 'main' into feat/1627-final-cypress-test-class-a-seedlot…
Browse files Browse the repository at this point in the history
…-registration
  • Loading branch information
ngunner15 authored Oct 18, 2024
2 parents 1222a9d + 72cca59 commit 914a360
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/codeowners
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Matched against repo root (asterisk)
* @RMCampos @mgaseta @Ding-x @DerekRoberts @SLDonnelly
* @xiaopeng0202 @mgaseta @DerekRoberts @SLDonnelly

# Matched against directories
/sync/ @ronrobb
/sync/ @franTarkenton

# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
22 changes: 22 additions & 0 deletions .github/workflows/etl-prod.yml
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 }}
20 changes: 4 additions & 16 deletions .github/workflows/job-sync.yml → .github/workflows/etl-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ETL Sync
name: ETL TEST

on:
schedule: [cron: "0 */2 * * *"] # Every other hour on the hour
Expand All @@ -9,26 +9,14 @@ concurrency:
cancel-in-progress: false

jobs:
sync-test:
etl-test:
environment: test
name: Sync (TEST)
name: ETL (TEST)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"
- name: ETL (TEST)
- name: Run ./sync/oc_run.sh
run: ./sync/oc_run.sh test ${{ secrets.oc_token }}

sync-prod:
environment: prod
name: Sync (PROD)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4"
- name: ETL (PROD)
run: ./sync/oc_run.sh prod ${{ secrets.oc_token }}

0 comments on commit 914a360

Please sign in to comment.