Skip to content

Commit b19e816

Browse files
committed
ci: Add two NICs for test purposes
Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
1 parent 61a0773 commit b19e816

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

.ansible-lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ kinds:
1717
skip_list:
1818
- fqcn-builtins
1919
- var-naming[no-role-prefix]
20-
- sanity[cannot-ignore]
20+
- sanity[cannot-ignore] # wokeignore:rule=sanity
2121
exclude_paths:
2222
- tests/roles/
2323
- .github/

.github/workflows/ansible-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
- name: Run ansible-test
4444
uses: ansible-community/ansible-test-gh-action@release/v1
4545
with:
46-
testing-type: sanity
46+
testing-type: sanity # wokeignore:rule=sanity
4747
ansible-core-version: stable-2.17
4848
collection-src-directory: ${{ github.workspace }}/.tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }}

.github/workflows/tft.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ jobs:
180180
tf_scope: private
181181
api_key: ${{ secrets.TF_API_KEY_RH }}
182182
update_pull_request_status: false
183-
tmt_hardware: '{ "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB" }'
184-
tmt_plan_filter: "tag:general,timesync"
183+
tmt_hardware: '{ "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB" }' tmt_plan_filter: "tag:general,timesync"
185184

186185
- name: Set final commit status
187186
uses: myrotvorets/set-commit-status-action@master

.github/workflows/woke.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# yamllint disable rule:line-length
3+
name: Woke
4+
on: # yamllint disable-line rule:truthy
5+
- pull_request
6+
jobs:
7+
woke:
8+
name: Detect non-inclusive language
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Run lsr-woke-action
15+
# Originally, uses: get-woke/woke-action@v0
16+
uses: linux-system-roles/lsr-woke-action@main
17+
with:
18+
woke-args: "-c https://raw.githubusercontent.com/linux-system-roles/tox-lsr/main/src/tox_lsr/config_files/woke.yml --count-only-error-for-failure"
19+
# Cause the check to fail on any broke rules
20+
fail-on-error: true

0 commit comments

Comments
 (0)