forked from ansible-collections/amazon.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
157 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: "Ansible GitHub Release" | ||
author: "Mark Chappell (tremble)" | ||
branding: | ||
icon: "git-branch" | ||
color: "gray-dark" | ||
description: "Publish GitHub releases from an action" | ||
|
||
inputs: | ||
release: | ||
description: "The release version to publish" | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ inputs.python }} | ||
|
||
- name: Prepare release environment | ||
run: | | ||
pip install rst-to-myst[sphinx] | ||
#pip install antsibull-changelog | ||
pip install git+https://github.com/felixfontein/antsibull-changelog.git@restrict | ||
shell: bash | ||
|
||
- name: Checkout current ref | ||
uses: actions/checkout@master | ||
with: | ||
ref: ${{ github.ref }} | ||
|
||
- name: Generate release log (RST) | ||
run: | | ||
antsibull-changelog generate -vvv --output changelog-release.rst --only-latest "${INPUT_RELEASE}" | ||
shell: bash | ||
env: | ||
INPUT_RELEASE: ${{ inputs.release }} | ||
|
||
- name: Upload RST release log | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: changelog-log-rst | ||
path: changelog-release.rst | ||
|
||
- name: Convert release log (MD) | ||
run: | | ||
rst2myst convert changelog-release.rst | ||
sed -i 's/^#/###/' changelog-release.md | ||
shell: bash | ||
|
||
- name: Upload MD release log | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: changelog-log-md | ||
path: changelog-release.md |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Generate GitHub Release | ||
concurrency: | ||
group: release-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
generate-release-log: | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate Release Log | ||
uses: tremble/amazon.aws/.github/actions/ansible_release_log@main | ||
#uses: ansible-collections/amazon.aws/.github/actions/ansible_release_log.yml@main | ||
with: | ||
release: ${{ github.ref_name }} |
This file contains 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 file contains 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 file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
changelogs/fragments/1631-route53_health_check-added-calculcated.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
changelogs/fragments/1685-ssm_parameter-update-examples-to-use-fqcn.yml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
changelogs/fragments/20230612-s3_object-support-copy-objects-recursively.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
changelogs/fragments/ec2_instance_info-support-new-attribute.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.