forked from barcus/bareos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
23 lines (20 loc) · 1009 Bytes
/
circle.yml
File metadata and controls
23 lines (20 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
general:
build_dir: build
machine:
pre:
- pip install docker-compose
services:
- docker
dependencies:
pre:
- sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe'
- sudo apt-get update ; sudo apt-get install shellcheck
test:
pre:
- docker-compose -f docker-compose-mysql.yml up -d
override:
#- sudo lxc-attach -n "$(docker inspect --format "{{.Id}}" build_bareos-dir_1)" -- bash -c 'echo "run job=backup-bareos-fd yes" | bconsole'
- shellcheck ../director-mysql/16.2/docker-entrypoint.sh ../director-pgsql/16.2/docker-entrypoint.sh ../storage/16.2/docker-entrypoint.sh ../client/16.2/docker-entrypoint.sh ../webui/16.2/docker-entrypoint.sh
- shellcheck ../director-mysql/17.2/docker-entrypoint.sh ../director-pgsql/17.2/docker-entrypoint.sh ../storage/17.2/docker-entrypoint.sh ../client/17.2/docker-entrypoint.sh ../webui/17.2/docker-entrypoint.sh
post:
- docker-compose -f docker-compose-mysql.yml down