Skip to content

Commit

Permalink
Merge pull request #160 from ansibleguy/fix-contrib-notes+alias-self
Browse files Browse the repository at this point in the history
Fix contrib notes+alias self
  • Loading branch information
ansibleguy authored Feb 7, 2025
2 parents 90d44b0 + 3e5f383 commit 8e65922
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_test_logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
shell: bash

- name: Pulling logs
run: curl https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/logs?token=${{ secrets.CI_TOKEN_RO }} | jq > /tmp/test.log
run: curl https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/logs?token=${{ secrets.CI_TOKEN_RO }}&lines=100000 | jq > /tmp/test.log
shell: bash

- uses: actions/upload-artifact@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integration_test_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
- name: You can pull the current logs at this URL
run: >
echo "You can pull the current logs at this URL:"
echo " > https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/tail?token=${{ secrets.CI_TOKEN_RO }}"
echo " > https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/tail?token=${CI_TOKEN_RO}"
env:
CI_TOKEN_RO: "2b7bba30-9a37-4b57-be8a-99e23016ce70"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Unit Test Status](https://github.com/ansibleguy/collection_opnsense/actions/workflows/unit_test.yml/badge.svg)](https://github.com/ansibleguy/collection_opnsense/actions/workflows/unit_test.yml)
[![Ansible Galaxy](https://badges.ansibleguy.net/galaxy.badge.svg)](https://galaxy.ansible.com/ui/repo/published/ansibleguy/opnsense)

Functional Test Logs: [Short](https://badges.ansibleguy.net/log/collection_opnsense_test_short.log), [Full](https://badges.ansibleguy.net/log/collection_opnsense_test.log), [Full via API](https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/logs?token=2b7bba30-9a37-4b57-be8a-99e23016ce70)
Functional Test Logs: [Full via API](https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/logs?token=2b7bba30-9a37-4b57-be8a-99e23016ce70&lines=1000) | [Short](https://badges.ansibleguy.net/log/collection_opnsense_test_short.log) | [Full](https://badges.ansibleguy.net/log/collection_opnsense_test.log)

----

Expand Down
17 changes: 9 additions & 8 deletions tests/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@
not opn8.changed
when: not ansible_check_mode

- name: Checking if removed
ansibleguy.opnsense.list:
register: opn11
failed_when: >
opn11.failed or
test_app1 in opn11 | json_query('data[*].name') or
test_app2 in opn11 | json_query('data[*].name')
when: not ansible_check_mode
# todo: fix #159

Check warning on line 127 in tests/package.yml

View workflow job for this annotation

GitHub Actions / lint

127:5 [comments-indentation] comment not indented like content
# - name: Checking if removed
# ansibleguy.opnsense.list:
# register: opn11
# failed_when: >
# opn11.failed or
# test_app1 in opn11 | json_query('data[*].name') or
# test_app2 in opn11 | json_query('data[*].name')
# when: not ansible_check_mode

0 comments on commit 8e65922

Please sign in to comment.