nginx: series 1

This commit is contained in:
Sameer Naik
2017-02-20 20:33:40 +05:30
parent f68a75ec76
commit 6dd5bc6752
7 changed files with 19 additions and 4 deletions

View File

@@ -1,2 +1 @@
/local/
*.tar.gz
local/

View File

@@ -0,0 +1,14 @@
version: '2'
services:
nginx:
image: 'bitnami/nginx:1'
ports:
- '80:80'
- '443:443'
volumes:
- 'nginx_data:/bitnami/nginx'
volumes:
nginx_data:
driver: local

View File

@@ -2,6 +2,8 @@ machine:
services:
- docker
environment:
RELEASE_SERIES_LIST: 1
LATEST_STABLE: 1
IMAGE_NAME: nginx
CHART_NAME: nginx
CHART_REPO: https://github.com/bitnami/charts
@@ -12,11 +14,11 @@ dependencies:
override:
- docker info
- gcloud version
- docker pull $DOCKER_PROJECT/$IMAGE_NAME:_ || true
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-pull-cache.sh | bash -
test:
override:
- docker build --rm=false -t $DOCKER_PROJECT/$IMAGE_NAME:$CIRCLE_BUILD_NUM .
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-image-test.sh | bash -
deployment:
cache: