Skip to content

Commit e555e69

Browse files
authored
Merge branch 'main' into glance-ceph-s3-backend
2 parents 4aded04 + 052ccea commit e555e69

File tree

367 files changed

+8534
-934
lines changed

Some content is hidden

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

367 files changed

+8534
-934
lines changed

.ansible-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ exclude_paths:
2222
- roles/kustomize_deploy/molecule/flexible_loop/prepare.yml # import_playbook
2323
- roles/*/molecule/*/side_effect.yml # syntax-check[empty-playbook] https://github.com/ansible/molecule/issues/3617
2424
- roles/ci_multus/molecule/*/nads_output.yml # internal-error due to "---" characters
25+
- hooks/playbooks/roles/
2526
strict: true
2627
quiet: false
2728
verbosity: 1
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
driver:
3+
name: delegated
4+
options:
5+
managed: false
6+
ansible_connection_options:
7+
ansible_connection: local
8+
9+
log: true
10+
11+
platforms:
12+
- name: instance
13+
environment: &env
14+
http_proxy: "{{ lookup('env', 'http_proxy') }}"
15+
https_proxy: "{{ lookup('env', 'https_proxy') }}"
16+
17+
provisioner:
18+
name: ansible
19+
# Expose configuration to all jobs by default
20+
# Useful when an fix requires to provide some
21+
# CIFMW parameter to many roles, such as a broken
22+
# CentOS image.
23+
# inventory:
24+
# group_vars:
25+
# all:
26+
# cifmw_discover_latest_image_qcow_prefix: "CentOS-Stream-GenericCloud-9-20240506"
27+
28+
config_options:
29+
defaults:
30+
fact_caching: jsonfile
31+
fact_caching_connection: /tmp/molecule/facts
32+
remote_tmp: /tmp
33+
log: true
34+
env:
35+
ANSIBLE_STDOUT_CALLBACK: yaml
36+
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles:${HOME}/ci-framework-data/artifacts/roles:${HOME}/src/github.com/openstack-k8s-operators/ci-framework/roles"
37+
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}:${HOME}/.ansible/plugins/modules:${HOME}/src/github.com/openstack-k8s-operators/ci-framework/plugins/modules"
38+
ANSIBLE_ACTION_PLUGINS: "${ANSIBLE_ACTION_PLUGINS:-/usr/share/ansible/plugins/action}:${HOME}/.ansible/plugins/action:${HOME}/src/github.com/openstack-k8s-operators/ci-framework/plugins/action"
39+
40+
scenario:
41+
test_sequence:
42+
- prepare
43+
- converge
44+
- cleanup
45+
46+
verifier:
47+
name: ansible

.github/CODEOWNERS

Lines changed: 0 additions & 70 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Check if commit message body is not too short
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, edited, reopened]
6+
7+
jobs:
8+
verify-body-length:
9+
runs-on: ubuntu-latest
10+
# set as non-voting for now.
11+
continue-on-error: true
12+
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
repository-projects: write
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Dump commit message to file
25+
run: |
26+
git fetch origin ${{ github.event.pull_request.head.sha }}
27+
git log -1 --pretty=format:"%B" ${{ github.event.pull_request.head.sha }} > commit-message-file
28+
29+
- name: Run commit message check
30+
id: bodylength
31+
run: |
32+
./scripts/git-check-commit-body-length.sh commit-message-file
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Check if commit message contains role prefix
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, edited, reopened]
6+
7+
jobs:
8+
verify-prefix:
9+
runs-on: ubuntu-latest
10+
continue-on-error: true
11+
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
repository-projects: write
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Dump commit message to file
24+
run: |
25+
git fetch origin ${{ github.event.pull_request.head.sha }}
26+
git log -1 --pretty=format:"%B" ${{ github.event.pull_request.head.sha }} | head -n1 > commit-message-file
27+
28+
- name: Run commit message check
29+
id: prefixcheck
30+
run: |
31+
./scripts/check-role-prefix.sh commit-message-file

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ docs/dictionary/tmp
88
.env
99
.idea/
1010
.ansible/
11+
# Cursor AI - personal configs not to commit
12+
.cursor
13+
# Claude AI
14+
.claude

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ Here is an example, based on a common use-case, on how to use those variables
4545
oc get openstackdataplane -n {{ cifmw_install_yamls_defaults['NAMESPACE'] }}
4646
~~~
4747

48+
## A few words about using Git
49+
50+
Before you make a pull request, make sure that:
51+
52+
* the title of your git commit message begins with the role
53+
name in brackets: `[my_wonderful_role]` or `(my_wonderful_role)`
54+
* the git commit body message is longer than 10 characters and describes
55+
the reason why you added this change
56+
* sign your git commit using the `Signed-Off-By` option by
57+
adding: `--signoff` or `-s` when using the command: `git commit`.
58+
* if you already make a commit, and you want to add `Signed-Off-By`,
59+
use command: `git commit --amend --signoff`
60+
4861
### Documentation
4962

5063
A new role must get proper documentation. Please edit the README.md located in

OWNERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See the OWNERS docs at https://www.kubernetes.dev/docs/guide/owners/
2+
3+
approvers:
4+
- cifmw-squad
5+
6+
reviewers:
7+
- cifmw-squad

OWNERS_ALIASES

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# See the OWNERS_ALIASES docs: https://git.k8s.io/community/contributors/guide/owners.md#owners_aliases
2+
3+
aliases:
4+
cifmw-squad:
5+
- rebtoor
6+
- fultonj
7+
- dasm
8+
- danpawlik
9+
- Valkyrie00
10+
- yorabl
11+
- tosky
12+
- eshulman2
13+
- evallesp
14+
- bshewale
15+
- amartyasinha
16+
- brjackma
17+
- michburk
18+
19+
adoption-team:
20+
- sathlan
21+
- jistr
22+
- holser
23+
- ciecierski
24+
- pinikomarov
25+
- klgill
26+
- archana203
27+
28+
bgp-team:
29+
- lmiccini
30+
- ccamposr
31+
- eduolivares
32+
- frenzyfriday
33+
34+
dcn-team:
35+
- fultonj
36+
- jokke-ilujo
37+
38+
must-gather-team:
39+
- dprince
40+
- olliewalsh
41+
- gibizer
42+
- fmount
43+
- abays
44+
- pkomarov
45+
- juliakreger
46+
- Akrog
47+
- stuggi
48+
49+
nfv-team:
50+
- saneax
51+
- atyronesmith
52+
- eshulman2
53+
- mnietoji
54+
- rdiazcam
55+
56+
security-team:
57+
- xek
58+
- d34dh0r53
59+
- dmendiza
60+
- pkomarov
61+
- vakwetu
62+
- mauricioharley
63+
- afaranha
64+
- Deydra71
65+
66+
storage-team:
67+
- eharney
68+
- fultonj
69+
- fmount
70+
- gfidente
71+
- cschwede
72+
- Akrog
73+
- gouthampacha
74+
- tosky
75+
- ASBishop
76+
- silvacarloss
77+
- konan-abhi
78+
79+
ciops-team:
80+
- arxcruz
81+
- dasm
82+
- sdatko
83+
- adrianfusco
84+
- pojadhav
85+
- kstrenkova
86+
- imatza-rh
87+
- sauragar
88+
- belolipa
89+
90+
updates-team:
91+
- sathlan
92+
- jistr
93+
- holser
94+
- ciecierski
95+
- pinikomarov
96+
- archana203
97+
98+
# Individual contributor groups (already expanded)
99+
shiftstack-team:
100+
- imatza-rh
101+
- eurijon
102+
103+
polarion-team:
104+
- tosky
105+
- jparoly
106+
- jirimacku
107+
108+
reportportal-team:
109+
- jirimacku
110+
- dsariel
111+
- sdatko
112+
113+
storage-contributors:
114+
- fultonj
115+
- fmount
116+
- abays
117+
118+
tofu-owners:
119+
- eshulman2

ansible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ roles_path = ~/ci-framework-data/artifacts/roles:./roles:/usr/share/ansible/role
55
filter_plugins = ./plugins/filter:~/plugins/filter:/usr/share/ansible/plugins/filter
66
log_path = ~/ansible.log
77
# We may consider ansible.builtin.junit
8-
callbacks_enabled = ansible.posix.profile_tasks,ansible.builtin.default
8+
callbacks_enabled = ansible.posix.profile_tasks,ansible.posix.profile_roles,ansible.builtin.default
99
stdout_callback = ansible.builtin.default
1010
callback_format_pretty = yaml
1111
callback_result_format = yaml

0 commit comments

Comments
 (0)