From 76afe898c21fd6fb0d3cde2824f6ba26744ddef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 7 Jul 2025 18:19:37 +0200 Subject: [PATCH] wip --- tekton/common/task-buildah.yaml | 4 ++-- tekton/pipeline.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tekton/common/task-buildah.yaml b/tekton/common/task-buildah.yaml index f6df322..491df88 100644 --- a/tekton/common/task-buildah.yaml +++ b/tekton/common/task-buildah.yaml @@ -22,7 +22,7 @@ spec: - aarch64 - name: pypi-mirror-url type: string - optional: true + default: "" workspaces: - name: source-workspace description: Workspace containing source code @@ -96,7 +96,7 @@ spec: buildah manifest create localhost/image for arch; do declare -a PODMAN_OPTS=( ) - if [ -n "${PYPI_MIRROR_URL:}" ]; then + if [ -n "${PYPI_MIRROR_URL:-}" ]; then PODMAN_OPTS+=( "--build-arg" "PYPI_MIRROR_URL=${PYPI_MIRROR_URL}" ) fi if [ -f "/entitlements/$arch.tar" ]; then diff --git a/tekton/pipeline.yaml b/tekton/pipeline.yaml index f6c90b2..d017332 100644 --- a/tekton/pipeline.yaml +++ b/tekton/pipeline.yaml @@ -37,7 +37,7 @@ spec: type: array - name: pypi-mirror-url type: string - optional: true + default: "" tasks: