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

[ART-7273] add modifications to support rhel-8-golang-1.17 #3356

Merged

Conversation

Ximinhan
Copy link

@Ximinhan Ximinhan commented Aug 8, 2023

add go wrapper during golang build process, the wrapper script will get from openshift-eng/doozer#811
rhel-8-golang-1.17 can built with FoD wrapper and don't update new builder to floating tag for now

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 8, 2023
@Ximinhan Ximinhan changed the title [WIP][ART-7273] add modifications to support rhel-8-golang-1.17 [ART-7273] add modifications to support rhel-8-golang-1.17 Aug 8, 2023
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 8, 2023
joepvd
joepvd previously requested changes Aug 10, 2023

# FOD wrapper modification
COPY go_wrapper.sh /tmp/go_wrapper.sh
RUN /bin/bash -c 'GO_BIN_PATH=`which go`; mv $GO_BIN_PATH $GO_BIN_PATH.real; mv /tmp/go_wrapper.sh $GO_BIN_PATH; chmod +x $GO_BIN_PATH'
Copy link
Contributor

Choose a reason for hiding this comment

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

RUN already is a shell. Not sure wrapping with bash -c '...' is necessary.

Copy link
Author

Choose a reason for hiding this comment

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

command updated

@@ -7,6 +7,11 @@ content:
branch:
target: rhel-8-golang-1.17
url: git@github.com:openshift/ocp-build-data.git
modifications:
- action: add
source: target_go_wrapper.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

doozer pr talks about doozerpath?

Copy link
Author

Choose a reason for hiding this comment

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

updated to doozer_source

@joepvd
Copy link
Contributor

joepvd commented Sep 5, 2023

/hold cancel
/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 5, 2023
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2023
@@ -25,6 +30,7 @@ name: openshift/golang-builder
owners:
- aos-team-art@redhat.com

# Don't add floating tag to FoD builder for now, until we confident CPASS can use it
Copy link
Contributor

Choose a reason for hiding this comment

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

comment is misleading

Copy link
Author

Choose a reason for hiding this comment

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

removed

@joepvd
Copy link
Contributor

joepvd commented Sep 11, 2023

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 11, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: joepvd

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

@Ximinhan Ximinhan merged commit 9c5a8f2 into openshift-eng:rhel-8-golang-1.17 Sep 12, 2023
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants