Skip to content
Snippets Groups Projects
Commit 4fe40b2e authored by Fabien Combernous's avatar Fabien Combernous
Browse files

use extends with realease task

parent 96f9f2ed
No related branches found
No related tags found
1 merge request!30Resolve "fix release process"
Pipeline #77671 canceled
...@@ -18,6 +18,9 @@ stages: ...@@ -18,6 +18,9 @@ stages:
matrix: matrix:
- RUBY_VERSION: ['3.2.0'] - RUBY_VERSION: ['3.2.0']
PUPPET_GEM_VERSION: ['~> 7'] PUPPET_GEM_VERSION: ['~> 7']
BLACKSMITH_FORGE_USERNAME: "$BLACKSMITH_FORGE_USERNAME"
BLACKSMITH_FORGE_API_KEY: "$BLACKSMITH_FORGE_API_KEY"
image: ruby:${RUBY_VERSION} image: ruby:${RUBY_VERSION}
cache: cache:
paths: paths:
...@@ -72,12 +75,8 @@ acceptance: ...@@ -72,12 +75,8 @@ acceptance:
release: release:
needs: needs:
- acceptance - acceptance
extends: .common-matrix
stage: release 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: script:
- bundle exec puppet strings generate --format markdown --out REFERENCE.md - bundle exec puppet strings generate --format markdown --out REFERENCE.md
- bundle exec rake module:push - bundle exec rake module:push
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment