adamant-kite-43734
11/01/2024, 7:08 PMdamp-agent-26487
11/01/2024, 9:15 PMdamp-agent-26487
11/01/2024, 9:16 PMdamp-agent-26487
11/01/2024, 9:17 PMbusy-ability-54059
11/04/2024, 9:18 AMdamp-agent-26487
11/04/2024, 9:20 AMdamp-agent-26487
11/04/2024, 9:20 AMbusy-ability-54059
11/04/2024, 9:21 AM./pkg/<-YOUR-EXT-DIR->/package.json with version 1.3.2 (as an example)
Tag needs to be <-YOUR-EXT-DIR->-1.3.2
In this case kubearmorRUI-0.1.0damp-agent-26487
11/04/2024, 9:21 AMbusy-ability-54059
11/04/2024, 9:23 AMbusy-ability-54059
11/04/2024, 9:23 AMdamp-agent-26487
11/04/2024, 9:23 AMbusy-ability-54059
11/04/2024, 9:24 AMbusy-ability-54059
11/04/2024, 9:24 AMname property in ./pkg/kubearmor/package.json ?damp-agent-26487
11/04/2024, 9:26 AMbusy-ability-54059
11/04/2024, 9:27 AMkubearmor-0.1.0 should do it… 🤔busy-ability-54059
11/04/2024, 9:28 AMdamp-agent-26487
11/04/2024, 9:28 AMdamp-agent-26487
11/04/2024, 9:28 AMbusy-ability-54059
11/04/2024, 9:29 AMdamp-agent-26487
11/04/2024, 9:29 AMbusy-ability-54059
11/04/2024, 9:34 AMv2.8.5 to release-2.8 and try with that same tag kubearmor-0.1.0 ?damp-agent-26487
11/04/2024, 9:36 AMbusy-ability-54059
11/04/2024, 9:36 AMdamp-agent-26487
11/04/2024, 9:40 AMdamp-agent-26487
11/04/2024, 9:41 AMbusy-ability-54059
11/04/2024, 9:47 AMhttps://rancher-users.slack.com/files/U049LH50K9C/F07U9T1F5CP/image.png▾
request to cancel workflow 11661611899 on the parse extensions name step
Did you trigger a cancel to the workflow?damp-agent-26487
11/04/2024, 9:47 AMdamp-agent-26487
11/04/2024, 9:47 AMbusy-ability-54059
11/04/2024, 9:48 AMbusy-ability-54059
11/04/2024, 9:48 AMbusy-ability-54059
11/04/2024, 9:50 AMdamp-agent-26487
11/04/2024, 9:50 AMbusy-ability-54059
11/04/2024, 9:51 AMbusy-ability-54059
11/04/2024, 9:51 AMdamp-agent-26487
11/04/2024, 9:52 AMbusy-ability-54059
11/04/2024, 10:07 AMrelease-2.9
and rename
https://github.com/KrishAryan/kubearmorRUI/blob/main/package.json#L2 to something different than kubearmor … something like kubearmor-ruidamp-agent-26487
11/04/2024, 10:09 AMbusy-ability-54059
11/04/2024, 10:14 AMdamp-agent-26487
11/04/2024, 10:14 AMbusy-ability-54059
11/04/2024, 10:15 AMbusy-ability-54059
11/04/2024, 10:24 AMbusy-ability-54059
11/04/2024, 10:24 AMdamp-agent-26487
11/04/2024, 10:24 AMdamp-agent-26487
11/04/2024, 10:24 AMbusy-ability-54059
11/04/2024, 10:31 AMv2.8.5 but it should point to release-2.9 . https://github.com/KrishAryan/kubearmorRUI/blob/main/.github/workflows/build-extension-charts.yml#L15
I think we’ve got a problem on release-2.8 but that’s not too bad as release-2.9 branch workflow is compatible and works just fine.
I am still weirded out about that cancelation of the workflow that the parse extension name step was creating, but my head tells that it might have to do with the build-extensions-catalog workflow.
That’s for airgapped solutions where we create a catalog image to serve your UI extensions locally in those systems. That workflow is for the creation of that catalog image and is triggered by creating a tag that matches https://github.com/KrishAryan/kubearmorRUI/blob/main/package.json#L2-L3 of the root package.json .
I’ll need to run more tests, but it seems they might be conflicting so we shouldn’t trigger them at the same timedamp-agent-26487
11/04/2024, 10:33 AMbusy-ability-54059
11/04/2024, 11:15 AMdist-pkg folder from your main branch and add it to the .gitignore file so it doesn’t get commited again. It’s just “polluting” your repo and won’t be useful for anything since they are just locally built assets
• I would add the annotation "<http://catalog.cattle.io/kube-version|catalog.cattle.io/kube-version>": ">= 1.16.0-0" , much like it’s done in Elemental extension so that you remove that upper limit of the kube version as you’ll hit some restrictions when building for Rancher 2.9.x and 2.10.x later in time. This will save you some headache with debugging https://github.com/rancher/elemental-ui/blob/main/pkg/elemental/package.json#L8 will change https://github.com/KrishAryan/kubearmorRUI/blob/gh-pages/index.yaml#L6damp-agent-26487
11/04/2024, 11:30 AMdamp-agent-26487
11/04/2024, 11:31 AMbusy-ability-54059
11/04/2024, 11:37 AMpkg/kubearmor/package.json version locally
• do yarn build-pkg kubearmor to see if you didn’t break your build with those code changes, locally
• do a developer load of those locally built assets by doing yarn serve-pkgs https://extensions.rancher.io/extensions/extensions-getting-started#test-built-extension-by-doing-a-developer-load (this is the mechanism that mimics the actual loading procedure when you’re using a published extension and I recommend it to do it after all code changes) and check that your extension works fine
If all the above is good, then create a new tag, wait for the build + publish procedure to end and test it againdamp-agent-26487
11/04/2024, 11:38 AMdamp-agent-26487
11/04/2024, 11:44 AMbusy-ability-54059
11/04/2024, 12:31 PM