1.1.0 • Published 10 months ago

@gliech/semantic-release-config-github-ansible-role v1.1.0

Weekly downloads
-
License
BSD-4-Clause
Repository
github
Last release
10 months ago

@gliech/semantic-release-config-github-ansible-role

Disclaimer: This configuration does not do much by itself and was mainly created so that I won't have to replace configurations in all of my repositories if I decide to change the way I do semantic versioning.

A shareable semantic-release config that publishes ansible roles to Ansible Galaxy. Requires the following environment variables to publish the role:

NameDescription
ANSIBLE_GALAXY_API_KEYAnsible Galaxy API key that can be found at https://galaxy.ansible.com/me/preferences
GITHUB_REPOSITORYName of the role repository on GitHub in the form of owner/repo (automatically set in GitHub Actions Workflows)

This shareable configuration uses @gliech/semantic-release-config-base, which serves as the source for most changes to the default options for plugins included here.

Usage

As this module and @gliech/semantic-release-config-base contain all necessary modules as dependencies, you only have to install this module itself.

In addition this repository provides a reusable GitHub Actions workflow that you can use in your .github/workflows.

---
on:
  push:
name: main
jobs:
  release:
    name: test & release
    uses:
      gliech/semantic-release-config-github-ansible-role/.github/workflows/test_release.yml@v1
    secrets:
      ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}

The reusable workflow also defines 3 optional inputs:

NameTypeDefaultDescription
semrel_config_versionstring"1.x"Can be used to pin the version of the npm module used
syntax_checksbooleantrueCan be used to disable the yamllint and ansible-lint checks done by the workflow
molecule_testbooleantrueCan be used to disable the molecule test done by the workflow

License

This project is licensed under the terms of the BSD 4-Clause License

1.1.0

10 months ago

1.1.0-alpha.7

10 months ago

1.1.0-alpha.1

10 months ago

1.1.0-alpha.2

10 months ago

1.1.0-alpha.5

10 months ago

1.1.0-alpha.6

10 months ago

1.1.0-alpha.3

10 months ago

1.1.0-alpha.4

10 months ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago