Skip to content

Commit 72da066

Browse files
authored
fix(ci): add missing common::base64_encode to release-1.9 (#4588)
The cherry-pick of k8s cluster auth fix (c589180) included the call to common::base64_encode in gke-helm.sh but did not include the function definition in lib/common.sh, causing GKE Helm nightly tests to fail with 'command not found' (exit 127). Add the missing function and export statements from main. Assisted-by: OpenCode
1 parent 750fb2d commit 72da066

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.ci/pipelines/lib/common.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,12 @@ common::require_vars() {
7474
fi
7575
done
7676
}
77+
78+
# Base64 encode a string (no newlines, cross-platform)
79+
common::base64_encode() {
80+
echo -n "$1" | base64 | tr -d '\n'
81+
}
82+
83+
# Export functions for subshell usage (e.g., timeout bash -c "...")
84+
export -f common::base64_encode
85+
export -f common::require_vars

0 commit comments

Comments
 (0)