-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rultor.yml
27 lines (27 loc) · 918 Bytes
/
.rultor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
architect:
- h1alexbel
docker:
image: l3r8y/rultor-image:1.0.3
assets:
ghcr.txt: tracehubpm/secrets#assets/ghcr.txt
merge:
script: |
mvn clean install -Pjacoco --errors -Dstyle.color=never
release:
sensitive:
- ghcr.txt
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9_]+)?$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean install -Prelease
docker build -t ghcr.io/tracehubpm/tracehub:${tag} .
cat ../ghcr.txt | docker login ghcr.io --username h1alexbel --password-stdin
docker push ghcr.io/tracehubpm/tracehub:${tag}
# @todo #1:90min Create deploy script for rultor configuration.
# We should create deploy script that will deliver our Java software
# into some target platform. For now, we assuming that it will be
# Cloud VM with public IP, and SSH connection.
deploy:
script:
- "No deploy script for now"