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:
Release:
extends: '.createrelease'
Publish Release:
extends: '.deployrelease'
LakeDrops:
stage: execute
variables:
......
......@@ -668,6 +668,30 @@ Debug:
- $CHECKUPDATES
- $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:
stage: validation
tags:
......
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