Comments (5)
@AlanCoding what do you think about where that should run? We could run two checks in parallel, one that pip installs ansible-runner from pypi and the other that pip installs it from the devel branch.
Since this is a public repo it would be cool to leverage the github actions.
from ansible-builder.
Both of these projects are set up with Zuul, and someone may want the "Depends-On" syntax to run CI with two branches simultaneously. The question of "where should it run?" strikes me as complicated, and I want to delay that question.
Right now, I want to focus on building out code simultaneously with a pipeline which I can run locally, and productively touches back to documentation and the examples that we know we want.
For a starter example:
https://galaxy.ansible.com/awx/awx
Consider the newly introduced tower_schedule_rrule
lookup plugin. This depends on the python pytz
library. It is unlikely that our container images will have this library by default. It's also possible to test this inside of a playbook, which is important because of how ansible-runner
hooks things up. We can test almost all of the AWX Ansible venv python dependencies via ansible-inventory
, but if you do that, you use a custom command with runner, and that doesn't hook into the callback plugin or anything like that. This plugin can also be used fully locally, just with some debug
task. So this is a good candidate to run a relatively complete integration cycle with.
So that would be a really basic example for testing #22 (which is needs_devel
), but would allow hooking up the full pipeline. I want to see RRULE printed into the stdout of an ansible-runner event. Anything short of that won't be a genuine proof of concept.
from ansible-builder.
Test fodder for ^ that scenario
from ansible-builder.
https://github.com/ansible/ansible-builder/tree/devel/examples now fits the bill to some extent
I've talked over some TODO items with @shanemcd and through my own debugging:
- test 2 collections in same example
- test user's python requirement combined with collection
- [needs devel] test EE definition that does some version of
dnf install git
, or look into other example - test relative python requirement in EE definition in nested or complex folders like
foo/requirements.txt
or../requirements.txt
from ansible-builder.
Closing after feedback from @kdelee in #56
from ansible-builder.
Related Issues (20)
- Error when building an EE without requirements.yml HOT 2
- requirements-parser breaks on 3.12+ default venvs HOT 3
- ansible-builder version 3 has broken compatibility with schema version 1 HOT 1
- Modifying ssh config of EE HOT 1
- Adding Galaxy requirements from private Git instance HOT 1
- Container Policy Fails on Schema Version 3
- Concerning mutil arch builds HOT 1
- v3 prepend_builder adds command after "pip install" HOT 1
- ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/community/general/versions/' HOT 9
- Equivalent to podman build --pull? HOT 2
- Add support for pip specifier syntax like `pywinrm[credssp]==0.4.3` HOT 2
- ansible-builder failing during galaxy steps HOT 1
- Building the image with Docker Engine 27+ gives some warnings
- Ansible builder fails after upgrade to 3.1.0 HOT 9
- BUG: Using a base image with microdnf causes ansible-builder failure for dnf path HOT 1
- Docs: Recommend using a RHEL image
- Ansible Galaxy check script error message may be somewhat misleading HOT 1
- Feature request: being able to add constraints for dependencies of ansible-core/ansible-runner/..., or to pin their dependencies HOT 3
- Not able to finish build of custom EE HOT 1
- Documentation is wrong HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-builder.