Skip to content
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

[v12] Remove unused FIPS infrastructure #32540

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

gzdunek
Copy link
Contributor

@gzdunek gzdunek commented Sep 26, 2023

Backport #26859 and #27900

Currently, push builds fail on v12 because the job Build and push buildbox-fips fails. It happens since we upgraded Node.js (Ubuntu 18.04 doesn't support Node 18). The easiest fix would be to just remove installing Node, but IMO since we have completely removed the infrastructure on master, we can do it here as well, since it seems to be unused (or maybe it isn't?).
Additionally, the pipeline uses Ubuntu 18.04 which is no longer supported.

e counterpart https://github.com/gravitational/teleport.e/pull/2299

I ran a drone tag build, it's green https://drone.platform.teleport.sh/gravitational/teleport/28873.

@wadells could you look if I didn't miss anything here?

wadells and others added 3 commits September 26, 2023 09:11
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 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)
@wadells
Copy link
Contributor

wadells commented Sep 26, 2023

@wadells could you look if I didn't miss anything here?

Everything looks good to me. Thanks for your dilligence in backporting all this.

@reedloden reedloden added this pull request to the merge queue Sep 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 26, 2023
@reedloden reedloden added this pull request to the merge queue Sep 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 26, 2023
@reedloden reedloden added this pull request to the merge queue Sep 26, 2023
Merged via the queue into branch/v12 with commit 5fe14d6 Sep 26, 2023
23 checks passed
@reedloden reedloden deleted the gzdunek/backport-remove-unused-fips-infra/v12 branch September 26, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants