From 4fe40b2e9861402b6aa9ed67478a655ed7e88661 Mon Sep 17 00:00:00 2001 From: Fabien COMBERNOUS <fabien.combernous@adullact.org> Date: Tue, 2 Jul 2024 11:59:15 +0200 Subject: [PATCH] use extends with realease task --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb10a4f..ae7db54 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,9 @@ stages: matrix: - RUBY_VERSION: ['3.2.0'] PUPPET_GEM_VERSION: ['~> 7'] + BLACKSMITH_FORGE_USERNAME: "$BLACKSMITH_FORGE_USERNAME" + BLACKSMITH_FORGE_API_KEY: "$BLACKSMITH_FORGE_API_KEY" + image: ruby:${RUBY_VERSION} cache: paths: @@ -72,12 +75,8 @@ acceptance: release: needs: - acceptance + extends: .common-matrix stage: release - image: ruby:3.2.0 - variables: - PUPPET_GEM_VERSION: "~> 7" - BLACKSMITH_FORGE_USERNAME: "$BLACKSMITH_FORGE_USERNAME" - BLACKSMITH_FORGE_API_KEY: "$BLACKSMITH_FORGE_API_KEY" script: - bundle exec puppet strings generate --format markdown --out REFERENCE.md - bundle exec rake module:push -- GitLab