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

print versions #154

Merged
merged 3 commits into from
Oct 30, 2023
Merged

print versions #154

merged 3 commits into from
Oct 30, 2023

Conversation

mshitrit
Copy link
Member

@mshitrit mshitrit commented Oct 25, 2023

Adding info about go version (and additional info) in logs.
ECOPROJECT-1743

Signed-off-by: Michael Shitrit <[email protected]>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 25, 2023

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

@mshitrit mshitrit changed the title [WIP ]print versions [WIP] print versions Oct 25, 2023
@mshitrit
Copy link
Member Author

/test 4.12-openshift-e2e

Copy link
Member

@razo7 razo7 left a comment

Choose a reason for hiding this comment

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

I think git is missing for getting the git commit and the operator's version.

In addition, the build target could be updated according to this PR. But I haven't seen it being used in code, so this target might be redundant 🤷🏻‍♂️

COPY main.go main.go
COPY hack/ hack/
COPY api/ api/
COPY controllers/ controllers/
COPY pkg/ pkg/
COPY install/ install/
# Build
Copy link
Member

Choose a reason for hiding this comment

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

IIRC you are missing git which should be installed in line 3 and copied right before building the binary.

# for getting version info
COPY .git/ .git/

Signed-off-by: Michael Shitrit <[email protected]>
@slintes
Copy link
Member

slintes commented Oct 28, 2023

/lgtm

Signed-off-by: Michael Shitrit <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm label Oct 29, 2023
@razo7 razo7 marked this pull request as ready for review October 29, 2023 12:40
@openshift-ci openshift-ci bot requested review from razo7 and slintes October 29, 2023 12:40
@mshitrit mshitrit changed the title [WIP] print versions print versions Oct 29, 2023
Copy link
Contributor

@clobrano clobrano 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
Copy link
Contributor

openshift-ci bot commented Oct 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano, mshitrit

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 merged commit 7373617 into medik8s:main Oct 30, 2023
14 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.

4 participants