-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecution-environment-stable.yml
More file actions
117 lines (112 loc) · 3.81 KB
/
execution-environment-stable.yml
File metadata and controls
117 lines (112 loc) · 3.81 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# yamllint disable rule:line-length rule:key-duplicates rule:document-start
# (ansible-builder [platform:...] syntax and long RUN lines required)
version: 3
images:
base_image:
#name: quay.io/ansible/awx-ee:latest
name: quay.io/centos/centos:stream9
dependencies:
ansible_core:
package_pip: ansible-core<2.18
ansible_runner:
package_pip: ansible-runner
python_interpreter:
package_system: "python3.12"
python_path: "/usr/bin/python3.12"
galaxy:
roles:
- src: mk-ansible-roles.check_reboot
- src: mk-ansible-roles.setup_nfs_server
collections:
- name: awx.awx
version: 24.6.1
- name: azure.azcollection
version: 3.15.0
- name: google.cloud
version: 1.12.0
- name: amazon.aws
version: 11.1.0
- name: community.aws
version: 11.0.0
- name: vmware.vmware_rest
version: 4.10.0
- name: community.vmware
version: 6.2.0
- name: openstack.cloud
version: 2.5.0
- name: ibm.power_hmc
version: 1.14.0
- name: kubernetes.core
version: 6.3.0
- name: kubevirt.core
version: 2.2.3
- name: ovirt.ovirt
version: 3.2.2
- name: fedora.linux_system_roles
version: 1.121.0
- name: ansible.posix
version: 2.1.0
- name: ansible.utils
version: 6.0.1
- name: community.general
version: 11.4.5 # required by fedora.linux_system_roles
- name: community.crypto
version: 3.1.1
# SAP Community Roles
- name: community.sap_libs
version: 1.7.0
- name: community.sap_operations
version: 2.0.0
- name: community.sap_install
version: 1.9.0
- name: community.sap_launchpad
version: 1.3.1
- name: community.sap_infrastructure
version: 1.3.1
python: requirements.txt
system:
- python3.12-devel [platform:rpm compile]
- openssl [platform:rpm]
- openssl-devel [platform:rpm compile]
- libxml2 [platform:rpm]
- libxml2-devel [platform:rpm compile]
- git-core [platform:rpm]
- libcurl-devel [platform:rpm compile]
- krb5-devel [platform:rpm compile]
- krb5-workstation [platform:rpm]
- subversion [platform:rpm]
- subversion [platform:dpkg]
- git-lfs [platform:rpm]
- sshpass [platform:rpm]
- rsync [platform:rpm]
- epel-release [platform:rpm]
- unzip [platform:rpm]
- podman-remote [platform:rpm]
- cmake [platform:rpm compile]
- gcc [platform:rpm compile]
- gcc-c++ [platform:rpm compile]
- make [platform:rpm compile]
- clang [platform:rpm compile]
- cargo [platform:rpm compile]
# binutils [platform:rpm compile]
# glibc-devel [platform:rpm compile]
# pkgconf [platform:rpm compile]
# pkgconf-pkg-config [platform:rpm compile]
# pkgconf-m4 [platform:rpm compile]
options:
package_manager_path: /usr/bin/dnf
additional_build_steps:
prepend_builder:
# On ppc64le, disable compiler optimization to prevent OOM kills when
# cross-compiling large Cython extensions (e.g. pandas) via qemu.
# A wrapper shell conditionally sets CFLAGS only on ppc64le so that
# x86_64 and aarch64 builds keep full -O3 optimization.
- RUN printf '#!/bin/bash\nif [ "$(uname -m)" = "ppc64le" ]; then\n export CFLAGS="-O0 -g0"\n export CXXFLAGS="-O0 -g0"\nfi\nexec /bin/bash "$@"\n' > /usr/local/bin/build-shell && chmod +x /usr/local/bin/build-shell
- 'SHELL ["/usr/local/bin/build-shell", "-c"]' # yamllint disable-line rule:quoted-strings
prepend_base:
- RUN dnf update -y
append_base:
- RUN $PYCMD -m pip install -U pip
append_final:
- RUN dnf clean all
- RUN alternatives --install /usr/bin/python python /usr/bin/python3.12 312