Page MenuHomePhabricator

[tbs.devenv] Komla to setup the development environment
Closed, ResolvedPublic5 Estimated Story Points

Description

Follow the instructions in https://github.com/toolforge/buildservice and setup the dev environment.

This might be extra tricky as the current setup has been done only on linux and k8s needs to access docker started
containers.
Attempting to set this up on Ubuntu WSL2 and using microk8s instead of minikube

  • install docker
  • install docker-compose
  • install microk8s
  • set up harbor
  • set up admission controller(optional)
  • deploy
  • run a pipeline
  • debuggng (tekton cli installation...)

Event Timeline

After this

pipelinerun.tekton.dev/minikube-user-buildpacks-pipelinerun-bqbrd created

tkn -n image-build taskruns list is currently returning Failed under STATUS

I'll try debugging further, if I make no progress I might just go back to minikube...

After this

pipelinerun.tekton.dev/minikube-user-buildpacks-pipelinerun-bqbrd created

tkn -n image-build taskruns list is currently returning Failed under STATUS

I'll try debugging further, if I make no progress I might just go back to minikube...

You should be able to check why it failed with tkn -n image-build logs, if not, then something broke before even starting (unable to pull image, etc.), that you might be able to get some info by doing a kubectl -n image-build pods -o yaml, it's quite verbose though xd

komla added a subscriber: Slst2020.

This is done! Thanks to @dcaro and @Slst2020