Skip to content

Commit b1e866d

Browse files
authored
Merge pull request #144 from cisagov/maintenance/update_for_molecule_v5
Update for removal of the `lint` command in `molecule` v5
2 parents cbce3ac + 3299332 commit b1e866d

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

molecule/default/molecule-no-systemd.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ dependency:
1010
name: galaxy
1111
driver:
1212
name: docker
13-
lint: |
14-
set -e
15-
yamllint .
16-
ansible-lint
17-
flake8
1813
platforms:
1914
- image: amazonlinux:2023
2015
name: amazonlinux2023

molecule/default/molecule-with-systemd.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ dependency:
99
name: galaxy
1010
driver:
1111
name: docker
12-
lint: |
13-
set -e
14-
yamllint .
15-
ansible-lint
16-
flake8
1712
platforms:
1813
- cgroupns_mode: host
1914
command: /lib/systemd/systemd

requirements-test.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
# We need at least version 6 to correctly identify Amazon Linux 2023
99
# as using the dnf package manager.
1010
ansible>=6,<7
11-
ansible-lint>=5,<6
12-
flake8
13-
molecule
11+
# With the release of molecule v5 there were some breaking changes so
12+
# we need to pin at v5 or newer. However, v5.0.0 had an internal
13+
# dependency issue so we must use the bugfix release as the actual
14+
# lower bound.
15+
molecule>=5.0.1
1416
molecule-plugins[docker]
1517
pre-commit
1618
pytest-testinfra
17-
yamllint

0 commit comments

Comments
 (0)