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

fix: update some values in the data of RPA for FBC #1470

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

jinqi7
Copy link
Contributor

@jinqi7 jinqi7 commented Dec 4, 2024

Signed-off-by: Jing Qi [email protected]

Correct the type of some values in the data of RPA for FBC test case

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Issue ticket number and link

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
  • I have updated labels (if needed)

@jinqi7 jinqi7 requested a review from a team December 4, 2024 13:20
@@ -341,16 +342,26 @@ func createFBCEnterpriseContractPolicy(fbcECPName string, managedFw framework.Fr

func createFBCReleasePlanAdmission(fbcRPAName string, managedFw framework.Framework, devNamespace, managedNamespace, fbcAppName, fbcECPName, pathInRepoValue, hotfix, issueId, preGA, productName, productVersion, isStagedIndex string) {
var err error

hotFix, err := strconv.ParseBool(hotfix)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just change the function signature to have these be bools and then pass bools on line 89 and 138?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. Changed to use bool type in the function definition. Thanks

@jinqi7 jinqi7 force-pushed the fix_fbc_values branch 2 times, most recently from a9a7b6b to e774672 Compare December 4, 2024 14:04
Signed-off-by: Jing Qi <[email protected]>

Correct the type of some values in the data of RPA for FBC test case
@johnbieren
Copy link
Contributor

/lgtm
/approve

Copy link

openshift-ci bot commented Dec 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnbieren

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

The pull request process is described here

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-ci openshift-ci bot added the approved label Dec 4, 2024
@johnbieren
Copy link
Contributor

So this PR will run the fbc test as part of konflux-e2e-tests yes?

@openshift-merge-bot openshift-merge-bot bot merged commit a666fc1 into konflux-ci:main Dec 4, 2024
13 checks passed
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.

2 participants