forked from ansible/galaxy_collection
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1.26 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
---
# 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:
galaxy_ng_version:
- stable-4.4
- stable-4.5
- stable-4.6
- stable-4.7
- master
# - master disabled until build issue resolved
uses: "./.github/workflows/ci_standalone_versioned.yml"
with:
galaxy_ng_version: ${{ matrix.galaxy_ng_version }}
secrets:
redhat_catalog_username: ${{ secrets.REDHAT_CATALOG_USERNAME }}
redhat_catalog_password: ${{ secrets.REDHAT_CATALOG_PASSWORD }}
release:
needs:
- ci_standalone
uses: "redhat-cop/ansible_collections_tooling/.github/workflows/release_pipeline_single.yml@main"
with:
collection_namespace: infra
collection_name: ah_configuration
collection_version: ${{ github.ref_name }}
collection_repo: https://github.com/ansible/galaxy_collection
quay_username: redhat_cop
secrets:
galaxy_api_key: ${{ secrets.GALAXY_INFRA_KEY }}
token: ${{ secrets.GITHUB_TOKEN }}
quay_token: ${{ secrets.quay_token }}
...