You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
642 B
32 lines
642 B
kind: pipeline
|
|
type: docker
|
|
name: "Server CI"
|
|
|
|
|
|
steps:
|
|
- name: Unit tests
|
|
image: override6/tbasket-backend:latest
|
|
volumes:
|
|
- name: build
|
|
path: ./build
|
|
commands:
|
|
- ./mill --disable-ticker __.compile
|
|
- ./mill --disable-ticker tests.test
|
|
|
|
- name: Deploy
|
|
image: override6/tbasket-backend:latest
|
|
depends_on:
|
|
- 'Unit tests'
|
|
environment:
|
|
SSH_PRIVATE_KEY:
|
|
from_secret: SSH_PRIVATE
|
|
volumes:
|
|
- name: build
|
|
path: ./build
|
|
commands:
|
|
- ./mill Core.assembly
|
|
- ./mill JWTEmitter.assembly
|
|
- chmod 777 drone/deliver.sh
|
|
- drone/deliver.sh
|
|
|