From 4d3fe4e34617cae2463692f96e2a0fc0c348096e Mon Sep 17 00:00:00 2001 From: Alastair Smith Date: Tue, 5 Mar 2019 17:12:41 -0600 Subject: [PATCH] update Jenkinsfile --- Jenkinsfile | 4 ++-- docker-compose_stage.yml | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 docker-compose_stage.yml diff --git a/Jenkinsfile b/Jenkinsfile index 0282589c12..a865f73846 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { stages { stage( 'build and push new beta-stage image' ) { when { - branch 'jenkins-test' + branch 'amberjack' } steps { sh 'echo "Build and push new beta-stage image here"' @@ -47,7 +47,7 @@ pipeline { } stage( 'update beta-stage service' ) { when { - branch 'jenkins-test' + branch 'amberjack' } steps { sh 'echo "Update beta-stage service here"' diff --git a/docker-compose_stage.yml b/docker-compose_stage.yml new file mode 100644 index 0000000000..15e6453381 --- /dev/null +++ b/docker-compose_stage.yml @@ -0,0 +1,11 @@ +version: "2" +services: + docs-beta-stage: + build: + context: . + dockerfile: Dockerfile + image: docs/ + ports: + - "4000:4000" + volumes: + - "./:/usr/src/app"