From 544f4c2567e13b6b4d4a6122ee0ab06835c894ca Mon Sep 17 00:00:00 2001 From: "Stefan E. Funk" <funk@sub.uni-goettingen.de> Date: Wed, 9 Nov 2022 11:47:17 +0100 Subject: [PATCH] build: add test code --- .gitlab-ci.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db149ea..06138df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,9 +49,25 @@ prepare-release: rules: # Only run if branch "main" AND commit title IS NOT "1.2.3" (main commit with tag) AND DOES NOT START WITH "Prepare next development iteration" (main commit with new version) - if: $CI_COMMIT_REF_NAME == "main" && $CI_COMMIT_TITLE !~ /^[\d\.]+$/ && $CI_COMMIT_TITLE !~ /^Prepare next development iteration/ +# image: maven:3.8.3-jdk-8 +# extends: +# - .prepare-semantic-release-dry-run image: maven:3.8.3-jdk-8 - extends: - - .prepare-semantic-release-dry-run + before_script: + - curl -sL https://deb.nodesource.com/setup_14.x | bash - + - apt-get install -y nodejs + - npm ci --unsafe-perm --cache .npm --prefer-offline + script: + - git config pull.rebase false + - git fetch + - git checkout develop + - git pull + - cat pom.xml + - git checkout main + - cat pom.xml + - git branch --set-upstream-to=origin/main main + - git pull + - npx semantic-release --use-conveyal-workflow --dev-branch=develop --skip-maven-deploy --disable-snapshot-skip-ci --additionalFilesToCommit CHANGELOG.md --disable-final-skip-ci --dry-run # Build, validate, and package all the feature branches validate-java: -- GitLab