Sergei Petrosian
1a7d995b96
ci: Add pull request template and run commitlint on PR title only
...
We now ensure the conventional commits format only on PR titles and not
on
commits to let developers keep commit messages targeted for other
developers
i.e. describe actual changes to code that users should not care about.
And PR titles, on the contrary, must be aimed at end users.
For more info, see
https://linux-system-roles.github.io/contribute.html#write-a-good-pr-title-and-description
2023-06-15 11:33:51 +02:00
Matt Willsher
4c629407d7
Merge pull request #233 from richm/firewall-platform-support
2023-04-27 08:33:54 +01:00
Rich Megginson
a2921b9dc1
test: skip selinux or firewall role test where not supported
...
Do not test with selinux or firewall if the platform does not support
those roles.
2023-04-26 16:11:18 -06:00
Sergei Petrosian
3f17eeaf61
ci: Add commitlint GitHub action to ensure conventional commits
...
linux-system-roles move to using the conventional commits format to
automate collecting changelog and release notes, and automate
identifying version of releases.
For more information, see
- General conventional commits specs in
https://www.conventionalcommits.org/en/v1.0.0/ ,
- Conventional Commits format in system roles' Contribute
https://linux-system-roles.github.io/contribute.html#conventional-commits-format
2023-04-26 12:05:04 +02:00
Jakub Jelen
2e3e4a29b5
ci: Drop testing on Debian stretch (9)
...
This version is EOL since last year and various failures happen.
Fixes : #228
2023-04-26 10:09:06 +02:00
Richard Megginson
6ede6a2c7b
Merge pull request #225 from willshersystems/dependabot/github_actions/mathieudutour/github-tag-action-6.1
...
Bump mathieudutour/github-tag-action from 6.0 to 6.1
2023-04-14 07:33:24 -06:00
dependabot[bot]
c165ae5c61
Bump mathieudutour/github-tag-action from 6.0 to 6.1
...
Bumps [mathieudutour/github-tag-action](https://github.com/mathieudutour/github-tag-action ) from 6.0 to 6.1.
- [Release notes](https://github.com/mathieudutour/github-tag-action/releases )
- [Commits](https://github.com/mathieudutour/github-tag-action/compare/v6.0...v6.1 )
---
updated-dependencies:
- dependency-name: mathieudutour/github-tag-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 15:35:48 +00:00
dependabot[bot]
54466f823e
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 15:35:44 +00:00
Rich Megginson
95bbdf3e4f
more github action fixes
2023-04-10 15:07:38 -06:00
Rich Megginson
53e649f227
fix github action
2023-04-10 14:48:29 -06:00
Noriko Hosoi
bcc3c75c19
Add check for non-inclusive language
...
Add a check for usage of terms and language that is considered
non-inclusive. We are using the woke tool for this with a wordlist
that can be found at
https://github.com/linux-system-roles/tox-lsr/blob/main/src/tox_lsr/config_files/woke.yml
Signed-off-by: Noriko Hosoi <nhosoi@redhat.com>
2023-01-17 09:36:43 +01:00
Jakub Jelen
54b39a2de1
Run CI also on Alpine
2023-01-16 15:10:28 +01:00
Rich Megginson
e35e56e8f0
keep v prefix in version/tag
...
Keep the `v` prefix in the version/tag
2022-09-07 07:09:14 -06:00
Nikolaos Kakouros
6bb0d7b456
tMakes drop-in functionality configurable by the user
2022-08-26 20:23:51 +00:00
Nikolaos Kakouros
735afa580c
Address comment
2022-08-23 15:18:41 +02:00
Nikolaos Kakouros
221a801260
Adds workaround for CentOS6
2022-08-23 15:18:41 +02:00
Richard Megginson
c1e41b5b1a
remove galaxy publish
...
remove the publish-to-galaxy task
2022-08-20 09:54:49 -06:00
Rich Megginson
91b97deb1c
parse [vX.Y.Z] correctly from CHANGELOG.md
2022-08-18 07:26:09 -06:00
Noriko Hosoi
65fe227276
Add changelog_to_tag.yml to .github/workflows
...
Description:
When a new changelog section is added to CHANGELOG.md and pushed,
changelog_to_tag.yml is triggered, which generates a new tag and
a new release.
Example of CHANGELOG.md changes:
[v9.9.9] - 2022-12-31
--------------------
### New features
- New feature A
### Bug fixes
- Bug fix B
Using this example, when the commit on CHANGELOG.md is pushed, a
new tag "v9.9.9" is added and Version v9.9.9 is released in github.
If tag "v9.9.9" already exists, the CHANGELOG.md push fails.
Signed-off-by: Noriko Hosoi <nhosoi@redhat.com>
2022-07-21 13:48:50 -07:00
Matt Willsher
54e5b69d55
Fix various linting issues
2022-06-05 09:18:15 +01:00
Matt Willsher
57c46b6587
Fix various linting issues
2022-06-05 09:00:47 +01:00
Matt Willsher
477daa032f
Fix various linting issues
2022-06-05 08:57:58 +01:00
Jakub Jelen
19cf7e9a3c
CI: Revert back to upstream roles after the git issues are fixed
2022-05-19 09:49:42 +02:00
Jakub Jelen
753073f4d6
ci: Use the same workaround for unsafe directory in Fedora
2022-05-10 16:48:22 +02:00
Jakub Jelen
051f5666b2
Test solution for unsafe dir on latest ubuntu
...
https://github.com/roles-ansible/check-ansible-ubuntu-latest-action/pull/2
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2022-05-10 16:48:22 +02:00
Jakub Jelen
fe69a54f4e
CI: Add older Ubuntu versions to CI too
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2022-05-10 16:48:22 +02:00
Jakub Jelen
2ba5bfee85
CI: Workaround for CentOS 6
2022-04-19 17:20:27 +02:00
Jakub Jelen
4b6332aaae
CI: Unbreak the ansible-lint action
2022-04-19 17:20:27 +02:00
Jakub Jelen
afcefb6442
CI: Squash Debian targets into single file and remove the :latest
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2022-04-19 17:20:27 +02:00
Jakub Jelen
2d7009c59a
CI: Squash CentOS actions into signle file
...
* add CentOS 9
* use better tasks names
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2022-04-19 17:20:27 +02:00
Jakub Jelen
214df35c0b
Do not try to execute requirements as a playbooks in CI
2021-11-16 15:05:22 +01:00
Matt Willsher
b1fe667432
Merge pull request #164 from spetrosi/drop-ansible-2.8
...
Drop support for Ansible 2.8 by bumping the Ansible version to 2.9
2021-08-18 04:40:59 +01:00
Dominik Rimpf
c6b89726ea
FIX: syntax
2021-08-17 15:26:43 +02:00
L3D
00df9a1855
the bullseye check is using the "main" branch
...
The https://github.com/marketplace/actions/check-ansible-debian-bullseye is available at the "main" branch.
2021-08-17 15:26:43 +02:00
Dominik Rimpf
6b1b328de3
ADD: doc bullseye support & github workflow on bullseye
2021-08-17 15:26:43 +02:00
Jakub Jelen
d9e1934a83
Add CentOS 6 to CI
2021-08-09 10:09:34 +02:00
Sergei Petrosian
5039e29910
Drop support for Ansible 2.8 by bumping the Ansible version to 2.9
...
Bug 1989197 - drop support for Ansible 2.8
https://bugzilla.redhat.com/show_bug.cgi?id=1989197
2021-08-06 10:01:31 +02:00
Noriko Hosoi
6887864d2c
Fix issues found by linters - enable all tests on all repos - remove suppressions
...
Cleaning up yamllint errors.
- Use .yamllint.yml and .yamllint_defaults.yml instead of
.yamllint.yaml.
- Fix the invalid indentations.
Cleaning up ansible-lint errors.
- Add "name" to every task.
- Use command rather than shell
- Add "changed_when: false".
- Use '|' instead of '>' for the shell module.
- Fix '/bin/sh: line 3: CRYPTO_POLICY: unbound variable'.
- Add "set -eu" and "set -o pipefail" if pipefail is available.
Note: "pipefail" is not available in "sh" and "dash".
- Add "- '306' # Shells that use pipes should set the pipefail option"
to .ansible-lint since ansible-lint does not recognize it if it's set
in "if set -o | grep pipefail".
RHELPLAN-73804
2021-04-09 10:27:42 -07:00
Jakub Jelen
a15ad61af5
Add Ubuntu and Debian test using Github Actions
2020-12-11 13:25:19 +01:00
Jakub Jelen
e000df3dd2
ci: Run tests using github actions on different OS
...
The Debian and Ubuntu fails sshd in test mode, because
it is missing the privilege separation directory
/run/sshd in container.
2020-11-16 11:20:56 +01:00
Matt Willsher
5841136488
Remove extra blank line
2020-09-23 21:42:00 +01:00
Matt Willsher
bd6efc7fd3
Merge branch 'master' into disable-broken-ansible-lint-actions
2020-09-23 21:29:44 +01:00
Matt Willsher
9c2b81ff4d
Disable broken ansible-lint-actions
...
Ansible lint actions are currently broken for overrides of the Ansible version. Disable until fixed.
2020-09-23 21:28:29 +01:00
Matt Willsher
12e8b0aebc
Merge branch 'master' into cleanup
2020-09-23 21:25:10 +01:00
Jakub Jelen
9e7eae712d
Reformat yaml files to avoid wrong indentation, trailing spaces and long lines
2020-09-23 14:49:42 +02:00
Jakub Jelen
9b3e83b853
Move the basic test to test_default
2020-09-23 14:16:24 +02:00
Matt Willsher
d84bc14fdd
Remove test for Ansible 2.7
...
Ansible 2.7 is no longer maintained and ansible-lint requires >=2.8
2020-09-18 21:35:10 +01:00
ahmadali shafiee
02c04f3052
test on ansible 2.7 to 2.10
2020-04-04 07:41:01 +00:00
ahmadali shafiee
6515f182fe
cleaning
2020-03-29 13:56:24 +00:00
ahmadali shafiee
a6e30dec3b
add lint option
2020-03-29 13:44:28 +00:00