updated build manifest to be cool as heck
This commit is contained in:
parent
634f9609e5
commit
ebc4cf9425
1 changed files with 12 additions and 1 deletions
13
.build.yml
13
.build.yml
|
@ -1,6 +1,7 @@
|
||||||
image: alpine/edge
|
image: alpine/edge
|
||||||
packages:
|
packages:
|
||||||
- openjdk11
|
- openjdk11
|
||||||
|
- rsync
|
||||||
secrets:
|
secrets:
|
||||||
- 2c7f4f4a-a9c9-47e2-a432-b8a060d01381
|
- 2c7f4f4a-a9c9-47e2-a432-b8a060d01381
|
||||||
sources:
|
sources:
|
||||||
|
@ -8,4 +9,14 @@ sources:
|
||||||
tasks:
|
tasks:
|
||||||
- test: |
|
- test: |
|
||||||
cd slackbot
|
cd slackbot
|
||||||
./gradlew test
|
./gradlew --no-daemon test
|
||||||
|
- build: |
|
||||||
|
cd slackbot
|
||||||
|
./gradlew --no-daemon shadowJar
|
||||||
|
- deploy: |
|
||||||
|
cd slackbot
|
||||||
|
sshopts="ssh -o StrictHostKeyChecking=no"
|
||||||
|
ssh -o StrictHostKeyChecking=no slackbot@anthonycicchetti.com mv slackbot.jar slackbot.jar.bak-`date -I`
|
||||||
|
rsync ./build/libs/slackmemes-`cat VERSION`-all.jar slackbot@anthonycicchetti.com:slackbot.jar
|
||||||
|
- restartservice: |
|
||||||
|
ssh slackbot@anthonycicchetti.com sudo /bin/systemctl restart slackbot
|
||||||
|
|
Loading…
Add table
Reference in a new issue