Giter Site home page Giter Site logo

Comments (5)

kdelee avatar kdelee commented on August 24, 2024

@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.

AlanCoding avatar AlanCoding commented on August 24, 2024

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.

AlanCoding avatar AlanCoding commented on August 24, 2024

Test fodder for ^ that scenario

ansible/awx#7474

from ansible-builder.

AlanCoding avatar AlanCoding commented on August 24, 2024

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.

AlanCoding avatar AlanCoding commented on August 24, 2024

Closing after feedback from @kdelee in #56

from ansible-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.