mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-12-02 10:50:51 +01:00
Builder config for Project Dobby
This commit is contained in:
parent
78905c2a05
commit
bd21fd9096
@ -1,10 +1,15 @@
|
|||||||
image: maven:latest
|
image: maven:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- target/
|
- target/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- mvn package
|
- mvn package
|
||||||
only:
|
only:
|
||||||
@ -13,3 +18,32 @@ build:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- target/Habbo-*.jar
|
- target/Habbo-*.jar
|
||||||
|
|
||||||
|
|
||||||
|
.notify_builder: ¬ify_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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user