Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

EE community feedback, issue 1 #234

Closed
Andersson007 opened this issue May 19, 2023 · 6 comments
Closed

EE community feedback, issue 1 #234

Andersson007 opened this issue May 19, 2023 · 6 comments

Comments

@Andersson007
Copy link
Contributor

Andersson007 commented May 19, 2023

By Felix, to take into consideration. Relates to #230

does anyone know of good (and small) base images that can be used for EEs with ansible-builder 3.0.0? https://ansible-builder.readthedocs.io/en/stable/definition/ mentions registry.redhat.io/ansible-automation-platform-21/ee-minimal-rhel8:latest, but you need an account to pull that image

Execution Environment Definition — Ansible Builder Documentation
Ansible Builder Documentation Execution Environment Definition Edit on GitHub Execution Environment Definition  The execution environment (EE) definition file supports multiple versions.
andersson007_ (@andersson007_:matrix.org)
: ^ could also be useful for ansible/community-docs#60, having some example that can be run without being a RH customer / having an RH account would be really useful

[WIP] execution environments: add EE overview page by Andersson007 · Pull Request #60 · ansible/community-docs - GitHub
Fixes #232 execution environments: add EE overview page
the https://quay.io/repository/ansible/ansible-runner images are now over a year old

Quay
Quay is the best place to build, store, and distribute your containers. Public repositories are always free.
(and no idea whether it actually makes sense to use them with the ansible-builder v3 format)

@Andersson007
Copy link
Contributor Author

#230 (comment)

@nitzmahone
Copy link

Just some points of comparison on a basic 3.0-built EE def that uses Python 3.9, ansible-core==2.15.0, ansible-runner==2.3.2, and no collections or external Python/system deps added (roughly comparable to the old ansible-runner image):

Base Image Base Size (MB) Demo EE Size (MB)
ubi9/ubi-minimal 97 187
ubi9/ubi 217 269
ubi8/ubi 215 310
fedora:38 196 370
centos:stream9 160 212
centos:stream8 225 321

Note that even the heaviest of these is still a vast improvement over the 816MB of quay.io/ansible/ansible-runner:latest 😆

@felixfontein
Copy link

ansible/ansible-builder#544 replaces the base image in the example (and adds some more as comments, including the original one).

@samccann
Copy link

@Andersson007 : not sure if you captured this in an issue somewhere or not, but seems @felixfontein's use of EES in collection tests seems a good community use case we want to have in the EE docs 'somewhere'.

@Andersson007
Copy link
Contributor Author

As we introduced community-ee-minimal (280MB) which can be freely used, closing the issue. Thanks everyone!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

4 participants