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

Molecule Working Group Agenda #427

Closed
gundalow opened this issue Jan 17, 2019 · 73 comments
Closed

Molecule Working Group Agenda #427

gundalow opened this issue Jan 17, 2019 · 73 comments

Comments

@gundalow
Copy link
Contributor

gundalow commented Jan 17, 2019

Please leave a comment regarding any agenda item you wish to discuss.

If your IRC nick is different from your GitHub username, leave that as well.

Import by URL https://raw.githubusercontent.com/ansible/community/master/meetings/ical/molecule.ics into your calendar of choice

Once an item has been addressed it should get strike-though strike-though

When creating new agenda ensure molecule and meeting_agenda labels are set

Running IRC Meeting

Anyone can start the IRC meeting by doing

#startmeeting Ansible Molecule Working Group
#info Agenda https://github.com/ansible/community/labels/molecule
Hi everybody, who's around
#chair user1 user2 ...
#topic First Topic
#info Link to PR/Issue/more detail
#agreed [user1] to do X
#topic Second Topic
...
#topic Open Floor
...
Thank you everybody for attending
#endmeeting
@gundalow
Copy link
Contributor Author

Possible items for agenda:

@themr0c
Copy link

themr0c commented Jan 17, 2019

I would like to emphasize the point that for the community, the molecule docker image can be regarded as the most official docker image to get ansible. Until october, we had monthly releases of molecule. As a consequence, it was possible to use the latest docker image of molecule to get a docker image with the latest stable image of ansible. Now the latest molecule docker image is quite lagging behing, and it is becoming a problem. As a consequence, i believe it would be a good idea to keep the same rythm, and release as long the release won't introduce new major issues.

@Shaps
Copy link

Shaps commented Jan 17, 2019

Not sure if it's sensible at this stage, but having some sort of idea of a release schedule for molecule would be good

@decentral1se

This comment has been minimized.

@dagwieers

This comment has been minimized.

@MarkusTeufelberger
Copy link

I'd be interested in some longer term goals:

  • Should molecule become something like ansible-role-test or retain its name, brand and external repository?
  • Cookiecutter templates for creating molecule enabled roles is nice, but feels very similar to ansible-galaxy init. Should this "create a sample role template with all best practices pre-filled" stuff migrate to galaxy or stay in molecule?
  • Upstream the molecule Vagrant module (Upstream the vagrant module molecule#1404)?
  • Should molecule be more explicit in showing what happens (e.g. rendering out the built-in playbooks to create/destroy resources), or is that too much duplication and too limiting when these processes are updated?
  • Currently testing roles with Docker is the easiest way to use molecule, but as soon as something like systemd units is involved, it quickly turns into a mess. What are other people's best practices to test roles that require a bit deeper access to system state locally and on a CI system? How can we add them to molecule/molecule's documentation?

Most of these are probably not good topics for a first meeting, but I'd like to have them discussed maybe after Ansible 2.8 drops. It would be great to be able to test roles locally using just the official package/binaries after installing Ansible 2.10.

@gundalow
Copy link
Contributor Author

Import by URL https://raw.githubusercontent.com/ansible/community/master/meetings/ical/molecule.ics into your calendar of choice. See you Wednesday 1900 UTC in #ansible-molecule

@rgarrigue
Copy link

rgarrigue commented Jan 17, 2019

Since I mostly worked trying to get teams on the ansible + molecule way I'm interested in users' engagement & ease of use. So here are some ideas for later on

  • State of the doc. Imho good, exhaustive technically but lacking in term of getting started. A traditional ops picking ansible for its learning curve might find molecule a difficult dev-ish looking stuff.

  • Reports. Test is hard to sell to a (non technical) boss. Being able to produce a simple html or pdf is a big plus for some of us. I investigated this and ended up with a 1990's looking report through pytest. As a comparison, robot framework was chosen in my previous company for it's okay looking report.

  • As Markus stated, molecule could be merged in ansible-galaxy init and completed, maybe optionally, with stuff like linters files (.flake8, .ansible-lint.yaml, ...) and CI/CD files (.travis.yaml, .gitlab-ci.yaml, ...)

@loomsen
Copy link

loomsen commented Jan 17, 2019

My thoughts, also mid- or longterm:

  • molecule as a replacement for the now abandoned ansible-container as a means to build images (in the end, we actually built a docker image when we provision it with molecule, so why not just docker save and tag it)
  • a kubernetes driver to run instances on a kubernetes cluster and provision those

@webknjaz

This comment has been minimized.

@gundalow
Copy link
Contributor Author

ansible/molecule#1642 Proposal: Use prepare.yml instead of rendering Dockerfiles with the Docker driver from @MarkusTeufelberger

@fabianvf
Copy link

fabianvf commented Jan 18, 2019

@loomsen wrt the kubernetes driver, for simple cases I've been able to bring up a Kubernetes cluster using a Kubernetes-in-docker image and test against it with just the docker driver (https://github.com/fabianvf/example-generated-operator/blob/master/molecule/test-local/molecule.yml)

things I'm interested in:

  • Further exploration of testing against Kubernetes (we could look at the new kind tool as the basis for a driver)
  • Ansible-based verifier - for the Kubernetes roles I'm working on Ansible is by far the easiest way to interact with the cluster. Currently I just end up importing an assertion playbook at the end of converge which looks and feels bad.

@robertdebock

This comment has been minimized.

@rgarrigue

This comment has been minimized.

@fabianvf

This comment has been minimized.

@samdoran

This comment has been minimized.

@chris-short

This comment has been minimized.

@decentral1se

This comment has been minimized.

@decentral1se

This comment has been minimized.

@decentral1se
Copy link

decentral1se commented Mar 23, 2019

  • Prioritise session for 2.21 (kick off the rest to 2.22)
  • Release schedule policy - what can we reasonably stick to

@webknjaz
Copy link
Member

@decentral1se a wild idea (as an addition to your first point): you might try figuring out whether the current versioning scheme fits the project needs. I personally like semver, but maybe somebody has reasons not to have it. I think a strong versioning scheme makes it more clear what to expect from updates just by looking/comparing versions. For me, currently, it looks like minor (patch?) version update currently can mean anything (in the current implementation) ‒ bugfixes, features and breaking changes combined. What would bumping the major version mean in this case? (3.0)

@decentral1se

This comment has been minimized.

@ssbarnea

This comment has been minimized.

@webknjaz

This comment has been minimized.

@retr0h

This comment has been minimized.

@themr0c

This comment has been minimized.

@decentral1se

This comment has been minimized.

@gundalow

This comment has been minimized.

@gundalow

This comment has been minimized.

@webknjaz

This comment has been minimized.

@decentral1se

This comment has been minimized.

@tima

This comment has been minimized.

@tima

This comment has been minimized.

@decentral1se

This comment has been minimized.

@gundalow

This comment has been minimized.

@gundalow

This comment has been minimized.

@gundalow

This comment has been minimized.

@decentral1se

This comment has been minimized.

@decentral1se

This comment has been minimized.

@decentral1se

This comment has been minimized.

@ssbarnea
Copy link
Member

@gundalow Apparently me and @decentral1se are not able to change channel topic. Found it today when I wanted to advertise the usage survey from https://github.com/pycontribs/pytest-molecule/issues/41

@decentral1se
Copy link

Current status of the project, or, Molecule needs YOU:

@MarkusTeufelberger
Copy link

Any updates on ansible/molecule#1548 (which is "locked as resolved")?

@gundalow
Copy link
Contributor Author

I've disabled DCO for Molecule, happy Automating!

@ssbarnea
Copy link
Member

ssbarnea commented Nov 4, 2019

I would like to propose @sshnaidm as core to molecule. He wrote the podman drivers, uses molecule at work and has a good track of making good code reviews (some would argue as too detailed). This should help us avoid cases where no reviewers are available. Please user thumbs to vote.

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

No branches or pull requests