Commit 584a43e
authored
Write cached zip archive to file before uploading (#26)
## Summary:
Terraform managed to trick me again. I was able to apply this from my machine, but it failed in CI. It seems the google storage upload isn't happy with pushing a zip using the `content` field. Instead, let's write the zip to file during the apply, then push that file.
Issue: INFRA-XXXX
## Test plan:
I again ran this and triple-checked that the zip was actually pushed and deployed as a cloud function. See the latest revision [here](https://console.cloud.google.com/run/detail/us-central1/check-sentry-rate-limiting/revisions?project=khan-internal-services).
Author: jwbron
Reviewers: copilot-pull-request-reviewer[bot], jwbron, csilvers, MiguelCastillo
Required Reviewers:
Approved By: csilvers
Checks: ✅ 7 checks were successful, ⏭️ 2 checks have been skipped
Pull Request URL: #261 parent e51f43a commit 584a43e
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
59 | 70 | | |
60 | 71 | | |
61 | 72 | | |
| |||
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
| |||
0 commit comments