-
Notifications
You must be signed in to change notification settings - Fork 0
/
.djinn.yml
36 lines (36 loc) · 902 Bytes
/
.djinn.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
28
29
30
31
32
33
34
35
36
namespace: djinn
driver:
type: qemu
image: djinn-dev
sources:
- https://github.com/djinn-ci/djinn
env:
- LDFLAGS=-s -w
- INTEGRATION_CONFIG_DIR=testdata
- PGDSN=host=localhost port=5432 dbname=djinn user=mgrt password=secret
stages:
- setup
- make
jobs:
- stage: setup
commands:
- printf "127.0.0.1\tlocal.dev\n" | tee -a /etc/hosts
- cd djinn
- mgrt run -c schema -type postgresql -dsn "$PGDSN"
- mgrt run -c perms -type postgresql -dsn "$PGDSN"
- mgrt run -c dev -type postgresql -dsn "$PGDSN"
- stage: make
commands:
- cd djinn
- ./make.sh
artifacts:
- djinn/integration/testdata/log/server.log
- djinn/integration/testdata/log/webhook.log
- djinn/integration/testdata/log/worker.log
- djinn/bin/djinn
- djinn/bin/djinn-consumer
- djinn/bin/djinn-curator
- djinn/bin/djinn-scheduler
- djinn/bin/djinn-server
- djinn/bin/djinn-worker
- djinn/bin/sum.manif