Skip to content

Commit

Permalink
Add back triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
ionwyn committed Feb 10, 2025
1 parent 25f8be5 commit 04c8cfb
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pipeline/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const phases = {
client_memory: "100Mi",
},
uat: {
namespace: "d3d940-test",
namespace: "d3d940-uat",
name: `${name}`,
phase: "uat",
changeId: changeId,
Expand Down
10 changes: 10 additions & 0 deletions openshift/client-deploy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ objects:
- name: HMCR_DEPLOY_SUFFIX
value: ${SUFFIX}
test: false
triggers:
- imageChangeParams:
automatic: true
containerNames:
- client
from:
kind: ImageStreamTag
name: ${NAME}:${VERSION}
type: ImageChange
- type: ConfigChange
- apiVersion: v1
kind: Service
metadata:
Expand Down
10 changes: 10 additions & 0 deletions openshift/hangfire-deploy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ objects:
defaultMode: 420
name: api-appsettings-${ENV}
test: false
triggers:
- imageChangeParams:
automatic: true
containerNames:
- hangfire
from:
kind: ImageStreamTag
name: ${NAME}:${VERSION}
type: ImageChange
- type: ConfigChange
- apiVersion: v1
kind: Service
metadata:
Expand Down
13 changes: 13 additions & 0 deletions openshift/postgresql-deploy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ objects:
persistentVolumeClaim:
claimName: ${NAME}${SUFFIX}
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- ${NAME}${SUFFIX}
from:
kind: ImageStreamTag
name: ${IMAGE_STREAM_TAG}
namespace: d3d940-tools
type: ImageChange
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
Expand All @@ -102,6 +113,8 @@ objects:
apiVersion: v1
metadata:
name: ${NAME}${SUFFIX}
selector:
app: ${NAME}${SUFFIX}
spec:
ports:
- name: postgresql
Expand Down

0 comments on commit 04c8cfb

Please sign in to comment.