|
Ran
|
Jobs
1
|
Files
690
|
Run time
2min
|
Badge
README BADGES
|
push
github
update get-envoy tool to fetch binaries from oci images (#6183) This replaces the get-envoy tool with a new implementation that fetches binaries from OCI images published to https://github.com/orgs/pomerium/packages?repo_name=envoy-custom using the bazel rules added here: https://github.com/pomerium/envoy-custom/pull/169 The images are automatically tagged with the go module pseudo-version suffix string of the form `timestamp-commithash` where `timestamp` has the format `20060102150405` and `commithash` is the git commit hash truncated to the first 12 bytes. Tagged releases also tag the respective images with the release version in addition to the pseudo-version tag. When the get-envoy tool is run, it reads this version string from the `github.com/pomerium/envoy-custom` dependency in the current module and fetches the oci image with the matching tag. The tag must point to an oci image index (multi platform image) containing manifests for each supported os/arch. For example, it would look something like this: ```json { "schemaVersion": 2, "mediaType": "application/vnd.oci.image.index.v1+json", "manifests": [ { "mediaType": "application/vnd.oci.image.manifest.v1+json", "size": 915, "digest": "sha256:aeb6d011019bc21c1f8296c0df8b8d24e", "platform": { "architecture": "x86_64", "os": "linux" } }, { "mediaType": "application/vnd.oci.image.manifest.v1+json", "size": 915, "digest": "sha256:1ad4dec5d492a8591f7dda457384c497c", "platform": { "architecture": "aarch64", "os": "linux" } }, { "mediaType": "application/vnd.oci.image.manifest.v1+json", "size": 915, "digest": "sha256:cf0fb32c7b867b0f6ddb6b58c24308682", "platform": { "architecture": "aarch64", "os": "darwin" } } ] } ``` The tool will extract ... (continued)
2 of 301 new or added lines in 12 files covered. (0.66%)
23 existing lines in 7 files now uncovered.34878 of 77145 relevant lines covered (45.21%)
114.77 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 243 |
0.0 |
0.0% | pkg/envoy/get-envoy/main.go |
| 19 |
0.0 |
0.0% | pkg/envoy/extract_embed.go |
| 12 |
0.0 |
pkg/envoy/envoyversion/lockfile.go | |
| 9 |
4.07 |
-0.04% | internal/controlplane/server_debug.go |
| 5 |
0.0 |
0.0% | pkg/envoy/files/files.go |
| 4 |
0.0 |
0.0% | pkg/envoy/envoyversion/envoyversion.go |
| 3 |
2.53 |
-0.01% | pkg/envoy/envoy.go |
| 2 |
0.0 |
0.0% | cmd/pomerium/main.go |
| 1 |
0.0 |
0.0% | internal/zero/cmd/command_import.go |
| 1 |
0.0 |
0.0% | pkg/cmd/pomerium/pomerium.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 10 |
0.0 |
0.0% | pkg/envoy/get-envoy/main.go |
| 4 |
74.26 |
-1.18% | internal/databroker/config_source.go |
| 4 |
49.19 |
0.0% | internal/databroker/server_clustered_follower.go |
| 2 |
92.78 |
-1.11% | internal/fileutil/watcher.go |
| 1 |
57.49 |
-0.25% | internal/controlplane/server.go |
| 1 |
0.0 |
0.0% | pkg/envoy/envoyversion/envoyversion.go |
| 1 |
0.0 |
0.0% | pkg/envoy/extract_embed.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23820675490.1 | 690 |
45.21 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|