Skip to content

Commit 72a7bc2

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents 49d945d + 5ab90a0 commit 72a7bc2

43 files changed

Lines changed: 59 additions & 19 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,10 @@ src/molecule_plugins/_version.py
131131

132132
# Ignore generated files
133133
test/roles
134+
135+
# Quilt/Patch generated files
136+
.pc
137+
patches
138+
*.patch
139+
*.orig
140+
*.rej

molecule/test-podman/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ driver:
55
name: podman
66
platforms:
77
- name: instance
8-
image: docker.io/pycontribs/centos:8
8+
image: quay.io/centos/centos:stream9
99
pre_build_image: true
1010
published_ports:
1111
- 127.0.0.1:2080:80

src/molecule_plugins/docker/playbooks/validate-dockerfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# platforms supported as being managed by molecule/ansible, this does
1010
# not mean molecule itself can run on them.
1111
- image: alpine:edge
12-
- image: quay.io/centos/centos:stream8
12+
- image: quay.io/centos/centos:stream9
1313
- image: ubuntu:latest
1414
- image: debian:latest
1515
tags:

src/molecule_plugins/podman/playbooks/validate-dockerfile.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
# platforms supported as being managed by molecule/ansible, this does
1010
# not mean molecule itself can run on them.
1111
- image: alpine:edge
12-
- image: centos:7
13-
# - image: centos:8
12+
- image: quay.io/centos/centos:stream9
1413
- image: ubuntu:latest
1514
- image: debian:latest
1615
tasks:
1716
- name: Create isolated build directories for each image
1817
ansible.builtin.tempfile:
19-
prefix: "molecule-dockerfile-{{ item.image }}"
18+
prefix: "molecule-dockerfile-{{ item.image | replace('/', '-') }}"
2019
state: directory
2120
register: temp_image_dirs
2221
with_items: "{{ platforms }}"

test/azure/functional/test_azure.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def test_azure_command_init_scenario(temp_dir):
7676

7777
assert os.path.isdir(scenario_directory)
7878

79+
os.unlink(os.path.join(scenario_directory, "create.yml"))
80+
os.unlink(os.path.join(scenario_directory, "destroy.yml"))
81+
7982
# temporary trick to pass on CI/CD
8083
if "AZURE_SECRET" in os.environ:
8184
cmd = ["molecule", "test", "-s", "test-scenario"]

test/docker/scenarios/env-substitution/molecule/default/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ driver:
33
name: docker
44
platforms:
55
- name: instance-${DOES_NOT_EXIST:-local}
6-
image: ${MOLECULE_ROLE_IMAGE:-centos:7}
6+
image: ${MOLECULE_ROLE_IMAGE:-quay.io/centos/centos:stream9}
77
pre_build_image: false
88
provisioner:
99
name: ansible

test/ec2/functional/test_ec2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ def test_ec2_command_init_scenario(temp_dir):
5151
assert run_command(cmd).returncode == 0
5252

5353
assert os.path.isdir(scenario_directory)
54+
os.unlink(os.path.join(scenario_directory, "create.yml"))
55+
os.unlink(os.path.join(scenario_directory, "destroy.yml"))
5456

5557
cmd = ["molecule", "test", "-s", "test-scenario"]
5658
assert run_command(cmd).returncode == 0

test/gce/functional/test_func.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def test_gce_command_init_scenario(temp_dir):
5555
assert run_command(cmd).returncode == 0
5656

5757
assert os.path.isdir(scenario_directory)
58+
os.unlink(os.path.join(scenario_directory, "create.yml"))
59+
os.unlink(os.path.join(scenario_directory, "destroy.yml"))
5860

5961
cmd = ["molecule", "test", "-s", "test-scenario"]
6062
assert run_command(cmd).returncode == 0

test/openstack/test_func.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def test_openstack_init_and_test_scenario(tmp_path: pathlib.Path, DRIVER: str) -
5757
assert result.returncode == 0
5858

5959
assert scenario_directory.exists()
60+
os.unlink(os.path.join(scenario_directory, "create.yml"))
61+
os.unlink(os.path.join(scenario_directory, "destroy.yml"))
6062

6163
confpath = os.path.join(scenario_directory, "molecule.yml")
6264
testconf = os.path.join(

0 commit comments

Comments
 (0)