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 version command to show correct information #14754

Merged
merged 3 commits into from Jun 14, 2019

Conversation

howardjohn
Copy link
Member

A recent change made the ldflags not get passed properly leading to the
version command giving "unknown". This change fixes this issue, and adds
a tests to ensure similar changes are caught in the future.

During this it was discovered some of our binaries don't include the
version command, so those were added to sdsclient and mixgen.

Fixes #14745

A recent change made the ldflags not get passed properly leading to the
version command giving "unknown". This change fixes this issue, and adds
a tests to ensure similar changes are caught in the future.

During this it was discovered some of our binaries don't include the
version command, so those were added to sdsclient and mixgen.
@utka
Copy link
Contributor

utka commented Jun 12, 2019

/lgtm

@geeknoid
Copy link
Contributor

/lgtm
/approve

@ghost
Copy link

ghost commented Jun 12, 2019

/lgtm

// See the License for the specific language governing permissions and
// limitations under the License.


Copy link
Contributor

Choose a reason for hiding this comment

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

File is not gofmt-ed with -s (from gofmt)

@howardjohn
Copy link
Member Author

/test istio_auth_sds_e2e-master

@howardjohn
Copy link
Member Author

/test integ-mixer-k8s-presubmit-tests-master

@howardjohn
Copy link
Member Author

@geeknoid @ibm-jason @utka I had to fix a lint error if one of you could lgtm again. Thanks!

@utka
Copy link
Contributor

utka commented Jun 13, 2019

/lgtm

@istio-testing
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: geeknoid, howardjohn, ibm-jason, utka

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

@howardjohn
Copy link
Member Author

/test e2e-bookInfoTests-envoyv2-v1alpha3-master

@howardjohn
Copy link
Member Author

/test release-test-master

@istio-testing
Copy link
Collaborator

@howardjohn: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
prow/integ-mixer-k8s-presubmit-tests.sh dc602fe link /test integ-mixer-k8s-presubmit-tests-master

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

@istio-testing istio-testing merged commit 0f775a4 into istio:master Jun 14, 2019
mergify bot pushed a commit that referenced this pull request Jun 14, 2019
* Fix version command to show correct information

A recent change made the ldflags not get passed properly leading to the
version command giving "unknown". This change fixes this issue, and adds
a tests to ensure similar changes are caught in the future.

During this it was discovered some of our binaries don't include the
version command, so those were added to sdsclient and mixgen.

* Fix lint and codecov

* Fix lint

(cherry picked from commit 0f775a4)

# Conflicts:
#	bin/gobuild.sh
#	security/tools/sdsclient/main.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component version build info broken on 6/11
7 participants