diff options
Diffstat (limited to 'ansible_collections/community/crypto/.github')
4 files changed, 82 insertions, 9 deletions
diff --git a/ansible_collections/community/crypto/.github/workflows/ansible-test.yml b/ansible_collections/community/crypto/.github/workflows/ansible-test.yml index 325dc5275..be831028b 100644 --- a/ansible_collections/community/crypto/.github/workflows/ansible-test.yml +++ b/ansible_collections/community/crypto/.github/workflows/ansible-test.yml @@ -33,6 +33,7 @@ jobs: - '2.10' - '2.11' - '2.12' + - '2.13' # Ansible-test on various stable branches does not yet work well with cgroups v2. # Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04 # image for these stable branches. The list of branches where this is necessary will @@ -72,6 +73,7 @@ jobs: - '2.10' - '2.11' - '2.12' + - '2.13' steps: - name: >- @@ -202,6 +204,55 @@ jobs: docker: default python: '3.9' target: azp/generic/2/ + # 2.13 + - ansible: '2.13' + docker: opensuse15py2 + python: '' + target: azp/posix/1/ + - ansible: '2.13' + docker: opensuse15py2 + python: '' + target: azp/posix/2/ + - ansible: '2.13' + docker: fedora35 + python: '' + target: azp/posix/1/ + - ansible: '2.13' + docker: fedora35 + python: '' + target: azp/posix/2/ + - ansible: '2.13' + docker: fedora34 + python: '' + target: azp/posix/1/ + - ansible: '2.13' + docker: fedora34 + python: '' + target: azp/posix/2/ + - ansible: '2.13' + docker: ubuntu1804 + python: '' + target: azp/posix/1/ + - ansible: '2.13' + docker: ubuntu1804 + python: '' + target: azp/posix/2/ + - ansible: '2.13' + docker: alpine3 + python: '' + target: azp/posix/1/ + - ansible: '2.13' + docker: alpine3 + python: '' + target: azp/posix/2/ + - ansible: '2.13' + docker: default + python: '3.8' + target: azp/generic/1/ + - ansible: '2.13' + docker: default + python: '3.8' + target: azp/generic/2/ steps: - name: >- diff --git a/ansible_collections/community/crypto/.github/workflows/ee.yml b/ansible_collections/community/crypto/.github/workflows/ee.yml index edd4d047b..74f48476f 100644 --- a/ansible_collections/community/crypto/.github/workflows/ee.yml +++ b/ansible_collections/community/crypto/.github/workflows/ee.yml @@ -46,6 +46,10 @@ jobs: - name: ansible-core devel @ RHEL UBI 9 ansible_core: https://github.com/ansible/ansible/archive/devel.tar.gz ansible_runner: ansible-runner + other_deps: |2 + python_interpreter: + package_system: python3.11 python3.11-pip python3.11-wheel python3.11-cryptography + python_path: "/usr/bin/python3.11" base_image: docker.io/redhat/ubi9:latest pre_base: '"#"' # For some reason ansible-builder will not install EPEL dependencies on RHEL @@ -87,12 +91,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' diff --git a/ansible_collections/community/crypto/.github/workflows/import-galaxy.yml b/ansible_collections/community/crypto/.github/workflows/import-galaxy.yml new file mode 100644 index 000000000..0c0ee402a --- /dev/null +++ b/ansible_collections/community/crypto/.github/workflows/import-galaxy.yml @@ -0,0 +1,20 @@ +--- +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +name: import-galaxy +'on': + # Run CI against all pushes (direct commits, also merged PRs) to main, and all Pull Requests + push: + branches: + - main + - stable-* + pull_request: + +jobs: + import-galaxy: + permissions: + contents: read + name: Test to import built collection artifact with Galaxy importer + uses: ansible-community/github-action-test-galaxy-import/.github/workflows/test-galaxy-import.yml@main diff --git a/ansible_collections/community/crypto/.github/workflows/reuse.yml b/ansible_collections/community/crypto/.github/workflows/reuse.yml index 3b01cd8ac..29b1f951a 100644 --- a/ansible_collections/community/crypto/.github/workflows/reuse.yml +++ b/ansible_collections/community/crypto/.github/workflows/reuse.yml @@ -21,14 +21,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Install dependencies - run: | - pip install reuse - - - name: Check REUSE compliance (except some PEM files) + - name: Remove some files before checking REUSE compliance run: | rm -f tests/integration/targets/*/files/*.pem rm -f tests/integration/targets/*/files/roots/*.pem - reuse lint + + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v2 |