Use environment custom worker pool for deploy step in cloud deploy (#3180)

This commit is contained in:
Juan Celhay
2026-07-28 19:08:26 +00:00
committed by GitHub
parent c36087dc93
commit 553fa1dc14
3 changed files with 22 additions and 2 deletions
+2
View File
@@ -80,10 +80,12 @@ steps:
artifact_storage=$(sed -n 's/^artifactStorage: //p' "$config_file")
service_account=$(sed -n 's/^serviceAccount: //p' "$config_file")
cluster_val=$(sed -n 's/^cluster: //p' "$config_file")
worker_pool=$(sed -n 's/^workerPool: //p' "$config_file")
sed -i "s|artifactStorage: artifactStorage|artifactStorage: $artifact_storage|" "$target_file"
sed -i "s|serviceAccount: serviceAccount|serviceAccount: $service_account|" "$target_file"
sed -i "s|cluster: cluster|cluster: $cluster_val|" "$target_file"
sed -i "s|workerPool: workerPool|workerPool: $worker_pool|" "$target_file"
fi
fi
done