-
Notifications
You must be signed in to change notification settings - Fork 60
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
Update developer documentation #1233
Comments
Thank you very much for feedback and writing comprehensive issue.
-all-tools: $(GOTESTSUM) $(go-cover-treemap) $(go-binsize-treemap) $(KIND) $(KUBECTL) $(CLUSTERCTL) $(CTLPTL) $(SETUP_ENVTEST) $(ENVSUBST) $(KUSTOMIZE) $(CONTROLLER_GEN) $(HELM)
+all-tools: $(GOTESTSUM) $(go-cover-treemap) $(go-binsize-treemap) $(KIND) $(KUBECTL) $(CLUSTERCTL) $(CTLPTL) $(SETUP_ENVTEST) $(ENVSUBST) $(KUSTOMIZE) $(CONTROLLER_GEN) $(HELM) ## Install Binaries in your ./hack/tools/bin directory
git fetch upstream --tags
git push origin --tags
From Docker docs: $ docker version
Client: Docker Engine - Community
Version: 25.0.5
This is where we require hcloud. create_ssh_key() {
echo "generating new ssh key"
ssh-keygen -t ed25519 -f ${SSH_KEY_PATH} -N '' 2>/dev/null <<< y >/dev/null
echo "importing ssh key "
hcloud ssh-key create --name ${SSH_KEY_NAME} --public-key-from-file ${SSH_KEY_PATH}.pub
} |
@JochemTSR we updated the docs via this patch If something is missing or something is still not working for you from the docs, then please let us know. |
@JochemTSR We have extended and beautified our docs: https://syself.com/docs/caph/getting-started/introduction Please open a new issue, if something is missing or not easy to understand. Thank you |
/kind feature
Describe the solution you'd like
While following the development guide, I ran into a few instances where the guide was inconsistent with the current development setup. While it is possible to figure out how to get started eventually, finding your bearings take longer than it has to and might dissuade future contributors from participating in development.
I'm trying to compile a list of areas where the documentation needs adjusting. Additions/corrections are more than welcome; I will keep the list updated. I can contribute a PR when all is good and ready.
Areas that need attention
make install-dev-prerequisites
should be run to install the tools needed to start developing. This target does not exist in the Makefile (anymore); I believe the correct command ismake all-tools
. For some reason, theall-tools
target is not listed inmake help
either.tilt-settings.json
file before starting Tilt. With the current Makefile this does not seem to be sufficient, as thetilt-up
target fails if certain environment variables are not present. Instead, an.envrc
file can be created from.envrc.sample
; setting the variables in.envrc
and sourcing it allows the make target to succeed. It seems like the.envrc
is intended to be the source of truth for the settings, BUT the environment variables are overridden in the Tiltfile by default. The most obvious solution is to create atilt-settings.json
with an emptykustomize_substitutions
key so the environment variables are not overridden. Is this the intended way of doing things?export DOCKER_BUILDKIT=1
. Without buildkit theBUILDPLATFORM
is not populated and building will fail. Since buildkit is not the default (yet), I think this should be mentioned in the docs.make all-tools
. This should probably be mentioned in the documentation (or hcloud could be installed through the makefile).The text was updated successfully, but these errors were encountered: