-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove further unused fips infrastructure #27900
Conversation
We don't build fips for arm, as documented in #10581.
We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859.
BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI.
f1bc237
to
f82b5ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me, ship it.
A belated follow-up - it looks like the
This error does not occur with the |
I suspected this as well, but I was trying to be conservative in my changes. I'd be fine removing |
* Remove Dockerfile-arm-fips We don't build fips for arm, as documented in #10581. * Stop building buildbox-fips We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859. * Fix fips buildbox BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI. (cherry picked from commit 6ef1186)
* Remove Dockerfile-arm-fips We don't build fips for arm, as documented in #10581. * Stop building buildbox-fips We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859. * Fix fips buildbox BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI. (cherry picked from commit 6ef1186)
* Remove Dockerfile-arm-fips We don't build fips for arm, as documented in #10581. * Stop building buildbox-fips We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859. * Fix fips buildbox BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI. (cherry picked from commit 6ef1186)
* Remove Dockerfile-arm-fips We don't build fips for arm, as documented in #10581. * Stop building buildbox-fips We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859. * Fix fips buildbox BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI. (cherry picked from commit 6ef1186)
* Remove unused FIPS build boxes (#26859) FIPS is only built on amd64, and only on our centos:7 buildboxes. These other dockerfiles and targets are vestigial. Furthermore, the buildbox is a security risk, as ubuntu:18.04 is not supported after 2023-05-31. If/when we want to support FIPS on ARM, we can build off the centos:7 infrastructure, or its successor. (cherry picked from commit fafa16a) * Remove further unused fips infrastructure (#27900) * Remove Dockerfile-arm-fips We don't build fips for arm, as documented in #10581. * Stop building buildbox-fips We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859. * Fix fips buildbox BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI. (cherry picked from commit 6ef1186) * Update signature --------- Co-authored-by: Walt <walt@goteleport.com>
* Remove unused FIPS build boxes (#26859) FIPS is only built on amd64, and only on our centos:7 buildboxes. These other dockerfiles and targets are vestigial. Furthermore, the buildbox is a security risk, as ubuntu:18.04 is not supported after 2023-05-31. If/when we want to support FIPS on ARM, we can build off the centos:7 infrastructure, or its successor. (cherry picked from commit fafa16a) * Remove further unused fips infrastructure (#27900) * Remove Dockerfile-arm-fips We don't build fips for arm, as documented in #10581. * Stop building buildbox-fips We do not use this buildbox for anything. This step is failing because the supporting infrastructure for buildbox-fips was removed in #26859. * Fix fips buildbox BUILDBOX_FIPS was removed, replaced by BUILDBOX_CENTOS7_FIPS. Unfortunately I missed updating this target in #26859. This subsequently broke e CI. (cherry picked from commit 6ef1186) * Update signature --------- Co-authored-by: Walt <walt@goteleport.com>
This patch remove the
buildbox-fips
publishing pipeline, and fixes an issue seen in teleport.e fips builds caused by usingbuildbox-fips
instead ofbuildbox-centos7-fips
.Context: I missed a couple items in #26859, as these were not caught by any pre-merge checks. This resulted in some post-merge pipelines failing, as seen here:
build-buildboxes
https://drone.platform.teleport.sh/gravitational/teleport/25238/9/10teleport.e
push-build-linux-amd64-fips
https://drone.platform.teleport.sh/gravitational/teleport.e/1486/3/3 (note: we should probably use the same make targets asteleport
'spush-build-linux-amd64-fips
, which was ok after the first PR merged)This supercedes #27879
Contributes to #26856
Testing Done
I hacked up a branch to run the buildboxes pipeline on push:
https://drone.platform.teleport.sh/gravitational/teleport/25253
Its green!