There is a new QEMU based test which uses the qemu/kvm capability of github action runners. This is the basis for new bootc/image mode tests which we will be rolling out in the near future. ansible-lint requires that the collection path is set so that the requirements it installs are installed in the correct place. There has been some general github action deprecation of python versions and ubuntu versions that we have had to fix. Remove `CONTRIBUTOR` from the list of users who can trigger citest. For more information, see * https://github.com/linux-system-roles/.github/pull/98 * https://github.com/linux-system-roles/.github/pull/94 * https://github.com/linux-system-roles/.github/pull/93 * https://github.com/linux-system-roles/.github/pull/92 * https://github.com/linux-system-roles/.github/pull/91 Signed-off-by: Rich Megginson <rmeggins@redhat.com>
39 lines
904 B
YAML
39 lines
904 B
YAML
---
|
|
name: Check for ansible_managed variable use in comments
|
|
on: # yamllint disable-line rule:truthy
|
|
pull_request:
|
|
merge_group:
|
|
branches:
|
|
- main
|
|
types:
|
|
- checks_requested
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
ansible_managed_var_comment:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Update pip, git
|
|
run: |
|
|
set -euxo pipefail
|
|
python3 -m pip install --upgrade pip
|
|
sudo apt update
|
|
sudo apt install -y git
|
|
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install tox, tox-lsr
|
|
run: |
|
|
set -euxo pipefail
|
|
pip3 install "git+https://github.com/linux-system-roles/tox-lsr@3.5.1"
|
|
|
|
- name: Run ansible-plugin-scan
|
|
run: |
|
|
set -euxo pipefail
|
|
TOXENV=ansible-managed-var-comment lsr_ci_runtox
|