fix: 修正 Tekton inline task 参数绑定
This commit is contained in:
@@ -80,15 +80,15 @@ spec:
|
|||||||
AGENTRUN_SELFTEST_CODEX_COMMAND="$(command -v bun)" \
|
AGENTRUN_SELFTEST_CODEX_COMMAND="$(command -v bun)" \
|
||||||
AGENTRUN_SELFTEST_CODEX_ARGS="[\"$PWD/src/selftest/fake-codex-app-server.ts\"]" \
|
AGENTRUN_SELFTEST_CODEX_ARGS="[\"$PWD/src/selftest/fake-codex-app-server.ts\"]" \
|
||||||
bun run self-test
|
bun run self-test
|
||||||
params:
|
params:
|
||||||
- name: git-url
|
- name: git-url
|
||||||
value: $(params.git-url)
|
value: $(params.git-url)
|
||||||
- name: source-branch
|
- name: source-branch
|
||||||
value: $(params.source-branch)
|
value: $(params.source-branch)
|
||||||
- name: revision
|
- name: revision
|
||||||
value: $(params.revision)
|
value: $(params.revision)
|
||||||
- name: tools-image
|
- name: tools-image
|
||||||
value: $(params.tools-image)
|
value: $(params.tools-image)
|
||||||
- name: image-publish
|
- name: image-publish
|
||||||
runAfter: [prepare-source]
|
runAfter: [prepare-source]
|
||||||
workspaces:
|
workspaces:
|
||||||
@@ -183,11 +183,11 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: buildkit-run
|
- name: buildkit-run
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
params:
|
params:
|
||||||
- name: revision
|
- name: revision
|
||||||
value: $(params.revision)
|
value: $(params.revision)
|
||||||
- name: registry-prefix
|
- name: registry-prefix
|
||||||
value: $(params.registry-prefix)
|
value: $(params.registry-prefix)
|
||||||
- name: gitops-promote
|
- name: gitops-promote
|
||||||
runAfter: [image-publish]
|
runAfter: [image-publish]
|
||||||
workspaces:
|
workspaces:
|
||||||
@@ -249,18 +249,18 @@ spec:
|
|||||||
git add deploy
|
git add deploy
|
||||||
git commit -m "gitops: promote agentrun v0.1 $(params.revision)" || true
|
git commit -m "gitops: promote agentrun v0.1 $(params.revision)" || true
|
||||||
git push origin "$(params.gitops-branch)"
|
git push origin "$(params.gitops-branch)"
|
||||||
params:
|
params:
|
||||||
- name: git-url
|
- name: git-url
|
||||||
value: $(params.git-url)
|
value: $(params.git-url)
|
||||||
- name: gitops-branch
|
- name: gitops-branch
|
||||||
value: $(params.gitops-branch)
|
value: $(params.gitops-branch)
|
||||||
- name: revision
|
- name: revision
|
||||||
value: $(params.revision)
|
value: $(params.revision)
|
||||||
- name: registry-prefix
|
- name: registry-prefix
|
||||||
value: $(params.registry-prefix)
|
value: $(params.registry-prefix)
|
||||||
- name: image
|
- name: image
|
||||||
value: $(tasks.image-publish.results.image)
|
value: $(tasks.image-publish.results.image)
|
||||||
- name: digest
|
- name: digest
|
||||||
value: $(tasks.image-publish.results.digest)
|
value: $(tasks.image-publish.results.digest)
|
||||||
- name: repository-digest
|
- name: repository-digest
|
||||||
value: $(tasks.image-publish.results.repository-digest)
|
value: $(tasks.image-publish.results.repository-digest)
|
||||||
|
|||||||
Reference in New Issue
Block a user