Comment out the build/deployment triggers

This commit is contained in:
Ovidio Mallo 2016-12-05 17:17:21 +01:00
parent be0ba18857
commit 364b9aac9f
3 changed files with 31 additions and 33 deletions

View file

@ -22,16 +22,16 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- frontend
from:
kind: ImageStreamTag
name: frontend:latest
#triggers:
#- type: ConfigChange
#- type: ImageChange
# imageChangeParams:
# automatic: true
# containerNames:
# - frontend
# from:
# kind: ImageStreamTag
# name: frontend:latest
---
apiVersion: v1
kind: Service

View file

@ -28,15 +28,13 @@ spec:
kind: ImageStreamTag
name: ruby:2.3
namespace: openshift
triggers:
- type: GitHub
github:
secret: vo6X68zZF5Vo7Gr3VE6i
- type: Generic
generic:
secret: 1mmeM9GOBvY2aS7rlF0f
- type: ConfigChange
- type: ImageChange
imageChange: {}
status:
lastVersion: 0
#triggers:
#- type: GitHub
# github:
# secret: vo6X68zZF5Vo7Gr3VE6i
#- type: Generic
# generic:
# secret: 1mmeM9GOBvY2aS7rlF0f
#- type: ConfigChange
#- type: ImageChange
# imageChange: {}

View file

@ -22,17 +22,17 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- frontend
from:
kind: ImageStreamTag
name: frontend:test
namespace: rubex-dev
#triggers:
#- type: ConfigChange
#- type: ImageChange
# imageChangeParams:
# automatic: true
# containerNames:
# - frontend
# from:
# kind: ImageStreamTag
# name: frontend:test
# namespace: rubex-dev
---
apiVersion: v1
kind: Service