Commit Graph

11 Commits (d9331b0c91c844010dbe81e926ef59d8ab0745d6)

Author SHA1 Message Date
Hidde Beydals 2b7a0f3fd4 Improve build process embedded manifests
This commit changes the way the build of manifests is triggered by
making smarter use of the capabilities of Make. The result should be
that the manifests are only regenerated if:

1. There is no `cmd/flux/manifests/` directory.
2. There have been made changes to the YAML files in the `manifests/`
   directory that are newer than the files in `cmd/flux/manifests/`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan 6003d11156
Embed the install manifests in flux binary
- add make target for generating the install manifests using kustomize
- embed the generated manifests in flux binary
- the install and bootstrap commands default to using the embedded manifests
- download the install manifests from GitHub only if the install/bootstrap version arg is set

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals 56024de6cc Delete generated docs before regenerating them
This ensures no stray files are kept when for example a command name
changes.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals e2752e4508 Rename `gotk` binary to `flux`
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 22624ae4d5 Rename `tk` binary to `gotk`
To avoid conflicts with the `tk` binary from the Tanka project.
4 years ago
Hidde Beydals 9a6d48d038 docs: run doc gen as part of test target 5 years ago
stefanprodan afcb41c59b Add bash completion cmd 5 years ago
stefanprodan 3bcc2ae992 Format commands examples 5 years ago
stefanprodan 4a872836e3 Generate tk docs with cobra/doc 5 years ago
stefanprodan 35163fa9eb Add e2e tests for install command 5 years ago
stefanprodan c8fdf76084 Init toolkit CLI 5 years ago