From 0e51c7a1d4e97d9d277e95245dabce271d3f9e93 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 25 Sep 2023 07:56:40 +0200 Subject: [PATCH] Update and variablize then container to use in GitLab CI. --- defaults/main.yml | 3 +++ templates/gitlab-ci.yml.j2 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 540a2d5..a9a4653 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -20,5 +20,8 @@ author: Robert de Bock (robert@meinit.nl) # The full URL to your website. author_website: "https://robertdebock.nl/" +# The container to use for GitLab CI. +gitlab_container: "robertdebock/github-action-molecule:6.0.0" + # The molecule action to use. molecule_action: "robertdebock/molecule-action@6.0.0" diff --git a/templates/gitlab-ci.yml.j2 b/templates/gitlab-ci.yml.j2 index f2df6f9..922ca55 100644 --- a/templates/gitlab-ci.yml.j2 +++ b/templates/gitlab-ci.yml.j2 @@ -1,5 +1,5 @@ --- -image: "robertdebock/github-action-molecule:5.0.2" +image: "{{ gitlab_container }}" variables: PY_COLORS: 1