Skip to content
Snippets Groups Projects
Commit 8d792f8e authored by jurgenhaas's avatar jurgenhaas
Browse files

#57 New task to merge release branch into main which only...

#57 New task to merge release branch into main which only runs on scheduled pipelines in the release branch
parent dfceffda
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,9 @@ Check 4 Updates: ...@@ -63,6 +63,9 @@ Check 4 Updates:
Release: Release:
extends: '.createrelease' extends: '.createrelease'
Publish Release:
extends: '.deployrelease'
LakeDrops: LakeDrops:
stage: execute stage: execute
variables: variables:
......
...@@ -668,6 +668,30 @@ Debug: ...@@ -668,6 +668,30 @@ Debug:
- $CHECKUPDATES - $CHECKUPDATES
- $TRIGGERTASK - $TRIGGERTASK
.deployrelease:
stage: release
tags:
- default
variables:
GIT_STRATEGY: none
image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
cache: {}
before_script: !reference [.prepareaccess, before_script]
script:
- rm -rf /tmp/release || true
- mkdir -p /tmp/release
- cd /tmp/release
- git clone -b release git@${CI_SERVER_HOST}:$CI_PROJECT_PATH.git .
- merge
- cd -
- rm -rf /tmp/release || true
dependencies:
- 'Validate Environment'
rules:
- if: $CI_COMMIT_REF_NAME != "release"
when: never
- if: $CI_PIPELINE_SOURCE == "schedule"
.check4update: .check4update:
stage: validation stage: validation
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment