Compare commits

...

5 Commits

Author SHA1 Message Date
Rath Pascal 5569b30543 update ci 2025-02-15 14:14:30 +01:00
Rath Pascal 647d4b4812 update ci 2025-02-15 13:32:07 +01:00
Rath Pascal 25056ca6f3 update ci 2025-02-15 13:17:03 +01:00
Rath Pascal bc87ceaebc update ci 2025-02-15 13:03:59 +01:00
Rath Pascal 1820d4bde6 update ci 2025-02-15 09:25:39 +01:00
6 changed files with 13 additions and 12 deletions

3
.github/FUNDING.yml vendored
View File

@ -1,4 +1 @@
---
ko_fi: ansible0guy
github: ansibleguy

View File

@ -26,7 +26,7 @@ jobs:
shell: bash
- name: Pulling logs
run: curl -f https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/logs?token=${{ secrets.CI_TOKEN_RW }} | jq > /tmp/test.log
run: curl --fail-with-body https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/logs?token=${{ secrets.CI_TOKEN_RW }} | jq > /tmp/test.log
shell: bash
- uses: actions/upload-artifact@v4
@ -37,5 +37,5 @@ jobs:
- name: Checking job-state
run: >
curl https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/state?token=${{ secrets.CI_TOKEN_RW }} | jq -r '.state' | grep -q 'failed' && exit 1 || exit 0
curl --fail-with-body https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/state?token=${{ secrets.CI_TOKEN_RW }} | jq -r '.state' | grep -q 'failed' && exit 1 || exit 0
shell: bash

View File

@ -23,7 +23,7 @@ jobs:
shell: bash
- name: Starting Tests
run: curl -f -XPOST https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}?token=${{ secrets.CI_TOKEN_RW }}
run: curl --fail-with-body -XPOST https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}?token=${{ secrets.CI_TOKEN_RW }}
shell: bash
- name: You can pull the current logs at this URL

View File

@ -10,6 +10,10 @@ on:
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
- '.yamllint'
- '.pylintrc'
- '.pylintrc_j2'
- '.ansible-lint.yml'
pull_request:
branches: [main, stable, latest]
paths:
@ -17,6 +21,10 @@ on:
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
- '.yamllint'
- '.pylintrc'
- '.pylintrc_j2'
- '.ansible-lint.yml'
jobs:
lint:
@ -31,7 +39,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |

View File

@ -6,4 +6,4 @@ rules:
truthy:
allowed-values: ['true', 'false', 'yes', 'no']
line-length:
max: 170
max: 190

View File

@ -44,10 +44,6 @@ provisioner:
no_target_syslog: true
verifier:
name: ansible
config_options:
defaults:
remote_tmp: '/tmp'
no_target_syslog: true
scenario:
name: default
test_sequence: