Skip to content

Commit

Permalink
fix(ci): stale images (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Sep 23, 2024
1 parent d449288 commit 21da31d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ parameters:
- name: WMS_LAYERS_WHITELIST_USERS
description: List of users that can see active layers on the map view
required: true
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -166,6 +170,8 @@ objects:
secretKeyRef:
name: ${NAME}-${ZONE}-database
key: database-user
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
resources:
requests:
cpu: "${CPU_REQUEST}"
Expand Down
6 changes: 6 additions & 0 deletions database/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ parameters:
displayName: Database Volume Capacity
required: true
value: 256Mi
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- kind: PersistentVolumeClaim
apiVersion: v1
Expand Down Expand Up @@ -134,6 +138,8 @@ objects:
secretKeyRef:
name: ${NAME}-${ZONE}-${COMPONENT}
key: database-user
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
volumeMounts:
- name: ${NAME}-${ZONE}-${COMPONENT}
mountPath: ${PVC_MOUNT_PATH}
Expand Down
6 changes: 6 additions & 0 deletions frontend/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ parameters:
- name: VITE_USER_POOLS_WEB_CLIENT_ID
- name: VITE_ZONE
value: DEV
- name: RANDOM_EXPRESSION
description: Random expression to make sure deployments update
from: "[a-zA-Z0-9]{32}"
generate: expression
objects:
- apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -83,6 +87,8 @@ objects:
value: "${VITE_USER_POOLS_WEB_CLIENT_ID}"
- name: VITE_ZONE
value: "${ZONE}"
- name: RANDOM_EXPRESSION
value: ${RANDOM_EXPRESSION}
ports:
- containerPort: 3000
protocol: TCP
Expand Down

0 comments on commit 21da31d

Please sign in to comment.