Skip to content

Commit d6ee079

Browse files
committed
Merge remote-tracking branch 'origin/init'
2 parents ccb5d00 + 27229c8 commit d6ee079

26 files changed

+597
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report_md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: "\U0001F41B Bug Report"
3+
about: "If something isn't working as expected \U0001F914."
4+
title: ''
5+
labels: bug
6+
7+
---
8+
9+
<!---
10+
Hi there,
11+
12+
Thank you for opening an issue.
13+
--->
14+
15+
16+
### Used Release
17+
18+
19+
### Debug Output
20+
<!--Please provider a link to a GitHub Gist containing the complete debug output. Please do NOT paste the debug output in the issue; just paste a link to the Gist. And Please check the Debug Output for any Plain Text Credentials.-->
21+
22+
### Panic Output
23+
<!--If produced a panic, please provide a link to a GitHub Gist containing the output of the `crash.log`.-->
24+
25+
### Expected Behavior
26+
What should have happened?
27+
28+
### Actual Behavior
29+
What actually happened?
30+
31+
### Steps to Reproduce
32+
<!-- Please list the steps required to reproduce the issue, for example: -->
33+
34+
### Important Factoids
35+
<!-- Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?-->
36+
37+
### References
38+
<!--Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
39+
- GH-1234
40+
-->
41+
42+
### Community Note
43+
<!--- Please keep this note for the community --->
44+
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
45+
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

.github/ISSUE_TEMPLATE/config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
blank_issues_enabled: false
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: "\U0001F680 Feature Request"
3+
about: "I have a suggestion (and might want to implement myself \U0001F642)!"
4+
title: ''
5+
labels: enhancement
6+
7+
---
8+
9+
10+
### Description
11+
12+
<!--- Please leave a helpful description of the feature request here. --->
13+
14+
### Potential Configuration
15+
16+
<!--- Information about code formatting: https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code --->
17+
18+
```hcl
19+
# Copy-paste your configurations here.
20+
```
21+
22+
### References
23+
24+
<!---
25+
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
26+
27+
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor blog posts or documentation?
28+
--->
29+
30+
<!--- Please keep this note for the community --->
31+
32+
### Community Note
33+
34+
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
35+
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
36+
37+
<!--- Thank you for keeping this note for the community --->

.github/dependabot.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
8+
- package-ecosystem: "pip"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
12+
13+
- package-ecosystem: "gitsubmodule"
14+
directory: "/"
15+
schedule:
16+
interval: "daily"
17+
18+
- package-ecosystem: "docker"
19+
directory: "/"
20+
schedule:
21+
interval: "daily"

.github/settings.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repository:
2+
name: "ansible_role_subuid_subgid"
3+
description: "Ansible Role to generate subuid & subgid"
4+
homepage: "https://rwxd.github.io/ansible-role-subuid-subgid/"
5+
topics: "ansible,podman,rootless,container,ansible-role,subuid,subgid"

.github/workflows/molecule.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Molecule
2+
3+
on:
4+
pull_request: {}
5+
6+
jobs:
7+
molecule:
8+
runs-on: ubuntu-latest
9+
env:
10+
ANSIBLE_FORCE_COLOR: true
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Setup python
15+
uses: actions/setup-python@v3
16+
- name: setup
17+
run: make setup
18+
- name: Molecule
19+
run: |
20+
molecule --debug test --scenario-name default

.github/workflows/pre-commit.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
on:
3+
push: {}
4+
5+
jobs:
6+
pre-commit:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-python@v3
11+
- name: setup
12+
run: make setup
13+
- name: Set skips on ci run
14+
run: |
15+
if [[ $GITHUB_REF_PROTECTED =~ "true" ]]; then
16+
echo "SKIP=no-commit-to-branch" >> $GITHUB_ENV
17+
fi
18+
- name: run pre-commit
19+
run: pre-commit run --show-diff-on-failure --all-files
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
semantic-release:
9+
uses: rwxd/gh-templates/.github/workflows/common-semantic-release.yml@main
10+
secrets:
11+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+152
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
.pybuilder/
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# poetry
98+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102+
#poetry.lock
103+
104+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
105+
__pypackages__/
106+
107+
# Celery stuff
108+
celerybeat-schedule
109+
celerybeat.pid
110+
111+
# SageMath parsed files
112+
*.sage.py
113+
114+
# Environments
115+
.env
116+
.venv
117+
env/
118+
venv/
119+
ENV/
120+
env.bak/
121+
venv.bak/
122+
123+
# Spyder project settings
124+
.spyderproject
125+
.spyproject
126+
127+
# Rope project settings
128+
.ropeproject
129+
130+
# mkdocs documentation
131+
/site
132+
133+
# mypy
134+
.mypy_cache/
135+
.dmypy.json
136+
dmypy.json
137+
138+
# Pyre type checker
139+
.pyre/
140+
141+
# pytype static type analyzer
142+
.pytype/
143+
144+
# Cython debug symbols
145+
cython_debug/
146+
147+
# PyCharm
148+
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
149+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
150+
# and can be added to the global gitignore or merged into this file. For a more nuclear
151+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
152+
#.idea/

.pre-commit-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace

.releaserc.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
plugins:
2+
- "@semantic-release/commit-analyzer"
3+
- "@semantic-release/release-notes-generator"
4+
- "@semantic-release/github"
5+
6+
branches:
7+
- "main"
8+
- "+([0-9])?(.{+([0-9]),x}).x"
9+
- name: "alpha"
10+
prerelease: "alpha"

.renovaterc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>rwxd/renovate-config"]
4+
}

.yamllint

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
# Based on ansible-lint config
3+
extends: default
4+
5+
rules:
6+
braces:
7+
max-spaces-inside: 1
8+
level: error
9+
brackets:
10+
max-spaces-inside: 1
11+
level: error
12+
colons:
13+
max-spaces-after: -1
14+
level: error
15+
commas:
16+
max-spaces-after: -1
17+
level: error
18+
comments: disable
19+
comments-indentation: disable
20+
document-start: disable
21+
empty-lines:
22+
max: 3
23+
level: error
24+
hyphens:
25+
level: error
26+
indentation: disable
27+
key-duplicates: enable
28+
line-length: disable
29+
new-line-at-end-of-file: disable
30+
new-lines:
31+
type: unix
32+
trailing-spaces: disable
33+
truthy: disable

0 commit comments

Comments
 (0)