Merge branch 'dev' into 'dev'

Project Dobby upstream config

See merge request morningstar/Arcturus-Community!113
This commit is contained in:
Harmonic 2020-04-25 05:06:53 -04:00
commit 97b5ee397a

View File

@ -1,10 +1,15 @@
image: maven:latest
stages:
- build
- deploy
cache:
paths:
- target/
build:
stage: build
script:
- mvn package
only:
@ -12,4 +17,33 @@ build:
- master
artifacts:
paths:
- target/Habbo-*.jar
- target/Habbo-*.jar
.notify_builder: &notify_builder
stage: deploy
trigger:
project: project-dobby/builder
strategy: depend
notify_deploy_release:
<<: *notify_builder
variables:
UPSTREAM_DECISION: "tag"
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA
UPSTREAM_PROJECT: $CI_PROJECT_PATH
UPSTREAM_BRANCH: $CI_COMMIT_TAG
only:
- tags
notify_deploy_dev:
<<: *notify_builder
variables:
UPSTREAM_DECISION: "dev"
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA
UPSTREAM_PROJECT: $CI_PROJECT_PATH
UPSTREAM_BRANCH: "dev"
only:
- dev