Skip to content

Commit b592a8b

Browse files
committed
Add OWNERS, OWNERS_ALIASES, and ansible-lint GitHub Action
Onboard shiftstack-qa to Prow by adding OWNERS and OWNERS_ALIASES files (team list from shiftstack-ci). Add GitHub Actions workflow to run ansible-lint on PRs using the shiftstack-client container, providing a status check for Tide to gate on. Ref: OSPRH-32049 Change-Id: I2da24ec05257777d61600a1623bafe6a5670ced3 Signed-off-by: Itay Matza <imatza@redhat.com>
1 parent 2e5ae16 commit b592a8b

3 files changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/ansible-lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Ansible Lint
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
ansible-lint:
11+
runs-on: ubuntu-latest
12+
container:
13+
image: quay.io/shiftstack-qe/shiftstack-client
14+
options: --user root
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Install Ansible collections
20+
run: ansible-galaxy collection install -r requirements.yaml
21+
22+
- name: Run ansible-lint
23+
run: ansible-lint --strict

OWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
2+
# This file just uses aliases defined in OWNERS_ALIASES.
3+
4+
approvers:
5+
- shiftstack-approvers
6+
7+
reviewers:
8+
- shiftstack-reviewers

OWNERS_ALIASES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# See the OWNERS_ALIASES docs: https://git.k8s.io/community/contributors/guide/owners.md#OWNERS_ALIASES
2+
3+
aliases:
4+
shiftstack-approvers:
5+
- eurijon
6+
- gryf
7+
- imatza-rh
8+
- mandre
9+
- stephenfin
10+
shiftstack-reviewers:
11+
- eurijon
12+
- gryf
13+
- imatza-rh
14+
- mandre
15+
- stephenfin

0 commit comments

Comments
 (0)