Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): stale images #372

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading