Release - Automated #5
This file contains hidden or 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
| --- | |
| # This workflow action will run pre-commit, which will execute ansible and yaml linting | |
| # See .pre-commit-config.yaml for what hooks are executed | |
| name: Release - Automated | |
| on: | |
| schedule: | |
| - cron: "0 0 1,15 * *" | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| name: Release Collection to galaxy/AH | |
| uses: "redhat-cop/ansible_collections_tooling/.github/workflows/release_pipeline_dual_crc.yml@main" | |
| with: | |
| # Galaxy Publish | |
| collection_namespace_1: infra | |
| collection_name_1: aap_configuration | |
| publish_url_collection_1: https://galaxy.ansible.com/api/ | |
| galaxy_publish_1: true | |
| ah_publish_1: false | |
| # CRC Publish | |
| collection_namespace_2: infra | |
| collection_name_2: aap_configuration | |
| publish_url_collection_2: https://cloud.redhat.com/api/automation-hub/ | |
| galaxy_publish_2: false | |
| ah_publish_2: true | |
| collection_repo: https://github.com/redhat-cop/aap_configuration/ | |
| quay_username: redhat_cop | |
| collection_dependencies: ansible.controller ansible.platform ansible.eda ansible.hub | |
| matrix_message: This Ansible collection allows for easy interaction with Ansible Automation Platform via Ansible roles using the supported collections modules. | |
| secrets: | |
| collection_api_key_1: ${{ secrets.GALAXY_INFRA_KEY }} | |
| collection_api_key_2: ${{ secrets.CRC_PUBLISH_KEY }} | |
| git_token: ${{ secrets.GH_WORKFLOW_KEY }} | |
| quay_token: ${{ secrets.quay_token }} | |
| matrix_token: ${{ secrets.matrix_token }} | |
| ... |