You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2017/05/26 21:43:00 UTC
[incubator-openwhisk] branch master updated: use apigateway.version
to pinned docker image (#2302)
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 94256c8 use apigateway.version to pinned docker image (#2302)
94256c8 is described below
commit 94256c8c012bd27230d822ad1af68b83ccf33de8
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Fri May 26 17:42:58 2017 -0400
use apigateway.version to pinned docker image (#2302)
---
ansible/group_vars/all | 1 +
ansible/roles/apigateway/tasks/deploy.yml | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ansible/group_vars/all b/ansible/group_vars/all
index 6d8c64e..6a7df0f 100644
--- a/ansible/group_vars/all
+++ b/ansible/group_vars/all
@@ -159,6 +159,7 @@ apigateway:
api: 9000
api_secure: 443
mgmt: 9001
+ version: 0.7.0
redis:
version: 3.2
diff --git a/ansible/roles/apigateway/tasks/deploy.yml b/ansible/roles/apigateway/tasks/deploy.yml
index 452538d..4f95f5f 100644
--- a/ansible/roles/apigateway/tasks/deploy.yml
+++ b/ansible/roles/apigateway/tasks/deploy.yml
@@ -2,14 +2,14 @@
# This role will install apigateway
- name: "pull the openwhisk/apigateway image"
- shell: "docker pull openwhisk/apigateway"
+ shell: "docker pull openwhisk/apigateway:{{ apigateway.version }}"
when: apigateway_local_build is undefined
#temporary pinned to image 0.7.0 until apigateway fixes regressions
- name: (re)start apigateway
docker_container:
name: apigateway
- image: openwhisk/apigateway:0.7.0
+ image: openwhisk/apigateway:{{ apigateway.version }}
state: started
recreate: true
restart_policy: "{{ docker.restart.policy }}"
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].