forked from redhat-cop/infra.aap_configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (50 loc) · 1.72 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
# 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
on:
release:
types:
- published
jobs:
ci_standalone:
strategy:
fail-fast: false
matrix:
awx_version:
- devel
- 24.2.0
- 23.9.0
- 22.7.0
uses: "./.github/workflows/ci_standalone_versioned.yml"
with:
awx_version: ${{ matrix.awx_version }}
release:
needs:
- ci_standalone
uses: "redhat-cop/ansible_collections_tooling/.github/workflows/release_pipeline_dual.yml@main"
with:
# Galaxy Publish
collection_namespace_1: infra
collection_name_1: controller_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: controller_configuration
publish_url_collection_2: https://cloud.redhat.com/api/automation-hub/
galaxy_publish_2: false
ah_publish_2: true
collection_version: ${{ github.ref_name }}
collection_repo: https://github.com/redhat-cop/aap_configuration/
quay_username: redhat_cop
collection_dependencies: awx.awx
matrix_message: This Ansible collection allows for easy interaction with an AWX or Ansible Controller server via Ansible roles using the AWX/Controller collection 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 }}
...