Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add manual release process #866

Merged
merged 3 commits into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/release_manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# 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 - Manual

on:
workflow_dispatch:
inputs:
tagged_version:
description: "The tagged version to run the release of"
required: true

jobs:
release:
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: ${{ vars.tagged_version }}
collection_repo: https://github.com/redhat-cop/controller_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.GITHUB_TOKEN }}
quay_token: ${{ secrets.quay_token }}
matrix_token: ${{ secrets.matrix_token }}
...
Loading