From 09edba0c4641eddb31b82279b566e95ca1554c1e Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Wed, 13 Feb 2019 22:18:35 +0100 Subject: [PATCH] For Ubuntu, test latest, rolling and devel. --- .travis.yml | 8 ++++---- README.md | 2 +- molecule/default/molecule.yml | 6 ++++-- molecule/{ubuntu-artful => ubuntu-rolling}/Dockerfile.j2 | 0 molecule/{ubuntu-artful => ubuntu-rolling}/molecule.yml | 6 +++--- molecule/{ubuntu-artful => ubuntu-rolling}/playbook.yml | 0 .../tests/test_default.yml | 0 molecule/{ubuntu-artful => ubuntu-rolling}/verify.yml | 0 8 files changed, 12 insertions(+), 10 deletions(-) rename molecule/{ubuntu-artful => ubuntu-rolling}/Dockerfile.j2 (100%) rename molecule/{ubuntu-artful => ubuntu-rolling}/molecule.yml (79%) rename molecule/{ubuntu-artful => ubuntu-rolling}/playbook.yml (100%) rename molecule/{ubuntu-artful => ubuntu-rolling}/tests/test_default.yml (100%) rename molecule/{ubuntu-artful => ubuntu-rolling}/verify.yml (100%) diff --git a/.travis.yml b/.travis.yml index 4376b39..72606e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,9 +40,9 @@ env: - version=">=2.6,<2.7" distro="opensuse-tumbleweed" - version="" distro="opensuse-tumbleweed" - version="devel" distro="opensuse-tumbleweed" - - version=">=2.6,<2.7" distro="ubuntu-artful" - - version="" distro="ubuntu-artful" - - version="devel" distro="ubuntu-artful" + - version=">=2.6,<2.7" distro="ubuntu-rolling" + - version="" distro="ubuntu-rolling" + - version="devel" distro="ubuntu-rolling" - version=">=2.6,<2.7" distro="ubuntu-latest" - version="" distro="ubuntu-latest" - version="devel" distro="ubuntu-latest" @@ -70,7 +70,7 @@ matrix: - env: version="devel" distro="fedora-rawhide" - env: version="devel" distro="opensuse-leap" - env: version="devel" distro="opensuse-tumbleweed" - - env: version="devel" distro="ubuntu-artful" + - env: version="devel" distro="ubuntu-rolling" - env: version=">=2.6,<2.7" distro="ubuntu-devel" - env: version="" distro="ubuntu-devel" - env: version="devel" distro="ubuntu-devel" diff --git a/README.md b/README.md index 037d219..5d68e0f 100644 --- a/README.md +++ b/README.md @@ -87,9 +87,9 @@ This role has been tested against the following distributions and Ansible versio |fedora-rawhide*|yes|yes|yes*| |opensuse-leap|yes|yes|yes*| |opensuse-tumbleweed|yes|yes|yes*| -|ubuntu-artful|yes|yes|yes*| |ubuntu-devel*|yes|yes|yes*| |ubuntu-latest|yes|yes|yes*| +|ubuntu-rolling|yes|yes|yes*| A single star means the build may fail, it's marked as an experimental build. diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index fc306c3..9155b99 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -34,8 +34,10 @@ platforms: image: opensuse:leap - name: dovecot-opensuse-tumbleweed image: opensuse:tumbleweed - - name: dovecot-ubuntu-artful - image: ubuntu:artful + - name: dovecot-ubuntu-latest + image: ubuntu:latest + - name: dovecot-ubuntu-rolling + image: ubuntu:rolling - name: dovecot-ubuntu-devel image: ubuntu:devel - name: dovecot-ubuntu-latest diff --git a/molecule/ubuntu-artful/Dockerfile.j2 b/molecule/ubuntu-rolling/Dockerfile.j2 similarity index 100% rename from molecule/ubuntu-artful/Dockerfile.j2 rename to molecule/ubuntu-rolling/Dockerfile.j2 diff --git a/molecule/ubuntu-artful/molecule.yml b/molecule/ubuntu-rolling/molecule.yml similarity index 79% rename from molecule/ubuntu-artful/molecule.yml rename to molecule/ubuntu-rolling/molecule.yml index 3981fb9..269d18c 100644 --- a/molecule/ubuntu-artful/molecule.yml +++ b/molecule/ubuntu-rolling/molecule.yml @@ -8,8 +8,8 @@ driver: lint: name: yamllint platforms: - - name: dovecot-ubuntu-artful - image: ubuntu:artful + - name: dovecot-ubuntu-rolling + image: ubuntu:rolling provisioner: name: ansible inventory: @@ -19,7 +19,7 @@ provisioner: lint: name: ansible-lint scenario: - name: ubuntu-artful + name: ubuntu-rolling verifier: name: goss lint: diff --git a/molecule/ubuntu-artful/playbook.yml b/molecule/ubuntu-rolling/playbook.yml similarity index 100% rename from molecule/ubuntu-artful/playbook.yml rename to molecule/ubuntu-rolling/playbook.yml diff --git a/molecule/ubuntu-artful/tests/test_default.yml b/molecule/ubuntu-rolling/tests/test_default.yml similarity index 100% rename from molecule/ubuntu-artful/tests/test_default.yml rename to molecule/ubuntu-rolling/tests/test_default.yml diff --git a/molecule/ubuntu-artful/verify.yml b/molecule/ubuntu-rolling/verify.yml similarity index 100% rename from molecule/ubuntu-artful/verify.yml rename to molecule/ubuntu-rolling/verify.yml