Skip to content

Commit

Permalink
Add changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tompage1994 committed Sep 3, 2020
1 parent 78b5c55 commit fc4758d
Show file tree
Hide file tree
Showing 10 changed files with 125 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflow-config/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
src: "{{ repo_base_dir }}/galaxy.yml.j2"
dest: "{{ repo_base_dir }}/galaxy.yml"

- name: Update changelog
command:
cmd: antsibull-changelog release --version {{ collection_version }}
chdir: "{{ repo_base_dir }}"

- name: build collection
command:
cmd: ansible-galaxy collection build
Expand All @@ -36,6 +41,11 @@
chdir: "{{ repo_base_dir }}"
tags: publish

- name: push changelogs to devel
command:
cmd: "git checkout devel && git add changelogs CHANGELOG.rst && git commit -m 'add changelog {{ collection_version }}' && git push"
chdir: "{{ repo_base_dir }}"

- name: git cleanup
command:
cmd: git reset --hard
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/galaxy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install ansible-base
run: pip install ansible
- name: Install ansible-base and changelog
run: pip install ansible antsibull-changelog

- name: Publish to galaxy
run: ansible-playbook .github/workflow-config/release.yml
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
=============================================================
redhat_cop.tower_configuration Release Notes
=============================================================

.. contents:: Topics


v0.1.0
======

Major Changes
-------------

- Groups role - Added groups role to the collection
- Labels role - Added labels role to the collection
- Notifications role - Added many options to notifications role
- Workflow Job Templates role - Added many options to WJT role

Minor Changes
-------------

- GitHub Workflows - Added workflows to run automated linting and integration tests against the codebase
- Hosts role - Added new_name and enabled options to hosts role
- Housekeeping - Added CONTRIBUTING guide and pull request template
- Inventory Sources role - Added notification_templates_started, success, and error options. Also added verbosity and source_regions options.
- Teams role - Added new_name option to teams role
- Test Configs - Added full range of test objects for integration testing

Bugfixes
--------

- Fixed an issue where tower_validate_certs and validate_certs were both used as vars. Now changed to tower_validate_certs
15 changes: 15 additions & 0 deletions changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
plugins:
become: {}
cache: {}
callback: {}
cliconf: {}
connection: {}
httpapi: {}
inventory: {}
lookup: {}
module: {}
netconf: {}
shell: {}
strategy: {}
vars: {}
version: 0.1.0
26 changes: 26 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ancestor: null
releases:
0.1.0:
changes:
bugfixes:
- Fixed an issue where tower_validate_certs and validate_certs were both used
as vars. Now changed to tower_validate_certs
major_changes:
- Groups role - Added groups role to the collection
- Labels role - Added labels role to the collection
- Notifications role - Added many options to notifications role
- Workflow Job Templates role - Added many options to WJT role
minor_changes:
- GitHub Workflows - Added workflows to run automated linting and integration
tests against the codebase
- Hosts role - Added new_name and enabled options to hosts role
- Housekeeping - Added CONTRIBUTING guide and pull request template
- Inventory Sources role - Added notification_templates_started, success, and
error options. Also added verbosity and source_regions options.
- Teams role - Added new_name option to teams role
- Test Configs - Added full range of test objects for integration testing
fragments:
- housekeeping.yaml
- new_roles.yaml
- workflows.yaml
release_date: '2020-08-04'
32 changes: 32 additions & 0 deletions changelogs/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
changelog_filename_template: ../CHANGELOG.rst
changelog_filename_version_depth: 0
changes_file: changelog.yaml
changes_format: combined
ignore_other_fragment_extensions: true
keep_fragments: false
mention_ancestor: true
new_plugins_after_name: removed_features
notesdir: fragments
prelude_section_name: release_summary
prelude_section_title: Release Summary
sanitize_changelog: true
sections:
- - major_changes
- Major Changes
- - minor_changes
- Minor Changes
- - breaking_changes
- Breaking Changes / Porting Guide
- - deprecated_features
- Deprecated Features
- - removed_features
- Removed Features (previously deprecated)
- - security_fixes
- Security Fixes
- - bugfixes
- Bugfixes
- - known_issues
- Known Issues
title: Redhat_Cop.Tower_Configuration
trivial_section_name: trivial
use_fqcn: true
Empty file added changelogs/fragments/.gitkeep
Empty file.
2 changes: 2 additions & 0 deletions changelogs/fragments/72-defaults.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Removed defaulted objects for all roles so that they were not always run if using a conditional against the variable. (see https://github.com/redhat-cop/tower_configuration/issues/68)
2 changes: 2 additions & 0 deletions changelogs/fragments/73-readmes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- Standardised and corrected all READMEs
2 changes: 2 additions & 0 deletions changelogs/fragments/77-pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- Added pre-commit hook for local development and automated testing purposes

0 comments on commit fc4758d

Please sign in to comment.