We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7bc02 commit 9548b96Copy full SHA for 9548b96
.buildkite/scripts/steps/run-agentless-tests.sh
@@ -36,7 +36,7 @@ extract_sha() {
36
local env=$1
37
38
# Extract first matching SHA for the environment pattern
39
- yq eval ".services.agentless-controller.versions | to_entries | .[] | select(.key | test(\"^${env}.*\")) | .value" serverless-gitops/services/agentless-controller/versions.yaml | head -1
+ yq eval ".services.agentless-controller.versions | with_entries(select(.key | test(\"^${env}.*\"))) | to_entries | .[0].value // \"\"" serverless-gitops/services/agentless-controller/versions.yaml
40
}
41
42
0 commit comments