ci: update tests
This commit is contained in:
parent
5ebf1920a9
commit
ae0a493e65
|
|
@ -28,5 +28,3 @@ Show at least the error, possible related output, maybe just all the output.
|
|||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -15,5 +15,3 @@ Why is this feature required?
|
|||
## Additional context
|
||||
|
||||
Add any other context about the feature request here.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -160,6 +160,8 @@
|
|||
dest: .semrelrc
|
||||
- source: go-semantic-release.yml
|
||||
dest: .github/workflows/go-semantic-release.yml
|
||||
- source: dependabot.yml
|
||||
dest: .github/dependabot.yml
|
||||
loop_control:
|
||||
label: "{{ item.source }}"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Amullholland+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
|
@ -57,7 +57,7 @@ image=centos tag=7 tox
|
|||
|
||||
### [5. Optionally: Regenerate all dynamic content](#5-optionally-regenerate-all-dynamic-content)
|
||||
|
||||
You can use [Ansible Generator](https://github.com/robertdebock/ansible-generator) to regenerate all dynamic content.
|
||||
You can use [Ansible Generator](https://github.com/mullholland/ansible-generator) to regenerate all dynamic content.
|
||||
|
||||
If you don't do it, I'll do it later for you.
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
# Set update schedule for GitHub Actions
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every weekday
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "mullholland"
|
||||
|
|
@ -4,6 +4,5 @@ A few roles to let CI try rendering files in different situations.
|
|||
|
||||
## Roles
|
||||
|
||||
- `ansible-role-default` - A default role, as generated by the [skeleton](https://github.com/robertdebock/ansible-role-skeleton) template.
|
||||
- `ansible-role-preferences` - Use `preferences.yml` to change behaviour.
|
||||
- `ansible-role-minimal` - A role that has the minimum amount of files.
|
||||
|
|
|
|||
|
|
@ -12,3 +12,9 @@ exclude_paths:
|
|||
- ./.cache
|
||||
- ./.github
|
||||
- ./requirements.yml
|
||||
|
||||
skip_list:
|
||||
- yaml[truthy]
|
||||
|
||||
enable_list:
|
||||
- name[prefix]
|
||||
|
|
|
|||
|
|
@ -28,5 +28,3 @@ Show at least the error, possible related output, maybe just all the output.
|
|||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -15,5 +15,3 @@ Why is this feature required?
|
|||
## Additional context
|
||||
|
||||
Add any other context about the feature request here.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
# Set update schedule for GitHub Actions
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every weekday
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "mullholland"
|
||||
|
|
@ -13,6 +13,6 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
uses: robertdebock/galaxy-action@1.2.1
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
name: Create a semantic release on push to main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
# If a 403 error occurs, make sure to set content permission to write
|
||||
# see: https://github.com/go-semantic-release/action/issues/27
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: go-semantic-release/action@v1
|
||||
id: semrel
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
changelog-generator-opt: "emojis=true"
|
||||
|
|
@ -11,7 +11,7 @@ on:
|
|||
- '*'
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '9 5 5 * *'
|
||||
- cron: '7 4 4 * *'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
@ -39,11 +39,11 @@ jobs:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -69,7 +69,8 @@ jobs:
|
|||
- name: parse apparmor for mysql
|
||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@5.0.2
|
||||
uses: robertdebock/molecule-action@5.0.3
|
||||
with:
|
||||
namespace: mullholland
|
||||
image: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: "robertdebock/github-action-molecule:5.0.0"
|
||||
image: "robertdebock/github-action-molecule:5.0.2"
|
||||
|
||||
variables:
|
||||
PY_COLORS: 1
|
||||
|
|
@ -22,11 +22,11 @@ molecule:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -45,6 +45,6 @@ molecule:
|
|||
|
||||
galaxy:
|
||||
script:
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} robertdebock ${CI_PROJECT_NAME}
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} mullholland ${CI_PROJECT_NAME}
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG != null
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"plugins": {
|
||||
"commit-analyzer": {
|
||||
"name": "default@^1.0.0"
|
||||
},
|
||||
"ci-condition": {
|
||||
"name": "default"
|
||||
},
|
||||
"changelog-generator": {
|
||||
"name": "default",
|
||||
"options": {
|
||||
"emojis": "true"
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"name": "github"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Amullholland+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
|
@ -15,13 +15,13 @@ Here is how you can help, a lot of steps are related to GitHub, not specifically
|
|||
|
||||
### [1. Make an issue.](#1-make-an-issue)
|
||||
|
||||
When you spot an issue, [create an issue](https://github.com/robertdebock/ansible-role-default/issues).
|
||||
When you spot an issue, [create an issue](https://github.com/mullholland/ansible-role-default/issues).
|
||||
|
||||
Making the issue help me and others to find similar problems in the future.
|
||||
|
||||
### [2. Fork the project.](#2-fork-the-project)
|
||||
|
||||
On the top right side of [the repository on GitHub](https://github.com/robertdebock/ansible-role-default), click `fork`. This copies everything to your GitHub namespace.
|
||||
On the top right side of [the repository on GitHub](https://github.com/mullholland/ansible-role-default), click `fork`. This copies everything to your GitHub namespace.
|
||||
|
||||
### [3. Make the changes](#3-make-the-changes)
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ image=centos tag=7 tox
|
|||
|
||||
### [5. Optionally: Regenerate all dynamic content](#5-optionally-regenerate-all-dynamic-content)
|
||||
|
||||
You can use [Ansible Generator](https://github.com/robertdebock/ansible-generator) to regenerate all dynamic content.
|
||||
You can use [Ansible Generator](https://github.com/mullholland/ansible-generator) to regenerate all dynamic content.
|
||||
|
||||
If you don't do it, I'll do it later for you.
|
||||
|
||||
|
|
@ -73,4 +73,4 @@ Now I'll get a message that you've added some code. Thank you, really.
|
|||
|
||||
CI starts to test your changes. You can follow the progress on Travis.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
Please consider [sponsoring me](https://github.com/sponsors/mullholland).
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2023 Robert de Bock (robert@meinit.nl)
|
||||
Copyright 2023 Mullholland (mullholland)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ driver:
|
|||
name: docker
|
||||
platforms:
|
||||
- name: "default-${image:-fedora}-${tag:-latest}${TOX_ENVNAME}"
|
||||
image: "${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}"
|
||||
image: "${namespace:-mullholland}/docker-${image:-fedora}-systemd:${tag:-latest}"
|
||||
command: /sbin/init
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
|
|
|
|||
|
|
@ -2,13 +2,14 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/preferences.yml
|
||||
- ./molecule/default/prepare.yml
|
||||
- ./molecule/default/converge.yml
|
||||
- ./molecule/default/verify.yml
|
||||
- ./molecule/default/collections.yml
|
||||
- ./.tox
|
||||
- ./.cache
|
||||
- ./.github
|
||||
- ./requirements.yml
|
||||
|
||||
skip_list:
|
||||
- yaml[truthy]
|
||||
|
||||
enable_list:
|
||||
- name[prefix]
|
||||
|
|
|
|||
|
|
@ -28,5 +28,3 @@ Show at least the error, possible related output, maybe just all the output.
|
|||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -15,5 +15,3 @@ Why is this feature required?
|
|||
## Additional context
|
||||
|
||||
Add any other context about the feature request here.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
# Set update schedule for GitHub Actions
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every weekday
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "mullholland"
|
||||
|
|
@ -13,6 +13,6 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
uses: robertdebock/galaxy-action@1.2.1
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
name: Create a semantic release on push to main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
# If a 403 error occurs, make sure to set content permission to write
|
||||
# see: https://github.com/go-semantic-release/action/issues/27
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: go-semantic-release/action@v1
|
||||
id: semrel
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
changelog-generator-opt: "emojis=true"
|
||||
|
|
@ -11,7 +11,7 @@ on:
|
|||
- '*'
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '9 5 5 * *'
|
||||
- cron: '25 13 13 * *'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
@ -39,11 +39,11 @@ jobs:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -69,7 +69,8 @@ jobs:
|
|||
- name: parse apparmor for mysql
|
||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@5.0.2
|
||||
uses: robertdebock/molecule-action@5.0.3
|
||||
with:
|
||||
namespace: mullholland
|
||||
image: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: "robertdebock/github-action-molecule:5.0.0"
|
||||
image: "robertdebock/github-action-molecule:5.0.2"
|
||||
|
||||
variables:
|
||||
PY_COLORS: 1
|
||||
|
|
@ -22,11 +22,11 @@ molecule:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -45,6 +45,6 @@ molecule:
|
|||
|
||||
galaxy:
|
||||
script:
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} robertdebock ${CI_PROJECT_NAME}
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} mullholland ${CI_PROJECT_NAME}
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG != null
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"plugins": {
|
||||
"commit-analyzer": {
|
||||
"name": "default@^1.0.0"
|
||||
},
|
||||
"ci-condition": {
|
||||
"name": "default"
|
||||
},
|
||||
"changelog-generator": {
|
||||
"name": "default",
|
||||
"options": {
|
||||
"emojis": "true"
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"name": "github"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Amullholland+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
|
@ -15,13 +15,13 @@ Here is how you can help, a lot of steps are related to GitHub, not specifically
|
|||
|
||||
### [1. Make an issue.](#1-make-an-issue)
|
||||
|
||||
When you spot an issue, [create an issue](https://github.com/robertdebock/ansible-role-minimal/issues).
|
||||
When you spot an issue, [create an issue](https://github.com/mullholland/ansible-role-minimal/issues).
|
||||
|
||||
Making the issue help me and others to find similar problems in the future.
|
||||
|
||||
### [2. Fork the project.](#2-fork-the-project)
|
||||
|
||||
On the top right side of [the repository on GitHub](https://github.com/robertdebock/ansible-role-minimal), click `fork`. This copies everything to your GitHub namespace.
|
||||
On the top right side of [the repository on GitHub](https://github.com/mullholland/ansible-role-minimal), click `fork`. This copies everything to your GitHub namespace.
|
||||
|
||||
### [3. Make the changes](#3-make-the-changes)
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ image=centos tag=7 tox
|
|||
|
||||
### [5. Optionally: Regenerate all dynamic content](#5-optionally-regenerate-all-dynamic-content)
|
||||
|
||||
You can use [Ansible Generator](https://github.com/robertdebock/ansible-generator) to regenerate all dynamic content.
|
||||
You can use [Ansible Generator](https://github.com/mullholland/ansible-generator) to regenerate all dynamic content.
|
||||
|
||||
If you don't do it, I'll do it later for you.
|
||||
|
||||
|
|
@ -73,4 +73,4 @@ Now I'll get a message that you've added some code. Thank you, really.
|
|||
|
||||
CI starts to test your changes. You can follow the progress on Travis.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
Please consider [sponsoring me](https://github.com/sponsors/mullholland).
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2023 Robert de Bock (robert@meinit.nl)
|
||||
Copyright 2023 Mullholland (mullholland)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ driver:
|
|||
name: docker
|
||||
platforms:
|
||||
- name: "minimal-${image:-fedora}-${tag:-latest}${TOX_ENVNAME}"
|
||||
image: "${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}"
|
||||
image: "${namespace:-mullholland}/docker-${image:-fedora}-systemd:${tag:-latest}"
|
||||
command: /sbin/init
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
|
|
@ -23,5 +23,3 @@ platforms:
|
|||
pre_build_image: yes
|
||||
provisioner:
|
||||
name: ansible
|
||||
verifier:
|
||||
name: ansible
|
||||
|
|
|
|||
|
|
@ -12,3 +12,9 @@ exclude_paths:
|
|||
- ./.cache
|
||||
- ./.github
|
||||
- ./requirements.yml
|
||||
|
||||
skip_list:
|
||||
- yaml[truthy]
|
||||
|
||||
enable_list:
|
||||
- name[prefix]
|
||||
|
|
|
|||
|
|
@ -28,5 +28,3 @@ Show at least the error, possible related output, maybe just all the output.
|
|||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -15,5 +15,3 @@ Why is this feature required?
|
|||
## Additional context
|
||||
|
||||
Add any other context about the feature request here.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
# Set update schedule for GitHub Actions
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every weekday
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "mullholland"
|
||||
|
|
@ -13,6 +13,6 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
uses: robertdebock/galaxy-action@1.2.1
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
name: Create a semantic release on push to main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
# If a 403 error occurs, make sure to set content permission to write
|
||||
# see: https://github.com/go-semantic-release/action/issues/27
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: go-semantic-release/action@v1
|
||||
id: semrel
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
changelog-generator-opt: "emojis=true"
|
||||
|
|
@ -11,7 +11,7 @@ on:
|
|||
- '*'
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '9 5 5 * *'
|
||||
- cron: '31 16 16 * *'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
@ -39,11 +39,11 @@ jobs:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -69,7 +69,10 @@ jobs:
|
|||
- name: parse apparmor for mysql
|
||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@5.0.2
|
||||
uses: robertdebock/molecule-action@5.0.3
|
||||
with:
|
||||
namespace: mullholland
|
||||
image: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
env:
|
||||
VAULT_LICENCE: ${{ secrets.VAULT_LICENSE }} someTHING: ${{ secrets.MY_VAR }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: "robertdebock/github-action-molecule:5.0.0"
|
||||
image: "robertdebock/github-action-molecule:5.0.2"
|
||||
|
||||
variables:
|
||||
PY_COLORS: 1
|
||||
|
|
@ -22,11 +22,11 @@ molecule:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -45,6 +45,6 @@ molecule:
|
|||
|
||||
galaxy:
|
||||
script:
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} robertdebock ${CI_PROJECT_NAME}
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} mullholland ${CI_PROJECT_NAME}
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG != null
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"plugins": {
|
||||
"commit-analyzer": {
|
||||
"name": "default@^1.0.0"
|
||||
},
|
||||
"ci-condition": {
|
||||
"name": "default"
|
||||
},
|
||||
"changelog-generator": {
|
||||
"name": "default",
|
||||
"options": {
|
||||
"emojis": "true"
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"name": "github"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Amullholland+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
|
@ -15,13 +15,13 @@ Here is how you can help, a lot of steps are related to GitHub, not specifically
|
|||
|
||||
### [1. Make an issue.](#1-make-an-issue)
|
||||
|
||||
When you spot an issue, [create an issue](https://github.com/robertdebock/ansible-role-preferences/issues).
|
||||
When you spot an issue, [create an issue](https://github.com/mullholland/ansible-role-preferences/issues).
|
||||
|
||||
Making the issue help me and others to find similar problems in the future.
|
||||
|
||||
### [2. Fork the project.](#2-fork-the-project)
|
||||
|
||||
On the top right side of [the repository on GitHub](https://github.com/robertdebock/ansible-role-preferences), click `fork`. This copies everything to your GitHub namespace.
|
||||
On the top right side of [the repository on GitHub](https://github.com/mullholland/ansible-role-preferences), click `fork`. This copies everything to your GitHub namespace.
|
||||
|
||||
### [3. Make the changes](#3-make-the-changes)
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ image=centos tag=7 tox
|
|||
|
||||
### [5. Optionally: Regenerate all dynamic content](#5-optionally-regenerate-all-dynamic-content)
|
||||
|
||||
You can use [Ansible Generator](https://github.com/robertdebock/ansible-generator) to regenerate all dynamic content.
|
||||
You can use [Ansible Generator](https://github.com/mullholland/ansible-generator) to regenerate all dynamic content.
|
||||
|
||||
If you don't do it, I'll do it later for you.
|
||||
|
||||
|
|
@ -73,4 +73,4 @@ Now I'll get a message that you've added some code. Thank you, really.
|
|||
|
||||
CI starts to test your changes. You can follow the progress on Travis.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
Please consider [sponsoring me](https://github.com/sponsors/mullholland).
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2023 Robert de Bock (robert@meinit.nl)
|
||||
Copyright 2023 Mullholland (mullholland)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ driver:
|
|||
name: docker
|
||||
platforms:
|
||||
- name: "preferences-${image:-fedora}-${tag:-latest}${TOX_ENVNAME}"
|
||||
image: "${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}"
|
||||
image: "${namespace:-mullholland}/docker-${image:-fedora}-systemd:${tag:-latest}"
|
||||
command: /sbin/init
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
|
|
@ -23,5 +23,8 @@ platforms:
|
|||
pre_build_image: yes
|
||||
provisioner:
|
||||
name: ansible
|
||||
env:
|
||||
VAULT_LICENCE: "${VAULT_LICENCE}"
|
||||
someTHING: "${someTHING}"
|
||||
verifier:
|
||||
name: ansible
|
||||
|
|
|
|||
|
|
@ -12,3 +12,9 @@ exclude_paths:
|
|||
- ./.cache
|
||||
- ./.github
|
||||
- ./requirements.yml
|
||||
|
||||
skip_list:
|
||||
- yaml[truthy]
|
||||
|
||||
enable_list:
|
||||
- name[prefix]
|
||||
|
|
|
|||
|
|
@ -28,5 +28,3 @@ Show at least the error, possible related output, maybe just all the output.
|
|||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -15,5 +15,3 @@ Why is this feature required?
|
|||
## Additional context
|
||||
|
||||
Add any other context about the feature request here.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
# Set update schedule for GitHub Actions
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every weekday
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "mullholland"
|
||||
|
|
@ -13,6 +13,6 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
uses: robertdebock/galaxy-action@1.2.1
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
||||
name: Create a semantic release on push to main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
# If a 403 error occurs, make sure to set content permission to write
|
||||
# see: https://github.com/go-semantic-release/action/issues/27
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: go-semantic-release/action@v1
|
||||
id: semrel
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
changelog-generator-opt: "emojis=true"
|
||||
|
|
@ -11,7 +11,7 @@ on:
|
|||
- '*'
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '9 5 5 * *'
|
||||
- cron: '43 22 22 * *'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
@ -39,11 +39,11 @@ jobs:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -69,7 +69,8 @@ jobs:
|
|||
- name: parse apparmor for mysql
|
||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@5.0.2
|
||||
uses: robertdebock/molecule-action@5.0.3
|
||||
with:
|
||||
namespace: mullholland
|
||||
image: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: "robertdebock/github-action-molecule:5.0.0"
|
||||
image: "robertdebock/github-action-molecule:5.0.2"
|
||||
|
||||
variables:
|
||||
PY_COLORS: 1
|
||||
|
|
@ -22,11 +22,11 @@ molecule:
|
|||
tag: "latest"
|
||||
- image: "debian"
|
||||
tag: "bookworm"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "7"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "8"
|
||||
- image: "enterpriselinux"
|
||||
- image: "centos"
|
||||
tag: "latest"
|
||||
- image: "fedora"
|
||||
tag: "36"
|
||||
|
|
@ -45,6 +45,6 @@ molecule:
|
|||
|
||||
galaxy:
|
||||
script:
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} robertdebock ${CI_PROJECT_NAME}
|
||||
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} mullholland ${CI_PROJECT_NAME}
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG != null
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"plugins": {
|
||||
"commit-analyzer": {
|
||||
"name": "default@^1.0.0"
|
||||
},
|
||||
"ci-condition": {
|
||||
"name": "default"
|
||||
},
|
||||
"changelog-generator": {
|
||||
"name": "default",
|
||||
"options": {
|
||||
"emojis": "true"
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"name": "github"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Amullholland+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
|
@ -15,13 +15,13 @@ Here is how you can help, a lot of steps are related to GitHub, not specifically
|
|||
|
||||
### [1. Make an issue.](#1-make-an-issue)
|
||||
|
||||
When you spot an issue, [create an issue](https://github.com/robertdebock/ansible-role-version/issues).
|
||||
When you spot an issue, [create an issue](https://github.com/mullholland/ansible-role-version/issues).
|
||||
|
||||
Making the issue help me and others to find similar problems in the future.
|
||||
|
||||
### [2. Fork the project.](#2-fork-the-project)
|
||||
|
||||
On the top right side of [the repository on GitHub](https://github.com/robertdebock/ansible-role-version), click `fork`. This copies everything to your GitHub namespace.
|
||||
On the top right side of [the repository on GitHub](https://github.com/mullholland/ansible-role-version), click `fork`. This copies everything to your GitHub namespace.
|
||||
|
||||
### [3. Make the changes](#3-make-the-changes)
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ image=centos tag=7 tox
|
|||
|
||||
### [5. Optionally: Regenerate all dynamic content](#5-optionally-regenerate-all-dynamic-content)
|
||||
|
||||
You can use [Ansible Generator](https://github.com/robertdebock/ansible-generator) to regenerate all dynamic content.
|
||||
You can use [Ansible Generator](https://github.com/mullholland/ansible-generator) to regenerate all dynamic content.
|
||||
|
||||
If you don't do it, I'll do it later for you.
|
||||
|
||||
|
|
@ -73,4 +73,4 @@ Now I'll get a message that you've added some code. Thank you, really.
|
|||
|
||||
CI starts to test your changes. You can follow the progress on Travis.
|
||||
|
||||
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
|
||||
Please consider [sponsoring me](https://github.com/sponsors/mullholland).
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2023 Robert de Bock (robert@meinit.nl)
|
||||
Copyright 2023 Mullholland (mullholland)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ driver:
|
|||
name: docker
|
||||
platforms:
|
||||
- name: "version-${image:-fedora}-${tag:-latest}${TOX_ENVNAME}"
|
||||
image: "${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}"
|
||||
image: "${namespace:-mullholland}/docker-${image:-fedora}-systemd:${tag:-latest}"
|
||||
command: /sbin/init
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ platform_image_mapping:
|
|||
Amazon: amazonlinux
|
||||
Archlinux: archlinux
|
||||
Debian: debian
|
||||
EL: enterpriselinux
|
||||
EL: centos
|
||||
Fedora: fedora
|
||||
opensuse: opensuse
|
||||
Ubuntu: ubuntu
|
||||
|
|
|
|||
Loading…
Reference in New Issue