forked from Fortiz2305/bitnami-docker-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (26 loc) · 764 Bytes
/
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
machine:
services:
- docker
environment:
IMAGE_NAME: jenkins
CHART_NAME: jenkins
CHART_REPO: https://github.com/bitnami/charts
DOCKER_PROJECT: bitnami
GCLOUD_PROJECT: bitnami-containers
dependencies:
override:
- docker info
- gcloud version
- docker pull $DOCKER_PROJECT/$IMAGE_NAME:_ || true
test:
override:
- docker build --rm=false -t $DOCKER_PROJECT/$IMAGE_NAME:$CIRCLE_BUILD_NUM .
deployment:
cache:
branch: master
commands:
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-update-cache.sh | bash -
release:
tag: /^[0-9].*-r[0-9]+$/
commands:
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-release-image.sh | bash -