forked from RedHat-EMEA-SSA-Team/hetzner-ocp4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecution-environment.yml
More file actions
59 lines (55 loc) · 1.61 KB
/
Copy pathexecution-environment.yml
File metadata and controls
59 lines (55 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
version: 3
images:
base_image:
# Fedora 43 won't work because of: https://github.com/Azure/azure-uamqp-python/issues/416
name: quay.io/fedora/fedora:42
options:
package_manager_path: /usr/bin/dnf
dependencies:
ansible_core:
package_pip: ansible-core
ansible_runner:
package_pip: ansible-runner
galaxy:
collections:
- community.libvirt
- community.crypto
- community.general
- community.aws
- name: google.cloud
version: 1.10.2
- name: azure.azcollection
version: 3.12.0
- kubernetes.core
- ansible.posix
- community.digitalocean
- community.kubernetes
# Added for community.dns.hetzner_dns_record
- community.dns
# Added to build the OS image using insights image builder
- enothen.image_builder
python:
- libvirt-python
- jmespath
system:
- libvirt-client
- libvirt-libs
- libvirt-devel
- pkgconf-pkg-config
- guestfs-tools
# https://github.com/ansible-community/images/blob/main/execution-environments/community-ee-minimal/execution-environment.yml#L12
- openssh-clients
- sshpass
- less
additional_build_steps:
prepend_base:
- RUN dnf install -y python3 python3-pip python3-libdnf5
# Import for uamqp, deependencies an collection
- RUN dnf install -y cmake gcc gcc-c++ make openssl-devel python3-devel
append_final:
# Upgrade pyopenssl to solve
# The error was: AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
- RUN pip install pyopenssl --upgrade
# Needed for tekton
- RUN pip install pre-commit