From a8e70f257fbece33135d3c1fdc89a80774e9966e Mon Sep 17 00:00:00 2001 From: Vicens Juan Tomas Monserrat Date: Mon, 25 May 2026 15:16:59 +0200 Subject: [PATCH 1/2] Agent Sandbox --- libs/agent-sandbox/config.jsonnet | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libs/agent-sandbox/config.jsonnet diff --git a/libs/agent-sandbox/config.jsonnet b/libs/agent-sandbox/config.jsonnet new file mode 100644 index 00000000..0ebf64ab --- /dev/null +++ b/libs/agent-sandbox/config.jsonnet @@ -0,0 +1,24 @@ +local config = import 'jsonnet/config.jsonnet'; + +local versions = [ + { output: '0.4', version: '0.4.6' }, +]; + +config.new( + name='agent-sandbox', + specs=[ + { + local url = 'https://raw.githubusercontent.com/kubernetes-sigs/agent-sandbox/refs/tags/v%s/helm/crds' % v.version, + output: v.output, + prefix: '^io\\.x-k8s\\..*', + crds: [ + '%s/agents.x-k8s.io_sandboxes.yaml' % url, + '%s/extensions.agents.x-k8s.io_sandboxclaims.yaml' % url, + '%s/extensions.agents.x-k8s.io_sandboxtemplates.yaml' % url, + '%s/extensions.agents.x-k8s.io_sandboxwarmpools.yaml' % url, + ], + localName: 'agent_sandbox', + } + for v in versions + ] +) From 1d774e76a56c518f6d3dea089cfe687784f6cd53 Mon Sep 17 00:00:00 2001 From: Vicens Juan Tomas Monserrat Date: Tue, 26 May 2026 09:16:03 +0200 Subject: [PATCH 2/2] ran make configure --- .github/workflows/main.yml | 43 +++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 71135be6..99548521 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,6 +40,46 @@ "SSH_KEY": "${{ secrets.DEPLOY_KEY }}" "if": "steps.filter.outputs.workflows == 'true'" "run": "make libs/actions-runner-controller" + "agent-sandbox": + "name": "Generate agent-sandbox Jsonnet library and docs" + "needs": + - "build" + - "repos" + "runs-on": "ubuntu-latest" + "steps": + - "uses": "actions/checkout@v4" + - "id": "filter" + "uses": "dorny/paths-filter@v3" + "with": + "filters": | + workflows: + - '.github/**' + - 'bin/**' + - 'Dockerfile' + - 'go.mod' + - 'go.sum' + - 'jsonnet/**' + - 'main.go' + - 'Makefile' + - 'pkg/**' + - 'scripts/**' + - 'tf/**' + - 'libs/agent-sandbox/**' + - "if": "steps.filter.outputs.workflows == 'true'" + "uses": "actions/download-artifact@v4" + "with": + "name": "docker-artifact" + "path": "artifacts" + - "if": "steps.filter.outputs.workflows == 'true'" + "run": "make load" + - "env": + "DIFF": "true" + "GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}" + "GIT_COMMITTER_EMAIL": "86770550+jsonnet-libs-bot@users.noreply.github.com" + "GIT_COMMITTER_NAME": "jsonnet-libs-bot" + "SSH_KEY": "${{ secrets.DEPLOY_KEY }}" + "if": "steps.filter.outputs.workflows == 'true'" + "run": "make libs/agent-sandbox" "aiven": "name": "Generate aiven Jsonnet library and docs" "needs": @@ -3219,6 +3259,7 @@ "name": "Set up gh-pages branch" "needs": - "actions-runner-controller" + - "agent-sandbox" - "aiven" - "amazon-vpc-resource-controller" - "argo-cd" @@ -3952,4 +3993,4 @@ - "master" "push": "branches": - - "master" \ No newline at end of file + - "master"