Skip to content

Commit

Permalink
Adding new CI workflow to test the changes made in ansible#403
Browse files Browse the repository at this point in the history
  • Loading branch information
bmclaughlin committed Jun 6, 2024
1 parent 548c17e commit 1ef70a8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/files/dab_jwt.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import action_lib

env = action_lib.OCIEnvIntegrationTest(
envs=[
{
"env_file": "dab_jwt.compose.env",
"run_tests": False,
"db_restore": None,
}
]
)
14 changes: 14 additions & 0 deletions .github/workflows/ci_standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ jobs:
with:
galaxy_ng_version: ${{ matrix.galaxy_ng_version }}
gh_ref: ${{ github.event.pull_request.head.sha || github.sha }}
src_env_file: .github/files/ci.py
tgt_env_file: ./galaxy_ng/dev/oci_env_integration/actions/ci.py
secrets:
redhat_catalog_username: ${{ secrets.REDHAT_CATALOG_USERNAME }}
redhat_catalog_password: ${{ secrets.REDHAT_CATALOG_PASSWORD }}
ci_dab:
strategy:
fail-fast: false
uses: "./.github/workflows/ci_dab.yml"
with:
galaxy_ng_version: master
gh_ref: ${{ github.event.pull_request.head.sha || github.sha }}
src_env_file: .github/files/dab_jwt.py
target_env_file: ./galaxy_ng/dev/oci_env_integration/actions/dab_gwt.py
secrets:
redhat_catalog_username: ${{ secrets.REDHAT_CATALOG_USERNAME }}
redhat_catalog_password: ${{ secrets.REDHAT_CATALOG_PASSWORD }}
2 changes: 1 addition & 1 deletion .github/workflows/ci_standalone_versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
mkdir $OCI_ENV_PATH/db_backup/
- name: Move ci cfg to oci
run: mv .github/files/ci.py ./galaxy_ng/dev/oci_env_integration/actions/ci.py
run: mv ${{ inputs.src_env_file }} ${{ inputs.tgt_env_file }}

- name: Stand up galaxy_ng
working-directory: galaxy_ng
Expand Down
4 changes: 4 additions & 0 deletions changelogs/fragments/add_new_ci_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
minor_changes:
- Add new CI workflow to test Galaxy api prefix supplied from resource_provider (#403).
...

0 comments on commit 1ef70a8

Please sign in to comment.