Skip to content
Snippets Groups Projects

feat: drop aptly deployment

Merged Ubbo Veentjer requested to merge develop into main
1 file
+ 2
28
Compare changes
  • Side-by-side
  • Inline
+ 2
28
@@ -73,7 +73,7 @@ validate-java:
- tags
image: maven:3.8.3-jdk-8
script:
- mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean validate package -Pdhrep.deb
- mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean validate package
artifacts:
reports:
# Declare the JUnit reports (recursive pattern for multi-module projects)
@@ -89,40 +89,14 @@ build-and-deploy-jars:
- develop
- tags
script:
- mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean deploy -Pdhrep.deb -Psbom
- mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean deploy -Psbom
- cp target/bom.json .
artifacts:
name: WEBAPP_DEB_PACKAGES
paths:
- ./target/*.deb
- ./bom.json
reports:
# Declare the JUnit reports (recursive pattern for multi-module projects)
junit:
- "**/target/*-reports/TEST-*.xml"
# Deploy DEB files to APTLY SNAPSHOT repository.
deploy-snapshot-deb:
stage: deploy
only:
- develop
variables:
PNAME: 'messagebeans'
PPATH: './target'
PKEY: 'SNAPSHOT'
APTLY_TARGET: 'indy-snapshots'
extends:
- .deploy-deb
# Deploy DEB files to APTLY RELEASE repository.
deploy-release-deb:
stage: deploy
only:
- tags
variables:
PNAME: 'messagebeans'
PPATH: './target'
PKEY: '${PVERSION}'
APTLY_TARGET: 'indy-releases'
extends:
- .deploy-deb
Loading