Release 1.0.3 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ansible-builder | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '.github/workflows/ansible-builder.yml' | |
- 'meta/execution-environment.yml' | |
- 'meta/ee-requirements.txt' | |
- 'meta/ee-requirements.yml' | |
- 'meta/ee-bindeps.txt' | |
pull_request: | |
paths: | |
- '.github/workflows/ansible-builder.yml' | |
- 'meta/execution-environment.yml' | |
- 'meta/ee-requirements.txt' | |
- 'meta/ee-requirements.yml' | |
- 'meta/ee-bindeps.txt' | |
env: | |
NAMESPACE: mozebaltyk | |
COLLECTION_NAME: rkub | |
jobs: | |
builder: | |
name: ansible-builder requirements | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
path: ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }} | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install ansible-builder | |
run: pip install ansible-builder | |
# this is kind of a naive check, since we aren't comparing the output to anything to verify | |
# so the only we'll catch with this is an egregious error that causes builder to exit nonzero | |
- name: Verify Requirements | |
run: ansible-builder introspect --sanitize . |