Skip to content

WRKLDS-1171: Add openshift-install-fips target to oc release extract#1725

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
zaneb:install-fips
Apr 5, 2024
Merged

WRKLDS-1171: Add openshift-install-fips target to oc release extract#1725
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
zaneb:install-fips

Conversation

@zaneb
Copy link
Member

@zaneb zaneb commented Apr 4, 2024

Allow the openshift-baremetal-install binary to also be extracted using the openshift-install-fips command. This is clearer for users who need this binary only for FIPS compliance reasons.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 4, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 4, 2024

@zaneb: This pull request references WRKLDS-1171 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

Details

In response to this:

Allow the openshift-baremetal-install binary to also be extracted using the openshift-install-fips command. This is clearer for users who need this binary only for FIPS compliance reasons.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Copy link
Member

@ardaguclu ardaguclu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/hold
in case you'd want to add TargetCommandName field and also it is better to see a green IPv6.

Readme: readmeInstallUnix,
InjectReleaseImage: true,
InjectReleaseVersion: true,
ArchiveFormat: "openshift-baremetal-install-linux-%s.tar.gz",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this target's tarball name is same with the above one, there might be unexpected binary overrides. But I verified that --tools flag ignores the targets that are marked as Optional, so that these ArchiveFormats are not used at all and we are good.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I updated this one anyway.

{
OS: "linux",
Arch: targetReleaseArch,
Command: "openshift-install-fips",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an option to change the resulted binary name by using TargetCommandName as in

TargetCommandName: "oc",
, if you'd want to. Currently, it extracts openshift-install-fips.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's what we want to minimise confusion, so I will leave it as is.

@ardaguclu
Copy link
Member

/retest

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 4, 2024
@ardaguclu
Copy link
Member

Just for the historical context, this will only work against 4.16 release payloads? or is this binary generated in 4.15 (probably not in the olders)?

Allow the openshift-baremetal-install binary to also be extracted using
the openshift-install-fips command. This is clearer for users who need
this binary only for FIPS compliance reasons.
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 4, 2024
@zaneb
Copy link
Member Author

zaneb commented Apr 4, 2024

Just for the historical context, this will only work against 4.16 release payloads? or is this binary generated in 4.15 (probably not in the olders)?

It's the same binary as openshift-baremetal-installer, so it has been there since 4.4 or something.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 5, 2024

@zaneb: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ardaguclu
Copy link
Member

/lgtm
/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 5, 2024
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 5, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ardaguclu, zaneb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 1f5e247 into openshift:master Apr 5, 2024
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build openshift-enterprise-cli-container-v4.16.0-202404050447.p0.g1f5e247.assembly.stream.el8 for distgit openshift-enterprise-cli.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants