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