Kubernetes Operator for Tangled Spindles

upgrade tangled core to 1.16 #1

Closed evan.jarrett.net
Closed opened by evan.jarrett.net

Tangled moved to emit GitRefUpdate instead of Pipeline in 1.16, this means current 1.14 based loom no longer triggers pipeline runs due to the trigger changing. (see somewhat vague https://tangled.org/tangled.org/core/tags/v1.16.0-alpha)

Upgrading to 1.16 causes sync git repo: git clone: exec: "git": executable file not found in $PATH due to 1.16 doing git.SparseSyncGitRepo when processing the knot stream which means we need git in the controller image, which I think means:

  1. Building and bundling git into the distroless image
  2. Moving it from distroless into alpine or ubuntu-slim or similar non-distroless
  3. ?

Tangled put a giant banner to tell me that this is outdated every time I look at this app. I have these changes locally to upgrade it but I haven’t gotten around to testing. I can push what I have if you would like to try it out.

Yeah sure, currently just to get it running I did a simple change to ubuntu-slim with apt-get install git and uploaded it to a private registry, but I would like a more consistent solution. I don't mind testing and running your image if you would publish one.

I have finally got around to verifying that branch works on my repos. i do notice some things in there that might be specific to my setup. so feel free to submit PRs to address anything you see but I'm merging to main and closing out this.

Sign up or Sign in to add to the discussion.