Commit f2f9eab
authored
Supported running cleanup job on GCP (#719)
ref https://linear.app/ghost/issue/PROD-685
Connecting to CloudSQL isn't done in the usual way, we need to use the unix socket
which is mounted automatically for Cloud Run Jobs at /cloudsql/<instance-name>1 parent cbf2d76 commit f2f9eab
File tree
1 file changed
+14
-7
lines changed- jobs/cleanup-expired-key-value-records
1 file changed
+14
-7
lines changedLines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments