-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 1.05 KB
/
push-scheduled.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Push scheduled postgres
# This workflow is necessary because PostgreSQL frequently updates its base image without specifying a patch level.
# As a result, we must perform weekly checks for any new images.
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 3' # Runs at 00:00 every Wednesday
permissions:
contents: read
packages: write
id-token: write
pull-requests: write
jobs:
upgrade-postgres:
strategy:
fail-fast: false
# We have to run one workflow after the other here
# because our product Helm Chart Construction Process cannot handle multiple processes.
max-parallel: 1
matrix:
include:
- postgres-major-version: 16
charts: '["asset-management-postgres", "opensight-keycloak-postgres", "scan-management-postgres", "vulnerability-intelligence-postgres", "opensight-notification-service-postgres"]'
uses: ./.github/workflows/push-compare.yml
with:
postgres-major-version: ${{ matrix.postgres-major-version }}
charts: ${{ matrix.charts }}
secrets: inherit