Skip to content

Commit a9e4cca

Browse files
committed
update to latest certmanager version
1 parent bffdbf2 commit a9e4cca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+5521
-902
lines changed

.ansible-lint

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
exclude_paths:
22
- .cache/
3+
- .github/
4+
- .poetry/
35
- .tox/
46
- tests
57
- meta/
68
- molecule/
7-
- .github
9+
- .ansible/
810
skip_list:
911
- experimental # all rules tagged as experimental
1012
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
exclude_paths:
2+
- .cache/
3+
- .github/
4+
- .poetry/
5+
- .tox/
6+
- tests
7+
- meta/
8+
- molecule/
9+
- .ansible/
10+
skip_list:
11+
- experimental # all rules tagged as experimental
12+
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
13+
- galaxy[no-changelog]

.ansible/collections/ansible_collections/tcharl/kube_certmanager/.ansible/.lock

Whitespace-only changes.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name-template: "v$RESOLVED_VERSION 🌈"
2+
tag-template: "v$RESOLVED_VERSION"
3+
categories:
4+
- title: "🚀 Features"
5+
labels:
6+
- "feature"
7+
- "enhancement"
8+
- title: "🐛 Bug Fixes"
9+
labels:
10+
- "fix"
11+
- "bugfix"
12+
- "bug"
13+
- title: "🧰 Maintenance"
14+
label: "chore"
15+
- title: "🧺 Miscellaneous" #Everything except ABAP
16+
label: "misc"
17+
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
18+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
19+
version-resolver:
20+
major:
21+
labels:
22+
- "major"
23+
minor:
24+
labels:
25+
- "minor"
26+
patch:
27+
labels:
28+
- "patch"
29+
default: patch
30+
template: |
31+
## Changes
32+
$CHANGES
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
# This is a basic workflow to help you get started with Actions
3+
name: Molecule
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
pull_request:
10+
branches:
11+
- master
12+
- tags/*
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
requirements:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
# Steps represent a sequence of tasks that will be executed as part of the job
20+
steps:
21+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22+
- uses: actions/checkout@v3
23+
with:
24+
path: tcharl.kube_certmanager
25+
- name: install prereq
26+
run: |
27+
cd tcharl.kube_certmanager
28+
ansible-galaxy role install -r requirements-standalone.yml
29+
ansible-galaxy collection install -r requirements-collections.yml
30+
lint:
31+
# The type of runner that the job will run on
32+
runs-on: ubuntu-latest
33+
34+
# Steps represent a sequence of tasks that will be executed as part of the job
35+
steps:
36+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
37+
- uses: actions/checkout@v3
38+
with:
39+
path: tcharl.kube_certmanager
40+
- name: update apt
41+
run: |
42+
sudo apt update
43+
- name: install aptitude packages
44+
run: |
45+
sudo apt -y install sudo python3 python3-pip
46+
- name: pip install packages
47+
run: |
48+
pip3 install wheel setuptools tox
49+
- name: tox lint
50+
run: |
51+
cd tcharl.kube_certmanager
52+
tox -e lint
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-latest
13+
steps:
14+
# Drafts your next Release notes as Pull Requests are merged into "master"
15+
- uses: release-drafter/release-drafter@v5
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Ansible Galaxy
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
release:
9+
types:
10+
- published
11+
12+
jobs:
13+
galaxy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
submodules: recursive
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- uses: actions/cache@v4
24+
with:
25+
path: ~/.cache/pip
26+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
27+
restore-keys: |
28+
${{ runner.os }}-pip-
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install -r requirements.txt
33+
- name: Trigger a new import on Galaxy.
34+
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.idea
2+
**/*__pycache__*
3+
.cache
4+
build
5+
.tox
6+
.poetry
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
3+
dist: jammy
4+
5+
language: python
6+
python:
7+
- "3.11"
8+
addons:
9+
apt:
10+
sources:
11+
- sourceline: 'deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main'
12+
key_url: 'https://apt.releases.hashicorp.com/gpg'
13+
update: true
14+
packages:
15+
- bridge-utils
16+
- dnsmasq-base
17+
- ebtables
18+
- virtinst
19+
- libvirt-dev
20+
- libvirt-daemon-system
21+
- qemu-kvm
22+
- qemu-utils
23+
- ruby-dev
24+
- ca-certificates
25+
- curl
26+
- gcc
27+
- iproute2
28+
- sudo
29+
- vagrant
30+
31+
install:
32+
- vagrant plugin install vagrant-libvirt
33+
- pip install wheel pyopenssl tox
34+
- sudo chmod o+rwx /var/run/libvirt/libvirt-sock
35+
36+
script:
37+
- mv ../kube_certmanager ../tcharl.kube_cert_manager
38+
- travis_wait 70 tox -e test-exec -- --scenario-name kvm
39+
branches:
40+
only:
41+
- master
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
# Based on ansible-lint config
3+
extends: default
4+
ignore: |
5+
.ansible-lint
6+
.ansible
7+
.cache
8+
.github
9+
.poetry
10+
.tox
11+
.travis.yml
12+
rules:
13+
braces:
14+
max-spaces-inside: 1
15+
level: error
16+
brackets:
17+
max-spaces-inside: 1
18+
level: error
19+
colons:
20+
max-spaces-after: -1
21+
level: error
22+
commas:
23+
max-spaces-after: -1
24+
level: error
25+
comments:
26+
min-spaces-from-content: 1
27+
octal-values:
28+
forbid-implicit-octal: true
29+
forbid-explicit-octal: true
30+
comments-indentation: disable
31+
document-start: disable
32+
empty-lines:
33+
max: 3
34+
level: error
35+
hyphens:
36+
level: error
37+
indentation: disable
38+
key-duplicates: enable
39+
line-length: disable
40+
new-line-at-end-of-file: disable
41+
new-lines:
42+
type: unix
43+
trailing-spaces: disable
44+
truthy: disable

0 commit comments

Comments
 (0)