Skip to content

Commit

Permalink
Add missing input definitions (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmclaughlin authored Aug 8, 2024
1 parent 7598d09 commit 660aa94
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_dab_jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
galaxy_ng_version:
# - stable-4.10
- master
uses: "./.github/workflows/ci_dab_jwt_versioned.yml"
uses: ./.github/workflows/ci_dab_jwt_versioned.yml
with:
galaxy_ng_version: ${{ matrix.galaxy_ng_version }}
ci_workflow: "ci_dab_jwt"
ci_workflow: ci_dab_jwt
gh_ref: ${{ github.event.pull_request.head.sha || github.sha }}
secrets:
redhat_catalog_username: ${{ secrets.REDHAT_CATALOG_USERNAME }}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ci_dab_jwt_versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
description: The version to pull of galaxy_ng
required: true
type: string
ci_workflow:
description: The workflow name
required: true
type: string
gh_ref:
description: The ref in the repository to pull
required: false
Expand Down Expand Up @@ -84,10 +88,10 @@ jobs:
run: python3 dev/oci_env_integration/actions/ci_dab_jwt.py

- name: "Perform playbook collection tests"
run: ansible-playbook tests/playbooks/testing_collections_playbook.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e git_repo_name=${{ github.event.repository.name }} -e ci_workflow=ci_dab_jwt
run: ansible-playbook tests/playbooks/testing_collections_playbook.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e git_repo_name=${{ github.event.repository.name }} -e ci_workflow=${{ inputs.ci_workflow }}

- name: "Perform collection repository tests"
run: ansible-playbook tests/playbooks/testing_collections_repos.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e ci_workflow=ci_dab_jwt
run: ansible-playbook tests/playbooks/testing_collections_repos.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e ci_workflow=${{ inputs.ci_workflow }}

- name: "Perform playbook repository tests"
run: ansible-playbook tests/playbooks/testing_playbook_ee_repository.yml -vv -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e redhat_catalog_username=${{ secrets.redhat_catalog_username }} -e redhat_catalog_password=${{ secrets.redhat_catalog_password }}
run: ansible-playbook tests/playbooks/testing_playbook_ee_repository.yml -vv -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e redhat_catalog_username=${{ secrets.redhat_catalog_username }} -e redhat_catalog_password=${{ secrets.redhat_catalog_password }} -e ci_workflow=${{ inputs.ci_workflow }}
4 changes: 2 additions & 2 deletions .github/workflows/ci_standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- stable-4.8
- stable-4.9
- master
uses: "./.github/workflows/ci_standalone_versioned.yml"
uses: ./.github/workflows/ci_standalone_versioned.yml
with:
galaxy_ng_version: ${{ matrix.galaxy_ng_version }}
ci_workflow: "ci_standalone"
ci_workflow: ci_standalone
gh_ref: ${{ github.event.pull_request.head.sha || github.sha }}
secrets:
redhat_catalog_username: ${{ secrets.REDHAT_CATALOG_USERNAME }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/ci_standalone_versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
description: The version to pull of galaxy_ng
required: true
type: string
ci_workflow:
description: The workflow name
required: true
type: string
gh_ref:
description: The ref in the repository to pull
required: false
Expand Down Expand Up @@ -83,13 +87,13 @@ jobs:
run: python3 dev/oci_env_integration/actions/ci.py

- name: "Perform playbook user and group management tests"
run: ansible-playbook tests/playbooks/testing_playbook_user.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }}
run: ansible-playbook tests/playbooks/testing_playbook_user.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e ci_workflow=${{ inputs.ci_workflow }}

- name: "Perform playbook collection tests"
run: ansible-playbook tests/playbooks/testing_collections_playbook.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e git_repo_name=${{ github.event.repository.name }} -e ci_workflow=ci_standalone
run: ansible-playbook tests/playbooks/testing_collections_playbook.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e git_repo_name=${{ github.event.repository.name }} -e ci_workflow=${{ inputs.ci_workflow }}

- name: "Perform collection repository tests"
run: ansible-playbook tests/playbooks/testing_collections_repos.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }}
run: ansible-playbook tests/playbooks/testing_collections_repos.yml -v -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e ci_workflow=${{ inputs.ci_workflow }}

- name: "Perform playbook repository tests"
run: ansible-playbook tests/playbooks/testing_playbook_ee_repository.yml -vv -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e redhat_catalog_username=${{ secrets.redhat_catalog_username }} -e redhat_catalog_password=${{ secrets.redhat_catalog_password }}
run: ansible-playbook tests/playbooks/testing_playbook_ee_repository.yml -vv -e galaxy_ng_version=${{ inputs.galaxy_ng_version }} -e redhat_catalog_username=${{ secrets.redhat_catalog_username }} -e redhat_catalog_password=${{ secrets.redhat_catalog_password }} -e ci_workflow=${{ inputs.ci_workflow }}

0 comments on commit 660aa94

Please sign in to comment.