You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hack/build-go.sh: Compress the openshift-tests-extension
Compress the openshift-tests-extension binary. Use `--force` to overwrite
the output file if already present to speed up local development. Use `--keep`
to keep the original binary after compressing it so that a developer may use it.
Compressing because [1]:
> Statically linked binaries are prohibited in FIPS and will
> cause failures if detected by product pipeline scans. To
> avoid this, extension binaries should be gzipped before
> being committed to container images.
Such a compressed binary can be then extracted as per [1]:
> After discovering a test extension binary, the origin test framework will
> extract the binary from the container image which carries it and store it
> in /tmp storage of the pod in which it is running.
>
> If the binary-path ends in .gz, the binary will be decompressed.
[1]: https://github.com/openshift/enhancements/blob/c2c0d43e3cd70cf79bc2b101ceb6a03c5e0114a8/enhancements/testing/openshift-tests-extension.md
0 commit comments