Closed joshbwlng closed 3 years ago
@ab77 Tested with the beta package built from this branch that things work as expected. Just have a problem with the Wait for Kubernetes
step in this repo's CircleCI tests. Any ideas? My changes are so minimal that I think we could safely ignore that CI step and force merge if need be.
Did some digging and found that locally I get the following error when trying to start a Kubernetes cluster with the latest bsycorp/kind
image:
...
kubelet: started
Error on line 46
Startup timeout, didn't become healthy after 3 mins.. details:
2021-07-28 06:47:36,421 INFO exited: start (exit status 1; not expected)
Running this command, which is ran inside of the kind
image for the config-serve
service, fails with the following error:
bash-5.0# /usr/local/bin/docker run --rm -v /var/kube-config/:/usr/share/nginx/html:ro -p 10080:80 nginx:1.13
/usr/local/bin/docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
This seems to help, but this would require changes to scripts baked into the bsycorp/kind
image we're using:
bash-5.0# sudo mkdir /sys/fs/cgroup/systemd
bash-5.0# sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
bash-5.0# /usr/local/bin/docker run --rm -v /var/kube-config/:/usr/share/nginx/html:ro -p 10080:80 nginx:1.13
I'm thinking we should just install and execute the kind
binary?
@balena-ci I self certify!
@ab77 Tested with the beta package built from this branch that things work as expected. Just have a problem with the
Wait for Kubernetes
step in this repo's CircleCI tests. Any ideas? My changes are so minimal that I think we could safely ignore that CI step and force merge if need be.
@joshbwlng anything in CircleCI should actually be removed, so I would just delete .circle directory and plan to implement the tests in balenaCI, eventually.
Change-type: patch Signed-off-by: Josh Bowling josh@balena.io
/schemas
directory in deployed package contentsloop-os/
toproduct-os/
By including the
/schemas
directory in the end product, we will be able to executekatapult
normally after installing withnpm i
and not require developers to clone -> build -> manually set alias to built code. By not including/schemas
, the following error occurs: