From d498d0fed2c3147786448eb19a6883b8da0aa5c9 Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 29 May 2026 11:37:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A8=B3=E5=AE=9A=20v0.1=20Tekton=20?= =?UTF-8?q?=E9=A6=96=E8=BD=AE=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/templates/tekton/pipeline.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/templates/tekton/pipeline.yaml b/deploy/templates/tekton/pipeline.yaml index f18ffd9..ae30270 100644 --- a/deploy/templates/tekton/pipeline.yaml +++ b/deploy/templates/tekton/pipeline.yaml @@ -77,7 +77,9 @@ spec: bun install bun run check bun scripts/agentrun-gitops-render.ts --out /tmp/agentrun-gitops-render-check --source-commit "$(params.revision)" --check - bun run self-test + AGENTRUN_SELFTEST_CODEX_COMMAND="$(command -v bun)" \ + AGENTRUN_SELFTEST_CODEX_ARGS="[\"$PWD/src/selftest/fake-codex-app-server.ts\"]" \ + bun run self-test params: - name: git-url value: $(params.git-url) @@ -165,7 +167,7 @@ spec: --local context=. \ --local dockerfile=deploy/container \ --opt filename=Containerfile \ - --output type=image,name="$image",push=true + --output type=image,name="$image",push=true,registry.insecure=true digest="$(curl -fsSI "http://127.0.0.1:5000/v2/agentrun/agentrun-mgr/manifests/$(params.revision)" | awk -F': ' 'tolower($1)=="docker-content-digest" {gsub(/\r/,"",$2); print $2; exit}')" test -n "$digest" printf '%s' "$image" > /tekton/results/image