Try updating gcloud molecule test docker image versions

This commit is contained in:
Chris Hawk 2025-01-10 15:44:30 -08:00
parent c819fc798d
commit d1cf030d93
3 changed files with 8 additions and 8 deletions

View file

@ -46,7 +46,7 @@ RUN yum -y install python-pip
{% endif %}
{# Install of Python3 #}
{% if item.image in ["ubuntu:18.04", "ubuntu:20.04", "debian:10"] %}
{% if item.image in ["ubuntu:18.04", "ubuntu:20.04", "ubuntu:24.04", "debian:10", "debian:11", "debian:12"] %}
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apt-utils python3-setuptools python3-pip
@ -99,13 +99,13 @@ RUN locale-gen en_US.UTF-8
RUN mkdir -p /etc/ansible
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
{% if item.image in ["centos:7", "centos:8", "debian:9", "debian:10"] %}
{% if item.image in ["centos:7", "centos:8", "debian:9", "debian:10", "debian:11", "debian:12"] %}
VOLUME ["/sys/fs/cgroup"]
{% elif item.image in ["ubuntu:16.04", "ubuntu:18.04", "ubuntu:20.04"] %}
{% elif item.image in ["ubuntu:16.04", "ubuntu:18.04", "ubuntu:20.04", "ubuntu:24.04"] %}
VOLUME ["/sys/fs/cgroup", "/tmp", "/run"]
{% endif %}
{% if item.image in ["centos:7", "centos:8"] %}
CMD ["/usr/sbin/init"]
{% elif item.image in ["ubuntu:16.04", "ubuntu:18.04", "ubuntu:20.04", "debian:9", "debian:10"] %}
{% elif item.image in ["ubuntu:16.04", "ubuntu:18.04", "ubuntu:20.04", "ubuntu:24.04", "debian:9", "debian:10", "debian:11", "debian:12"] %}
CMD ["/lib/systemd/systemd"]
{% endif %}

View file

@ -9,13 +9,13 @@ lint: |
ansible-lint
platforms:
- name: instance
image: ubuntu:20.04
image: ubuntu:24.04
privileged: true
ansible.builtin.command: /lib/systemd/systemd
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- name: instance
image: debian:10
image: debian:12
privileged: true
ansible.builtin.command: /lib/systemd/systemd
volumes:

View file

@ -9,13 +9,13 @@ lint: |
ansible-lint
platforms:
- name: instance
image: ubuntu:20.04
image: ubuntu:24.04
privileged: true
ansible.builtin.command: /lib/systemd/systemd
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- name: instance
image: debian:10
image: debian:12
privileged: true
ansible.builtin.command: /lib/systemd/systemd
volumes: