tektoncd/cli

Reduce the size of the binary

Aperta

#2109 aperta il 1 set 2023

 (6 commenti) (0 reazioni) (0 assegnatari)Go (269 fork)auto 404
good first issuehelp wantedkind/cleanup

Metriche repository

Star
 (461 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

As of today, tkn is a very big binary.

$ du bin/tkn
147M	bin/tkn
$ strip bin/tkn
$ du bin/tkn
118M	bin/tkn

We should try to find some ways to reduce the size of it somehow 👼🏼 🙏🏼. Some ideas:

  • Track tektoncd/pipeline deps and understand where we can limit pulling k8s.io ones
  • Have our own "struct" representing the types ? (generated)

Guida contributor