Skip to content

Conversation

@sraviteja-maker
Copy link

Type of change

  • New feature

Description

  • Add KUBEBURNER_OCP_PR env var (empty by default)
  • Add build_from_pr() function to clone, build, and use PR code
  • Include architecture detection for arm64/amd64 builds
  • Maintain backward compatibility with download_binary() as default

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@openshift-ci
Copy link

openshift-ci bot commented Nov 19, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link

openshift-ci bot commented Nov 19, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sraviteja-maker
Once this PR has been reviewed and has the lgtm label, please assign avasilevskii for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

…only using release versions

Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
@sraviteja-maker sraviteja-maker force-pushed the kubeburner_ocp_pr_testing branch from 48f0d42 to 2f5c7a9 Compare November 19, 2025 06:04
@sraviteja-maker
Copy link
Author

Testing these changes as part of openshift/release#70747

Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
…OW CI

Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
Assisted-by: Cursor
@sraviteja-maker sraviteja-maker marked this pull request as ready for review November 21, 2025 11:35
Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
Signed-off-by: Raviteja Sahukari <rsahukar@redhat.com>
@sraviteja-maker sraviteja-maker force-pushed the kubeburner_ocp_pr_testing branch from 36e1746 to da45c7d Compare November 27, 2025 05:54
@sraviteja-maker
Copy link
Author

Tested the changes successfully as part of this PR openshift/release#70747

@sraviteja-maker
Copy link
Author

sraviteja-maker commented Nov 28, 2025

@paigerube14 / @venkataanil When you have a moment, please review this PR.

curl --fail --retry 8 --retry-all-errors -sS -L "${KUBE_BURNER_URL}" | tar -xzC "${KUBE_DIR}/" kube-burner-ocp
}

install_go(){
Copy link
Member

@rsevilla87 rsevilla87 Dec 2, 2025

Choose a reason for hiding this comment

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

Installing golang should be out of scope of this repository, we don't usually do modifications in the local environment where these scripts run

@rsevilla87 rsevilla87 self-requested a review December 2, 2025 14:28
fi
}

build_from_pr(){
Copy link
Member

Choose a reason for hiding this comment

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

Can you move this function to a different bash file?, I'd like to keep this one as simple as possible.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants