Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 9a910ee9 authored by Dorian Turba's avatar Dorian Turba
Browse files

Merge branch 'trunk'

parents 2b608321 e2f1b0d8
No related branches found
Tags release-by-changelog@0.2.4
No related merge requests found
Pipeline #34282 passed
stages:
- build
- test
- deploy
include: include:
- remote: 'https://gitlab.com/r2devops/hub/-/raw/template_release@0.2.1/jobs/template_release/template_release.yml' - remote: 'https://gitlab.com/r2devops/hub/-/raw/template_release@0.5.2/jobs/template_release/template_release.yml'
...@@ -2,8 +2,19 @@ ...@@ -2,8 +2,19 @@
All notable changes to this job will be documented in this file. All notable changes to this job will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
...
## [0.2.4] - 2024-05-08
### Fixed
* release-by-changelog-venv job now only runs on tags
## [0.2.3] - 2024-05-06 ## [0.2.3] - 2024-05-06
### Fixed ### Fixed
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
allow-dirty = true allow-dirty = true
commit = true commit = true
config-file = "pyproject.toml" config-file = "pyproject.toml"
current_version = "0.2.3" current_version = "0.2.4"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}" replace = "{new_version}"
search = "{current_version}" search = "{current_version}"
......
include: include:
- remote: 'https://lab.frogg.it/swepy/cicd-templates/venv/-/raw/venv@1.0.0/venv.yml' - remote: 'https://lab.frogg.it/swepy/cicd-templates/venv/-/raw/venv@1.0.0/venv.yml'
venv:
rules:
- when: never
release_by_changelog_venv: release_by_changelog_venv:
extends: venv extends: venv
stage: build stage: build
...@@ -12,9 +8,12 @@ release_by_changelog_venv: ...@@ -12,9 +8,12 @@ release_by_changelog_venv:
PYTHON_SETUP: 'pip install release_by_changelog' PYTHON_SETUP: 'pip install release_by_changelog'
VENV_ARTIFACT_NAME: 'release_by_changelog_venv' VENV_ARTIFACT_NAME: 'release_by_changelog_venv'
rules: rules:
- when: null
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
venv:
rules:
- when: never
release_by_changelog: release_by_changelog:
variables: variables:
IMAGE_NAME: 'python' IMAGE_NAME: 'python'
...@@ -30,7 +29,7 @@ release_by_changelog: ...@@ -30,7 +29,7 @@ release_by_changelog:
- cd $PROJECT_PATH - cd $PROJECT_PATH
- pwd # Debug - pwd # Debug
script: script:
- echo RELEASE_BY_CHANGELOG # Debug - echo $RELEASE_BY_CHANGELOG # Debug
- $RELEASE_BY_CHANGELOG - $RELEASE_BY_CHANGELOG
needs: needs:
- job: release_by_changelog_venv - job: release_by_changelog_venv
......
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