question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrating to molecule v3 checklist

See original GitHub issue

How to migrate to molecule v3 (3.0a9 or newer)

Only delegated, docker and podman providers are ready, so if you use others, delay till they are updated or preferably give a hand with that.

  • remove scenario.name from molecule.yaml, from now on, only folder name determines the scenario name
  • remove lint: sections from molecule.yaml or replace them with newer syntax from documentation
  • if you use testinfra, add it as a pip dependency, is no longer installed by default
  • if you use linters, you need to add them as pip dependencies
  • (optional) rename playbook.yml to converge.yml to avoid a deprecation message

Known regressions with v3

  • TBH

When not to migrate to v3

If you use one of:

  • non-core providers like Azure, EC2, DigitalOcean, GCE, HetznerCloud, Linode, LXD, OpenStack or Vagrant, you probably do want to delay migration until they are updated. Keep in mind that as well as molecule, they are fully community supported, so if nobody steps in to help, they will be affected by bit rot and become unusable.

  • you are using goss verifier which was removed. It can still be re-implemented as a plugin, if anyone is willing to help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:14
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

8reactions
geerlingguycommented, Feb 20, 2020

Heh, I just started seeing new failures today as Molecule 3.0 arrived and I install via pip install molecule:

ERROR: Failed to pre-validate.

{'lint': ['must be of string type']}

Luckily for this project I already had the updated molecule.yml ready to go, but it looks like I’ll need to quickly get my other projects up to speed to prevent a CI-pocalypse! See fix: https://github.com/ansible-collections/kubernetes/pull/32/files

Note that a quick fix if you don’t want Molecule 3 yet (e.g. wait to migrate your tests to it), change your pip install to:

pip3 install molecule===2.22
7reactions
karcawcommented, Feb 21, 2020

I suggest you spell molecule properly in the tile of the issue? mocule => molecule

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade Molecule from 2 to 3 - austincloud.guru
The first step was to update my TravisCI build yaml to include additional python modules that are no longer requirements for Molecule including ......
Read more >
Molecule system requirements
The primary requirement for running a Molecule or Atom Cloud is that all nodes or Cloud Molecules must use the same installation directory....
Read more >
T-cell immunoglobulin mucin molecule-3, transformation ...
The effects of T-cell immunoglobulin mucin molecule-3 (Tim-3), transforming growth factor β (TGF-β), and chemokine-12 (CXCL12) expression on the ...
Read more >
Maximizing the value of phase III trials in immuno-oncology
If the preclinical and early clinical data are both unconvincing, extreme caution is warranted in moving forward to phase III. To apply the...
Read more >
The Roles of Junctional Adhesion Molecules (JAMs) in Cell ...
Soluble JAM-A blocked cultured endothelial cells migration (Koenen et al., 2009). Signaling through JAM-A is necessary for alpha(v)beta(3)-dependent HUVEC ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found