Attempt to move some things to the CI server config
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2022-11-03 16:42:45 +01:00
parent 2b1a8b86b2
commit 182d65a442
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 0 additions and 20 deletions

View File

@ -5,19 +5,12 @@ pipeline:
export_metadata:
image: gradle:jammy
pull: true
environment:
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G
- GRADLE_USER_HOME=${CI_WORKSPACE}/.gradle
commands:
- mkdir public
- gradle --build-cache :exportMetadata -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- mv version.json public/
build_platform_jars:
image: gradle:jammy
pull: true
environment:
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G
- GRADLE_USER_HOME=${CI_WORKSPACE}/.gradle
commands:
- gradle --build-cache :launcher-dist:build -Pflavor=fat -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- gradle --build-cache :launcher-dist:build -Pflavor=windows -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
@ -27,20 +20,12 @@ pipeline:
- mv public/Inceptum-fat.jar public/Inceptum.jar
build_wrapper:
image: gradle:jammy
pull: true
environment:
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G
- GRADLE_USER_HOME=${CI_WORKSPACE}/.gradle
commands:
- gradle --build-cache :wrapper:build -Pflavor=windows -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
- cp wrapper/build/libs/*.exe public/wrapper.exe
- cp wrapper/build/libs/*-all.jar public/wrapper.jar
publish_debug:
image: gradle:jammy
pull: true
environment:
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G
- GRADLE_USER_HOME=${CI_WORKSPACE}/.gradle
commands:
- gradle --build-cache build publish -Pflavor=maven -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED}
secrets: [ maven_token, maven_name ]
@ -48,10 +33,6 @@ pipeline:
- branch: master
publish_release:
image: gradle:jammy
pull: true
environment:
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G
- GRADLE_USER_HOME=${CI_WORKSPACE}/.gradle
commands:
- gradle --build-cache build publish -Pflavor=maven -Ppublic -Prelease
secrets: [ maven_token, maven_name ]
@ -60,7 +41,6 @@ pipeline:
branch: master
portable:
image: gradle:jammy
pull: true
commands:
- apt update
- apt install -y p7zip-full curl jq