Commit 2de6eec
authored
fix: resolve CI failures for egress policies and Python 3.7 buildpack support (#388)
* fix: add GitHub Actions CDN to egress allowlist
The conformance workflow was failing with ECONNREFUSED errors when trying
to download Python binaries from GitHub releases. This was caused by the
harden-runner egress policy blocking connections to the GitHub Actions
CDN IP addresses.
Added *.actions.githubusercontent.com:443 to the allowed endpoints to
fix Python setup for all versions (3.7, 3.8, etc).
* fix: remove Python 3.7 from buildpack integration tests
Google Cloud Buildpacks dropped Python 3.7 support for Ubuntu 22.04.
The version is not available in their runtime manifest.
Note: Functions Framework still supports Python 3.7, which is tested
in unit and conformance tests using GitHub Actions with Ubuntu 20.04.
* fix: use correct domain for GitHub release assets
The Python binaries are actually hosted on release-assets.githubusercontent.com,
not *.actions.githubusercontent.com
* fix: add release-assets domain to unit and conformance-asgi workflows
The same ECONNREFUSED issue was affecting multiple workflows with
harden-runner egress policies1 parent 58deaf1 commit 2de6eec
File tree
4 files changed
+3
-11
lines changed- .github/workflows
4 files changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 17 | | |
29 | 18 | | |
30 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments