Initial attempt
This commit is contained in:
@@ -1,70 +0,0 @@
|
|||||||
---
|
|
||||||
version: 3
|
|
||||||
|
|
||||||
build_arg_defaults:
|
|
||||||
ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: "-c --disable-gpg-verify -v"
|
|
||||||
|
|
||||||
additional_build_files:
|
|
||||||
- src: 1password.repo
|
|
||||||
dest: files/
|
|
||||||
- src: 1password.asc
|
|
||||||
dest: files/
|
|
||||||
|
|
||||||
additional_build_steps:
|
|
||||||
prepend_galaxy:
|
|
||||||
- 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://aap.toal.ca/api/galaxy/content/rh-certified
|
|
||||||
- ARG ANSIBLE_GALAXY_SERVER_PAH_COMMUNITY_TOKEN
|
|
||||||
- ENV ANSIBLE_GALAXY_SERVER_PAH_COMMUNITY_URL=https://aap.toal.ca/api/galaxy/content/community
|
|
||||||
- ARG ANSIBLE_GALAXY_SERVER_PAH_VALIDATED_TOKEN
|
|
||||||
- ENV ANSIBLE_GALAXY_SERVER_PAH_VALIDATED_URL=https://aap.toal.ca/api/galaxy/content/validated
|
|
||||||
|
|
||||||
prepend_builder:
|
|
||||||
# - ENV PKGMGR_OPTS="--nodocs --setopt=install_weak_deps=0 --setopt=rhocp-4.12-for-rhel-8-x86_64-rpms.enabled=true --setopt=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms.enabled=true"
|
|
||||||
|
|
||||||
prepend_final:
|
|
||||||
# - ENV PKGMGR_OPTS="--nodocs --setopt=install_weak_deps=0 --setopt=rhocp-4.12-for-rhel-8-x86_64-rpms.enabled=true --setopt=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms.enabled=true"
|
|
||||||
- RUN whoami
|
|
||||||
- RUN cat /etc/os-release
|
|
||||||
|
|
||||||
prepend_base:
|
|
||||||
- COPY _build/files/1password.repo /etc/yum.repos.d/1password.repo
|
|
||||||
- COPY _build/files/1password.asc /tmp/
|
|
||||||
- ENV PKGMGR_OPTS "--nodocs --setopt install_weak_deps=0 --enablerepo=1password"
|
|
||||||
- RUN rpm --import /tmp/1password.asc
|
|
||||||
prepend_builder:
|
|
||||||
- COPY _build/files/1password.repo /etc/yum.repos.d/1password.repo
|
|
||||||
- COPY _build/files/1password.asc /tmp/
|
|
||||||
- ENV PKGMGR_OPTS "--nodocs --setopt install_weak_deps=0 --enablerepo=1password"
|
|
||||||
- RUN rpm --import /tmp/1password.asc
|
|
||||||
|
|
||||||
dependencies:
|
|
||||||
# ansible_core:
|
|
||||||
# package_pip: ansible-core>=2.17.4
|
|
||||||
# ansible_runner:
|
|
||||||
# package_pip: ansible-runner
|
|
||||||
galaxy: requirements.yml
|
|
||||||
python: requirements.txt
|
|
||||||
system:
|
|
||||||
- genisoimage
|
|
||||||
- jq
|
|
||||||
- python3.11-devel
|
|
||||||
- gcc
|
|
||||||
- systemd-devel
|
|
||||||
- libxml2-devel
|
|
||||||
- 1password-cli
|
|
||||||
# python_interpreter:
|
|
||||||
# package_system: python3.11
|
|
||||||
# python_path: "/usr/bin/python3.11"
|
|
||||||
|
|
||||||
images:
|
|
||||||
base_image:
|
|
||||||
# name: 'registry.redhat.io/ansible-automation-platform-25/ansible-dev-tools-rhel8:latest'
|
|
||||||
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
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user