Skip to content

Commit 4004a2a

Browse files
Add manual release process (#866)
Co-authored-by: David Danielsson <djdanielsson@users.noreply.github.com>
1 parent 244bed7 commit 4004a2a

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/release_manual.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
# This workflow action will run pre-commit, which will execute ansible and yaml linting
3+
# See .pre-commit-config.yaml for what hooks are executed
4+
name: Release - Manual
5+
6+
on:
7+
workflow_dispatch:
8+
inputs:
9+
tagged_version:
10+
description: "The tagged version to run the release of"
11+
required: true
12+
13+
jobs:
14+
release:
15+
uses: "redhat-cop/ansible_collections_tooling/.github/workflows/release_pipeline_dual.yml@main"
16+
with:
17+
# Galaxy Publish
18+
collection_namespace_1: infra
19+
collection_name_1: controller_configuration
20+
publish_url_collection_1: https://galaxy.ansible.com/api/
21+
galaxy_publish_1: true
22+
ah_publish_1: false
23+
# CRC Publish
24+
collection_namespace_2: infra
25+
collection_name_2: controller_configuration
26+
publish_url_collection_2: https://cloud.redhat.com/api/automation-hub/
27+
galaxy_publish_2: false
28+
ah_publish_2: true
29+
collection_version: ${{ vars.tagged_version }}
30+
collection_repo: https://github.com/redhat-cop/controller_configuration/
31+
quay_username: redhat_cop
32+
collection_dependencies: awx.awx
33+
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.
34+
secrets:
35+
collection_api_key_1: ${{ secrets.GALAXY_INFRA_KEY }}
36+
collection_api_key_2: ${{ secrets.CRC_PUBLISH_KEY }}
37+
git_token: ${{ secrets.GITHUB_TOKEN }}
38+
quay_token: ${{ secrets.quay_token }}
39+
matrix_token: ${{ secrets.matrix_token }}
40+
...

0 commit comments

Comments
 (0)