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

USHIFT-4069: rebase fix to workaround MCO's use of go templates in yaml files #3776

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

copejon
Copy link
Contributor

@copejon copejon commented Aug 15, 2024

No description provided.

… of the template prevents yq from recognizing the contents as yaml, halting the rebase

Signed-off-by: Jon Cope <jcope@redhat.com>
@openshift-ci openshift-ci bot requested review from jogeo and pliurh August 15, 2024 21:22
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2024
@copejon copejon changed the title USHIFT-4069 USHIFT-4069: rebase fix to workaround MCO's use of go templates in yaml files Aug 15, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 15, 2024

@copejon: This pull request references USHIFT-4069 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 bug to target the "4.18.0" version, but no target version was set.

In response to this:

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.

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

/retest-required

@copejon
Copy link
Contributor Author

copejon commented Aug 16, 2024

test-rebase failed during builder image pull
/retest

@copejon
Copy link
Contributor Author

copejon commented Aug 16, 2024

Same thing:
Failed pulling builder image., the build src-amd64 failed after 47s with reason PullBuilderImageFailed: Failed pulling builder image.]}
/retest

Signed-off-by: Jon Cope <jcope@redhat.com>
Copy link
Contributor

openshift-ci bot commented Aug 16, 2024

@copejon: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

# The tlsCipherSuites field was change from a scalar value to gotemplate which broke the yaml formatting and
# confused yq. Before processing, delete the offending go templated field.
# https://github.com/openshift/machine-config-operator/commit/3b979e1ddf2a6e2c3e9b4a7872e31db888da1d57
sed -n -i '/tlsCipherSuites:/,/{{- end }}/d' "${REPOROOT}/assets/core/kubelet.yaml"
Copy link
Member

Choose a reason for hiding this comment

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

I guess we can delete following line that's ~20-30 lines below?

    yq -i 'del(.tlsCipherSuites)' "${REPOROOT}/assets/core/kubelet.yaml"

@pmtk
Copy link
Member

pmtk commented Aug 19, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 19, 2024
Copy link
Contributor

openshift-ci bot commented Aug 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: copejon, pmtk

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

@pmtk
Copy link
Member

pmtk commented Aug 19, 2024

/cherrypick release-4.17

@openshift-cherrypick-robot

@pmtk: once the present PR merges, I will cherry-pick it on top of release-4.17 in a new PR and assign it to you.

In response to this:

/cherrypick release-4.17

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-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 3da7d36 into openshift:main Aug 19, 2024
9 checks passed
@openshift-cherrypick-robot

@pmtk: new pull request created: #3790

In response to this:

/cherrypick release-4.17

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-sigs/prow repository.

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.

5 participants