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

Add certification-component-id flag #1222

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

bcrochet
Copy link
Contributor

@bcrochet bcrochet commented Dec 9, 2024

This flag deprecates the certification-project-id flag. The field has been changed on the server side, and in certification documentation.

Fixes #1185

@openshift-ci openshift-ci bot requested review from acornett21 and jomkz December 9, 2024 16:54
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 9, 2024
@dcibot
Copy link

dcibot commented Dec 9, 2024

@bcrochet bcrochet force-pushed the fixes/1185 branch 2 times, most recently from 36ccf2f to 8de58b7 Compare December 10, 2024 14:53
@coveralls
Copy link

coveralls commented Dec 10, 2024

Coverage Status

coverage: 84.373% (+0.04%) from 84.331%
when pulling 3c0d14a on bcrochet:fixes/1185
into bec6343 on redhat-openshift-ecosystem:main.

@dcibot
Copy link

dcibot commented Dec 10, 2024

@acornett21
Copy link
Contributor

/test 4.17-e2e

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2024
@dcibot
Copy link

dcibot commented Dec 10, 2024

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2024
@dcibot
Copy link

dcibot commented Dec 11, 2024

@bcrochet
Copy link
Contributor Author

/test 4.17-e2e

Copy link
Contributor

@komish komish left a comment

Choose a reason for hiding this comment

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

Couple of notes left.

cmd/preflight/cmd/check_container.go Show resolved Hide resolved
container/check_container.go Outdated Show resolved Hide resolved
Comment on lines +237 to +240
// However, if the new env var is set, that's the priority
if viper.IsSet("certification_component_id") {
viper.Set("certification_project_id", viper.GetString("certification_component_id"))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this only necessary because certification_component_id is bound explicitly to env, separate from the global variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct.

cmd/preflight/cmd/check_container.go Show resolved Hide resolved
This flag deprecates the certification-project-id flag. The field has
been changed on the server side, and in certification documentation.

Fixes redhat-openshift-ecosystem#1185

Signed-off-by: Brad P. Crochet <brad@redhat.com>
Copy link
Contributor

@komish komish left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 5, 2025
Copy link

openshift-ci bot commented Feb 5, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: acornett21, bcrochet, komish

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:
  • OWNERS [acornett21,bcrochet,komish]

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

@dcibot
Copy link

dcibot commented Feb 5, 2025

@acornett21 acornett21 merged commit 0561ec2 into redhat-openshift-ecosystem:main Feb 6, 2025
6 checks passed
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --certification-component-id as synonym to --certification-project-id
5 participants