58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
---
|
|
version: 3
|
|
|
|
build_arg_defaults:
|
|
ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: "-c --disable-gpg-verify -v"
|
|
|
|
additional_build_steps:
|
|
prepend_galaxy:
|
|
- ENV PIP_OPTS="--cache-dir=/output/wheels"
|
|
- ENV ANSIBLE_GALAXY_SERVER_LIST=pah_validated,pah_certified,pah_community
|
|
- ARG ANSIBLE_GALAXY_SERVER_PAH_CERTIFIED_TOKEN
|
|
- ENV ANSIBLE_GALAXY_SERVER_PAH_CERTIFIED_URL=https://aaphub.toal.ca/api/galaxy/content/rh-certified
|
|
- ARG ANSIBLE_GALAXY_SERVER_PAH_COMMUNITY_TOKEN
|
|
- ENV ANSIBLE_GALAXY_SERVER_PAH_COMMUNITY_URL=https://aaphub.toal.ca/api/galaxy/content/community
|
|
- ARG ANSIBLE_GALAXY_SERVER_PAH_VALIDATED_TOKEN
|
|
- ENV ANSIBLE_GALAXY_SERVER_PAH_VALIDATED_URL=https://aaphub.toal.ca/api/galaxy/content/validated
|
|
append_base:
|
|
- ENV PIP_OPTS="--cache-dir=/output/wheels"
|
|
- RUN microdnf remove -y ansible-lint
|
|
|
|
prepend_builder:
|
|
- ENV PKGMGR_OPTS="--nodocs --setopt=install_weak_deps=0 --setopt=rhocp-4.12-for-rhel-9-x86_64-rpms.enabled=true --setopt=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms.enabled=true"
|
|
|
|
prepend_final:
|
|
- ENV PKGMGR_OPTS="--nodocs --setopt=install_weak_deps=0 --setopt=rhocp-4.12-for-rhel-9-x86_64-rpms.enabled=true --setopt=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms.enabled=true"
|
|
- RUN whoami
|
|
- RUN cat /etc/os-release
|
|
|
|
dependencies:
|
|
ansible_core:
|
|
package_pip: ansible-core>=2.14
|
|
ansible_runner:
|
|
package_pip: ansible-runner
|
|
# galaxy: requirements.yml
|
|
python: requirements.txt
|
|
system:
|
|
- genisoimage
|
|
- jq
|
|
- python3-Cython
|
|
- python3.11-devel
|
|
- gcc
|
|
# exclude:
|
|
# python:
|
|
# - cryptography
|
|
python_interpreter:
|
|
package_system: python3.11
|
|
python_path: "/usr/bin/python3.11"
|
|
|
|
images:
|
|
base_image:
|
|
name: 'registry.redhat.io/ansible-automation-platform-25/ee-minimal-rhel9:latest'
|
|
options:
|
|
package_manager_path: /usr/bin/microdnf
|
|
tags:
|
|
- ee-demo:latest
|
|
- aaphub.toal.ca/ee-demo:latest
|
|
|