Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ runs:
steps:
- name: Run molecule
id: Molecule
run: molecule converge
run: MOLECULE_NO_LOG="false" molecule converge
shell: bash
1 change: 0 additions & 1 deletion molecule/configure/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
hosts: localhost
connection: local
gather_facts: false
no_log: "{{ molecule_no_log }}"
tasks:
- debug:
msg: This is a no-op. Please ensure you have run create on the default scenario.
10 changes: 10 additions & 0 deletions molecule/default/Dockerfile.al2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM amazonlinux:2

# Run a system update so the system doesn't overwrite the fake systemctl later
RUN yum -y update
# Install sudo which is required by targz installation script
RUN yum -y install sudo

# Adding fake systemctl and python
RUN curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py -o /usr/bin/systemctl \
&& yum install python3 -y
4 changes: 4 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ platforms:
image: centos:8
dockerfile: Dockerfile.centos8
command: "/usr/sbin/init"
- name: al-2
image: al:2
dockerfile: Dockerfile.al2
command: "/usr/sbin/init"
- name: oraclelinux-8
image: oraclelinux:8
dockerfile: Dockerfile.oraclelinux8
Expand Down