kubernetes-sigs / cli-utils

This repo contains binaries that built from libraries in cli-runtime.
Apache License 2.0
154 stars 77 forks source link

chore: Add example test summary #553

Closed karlkfi closed 2 years ago

karlkfi commented 2 years ago

example output:

TEST                   RESULT
crds.md                Succeeded
helloapp.md            Succeeded
init.md                Succeeded
inventoryNamespace.md  Succeeded
MultipleServices.md    Succeeded
pruneAndDelete.md      Succeeded
pruneBasic.md          Succeeded
pruneNamespace.md      Succeeded
serverSideApply.md     Succeeded

Example Tests Succeeded
Liujingfang1 commented 2 years ago

/lgtm

karlkfi commented 2 years ago

Ugh. the test container doesn't have column installed...

karlkfi commented 2 years ago

Installing column (and all of bsdextrautils) seems like it might not be easy to get approved in the kubekins-e2e image we're running tests in. So I added an apt-get line to install it in the prow-specific make command.

karlkfi commented 2 years ago

Example test output is finally readable without expanding the whole log: example-test-summary

k8s-ci-robot commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: karlkfi, mortent

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](https://github.com/kubernetes-sigs/cli-utils/blob/master/OWNERS)~~ [mortent] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment