-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
46 lines (40 loc) · 1.02 KB
/
circle.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
37
38
39
40
41
42
43
44
45
46
general:
artifacts:
- "images"
branches:
ignore:
- /rootfs-.*/
machine:
environment:
AZK_REMOVE_CONTAINER: false
AZK_DISABLE_TRACKER: true
pre:
- |
# install docker
sudo curl -Ls -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.0-circleci'
sudo chmod 0755 /usr/bin/docker
- |
# force install azk
curl -Ls https://gist.github.com/gullitmiranda/f80e1b83363720998db1/raw/d826472e07fdbbcf9cfc60c192e0aad90583b504/install_azk_forced.sh | bash
azk config set terms_of_use.accepted 1
services:
- docker
dependencies:
cache_directories:
- "~/.azk"
- "~/docker"
override:
- docker info
- azk agent start --quiet
- azk doctor
test:
override:
- make -e build
- make -e test
deployment:
hub:
branch: master
commands:
- |
# Trigger all tags/branchs for this automated build.
curl -H "Content-Type: application/json" --data '{"build": true}' -X POST ${DOCKER_HUB_HOOK}