From c38f83c24d3eb428bf14da4d8a5e55df70d6d17e Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Fri, 23 Feb 2024 11:04:15 -0800 Subject: [PATCH] ci: Escape newline with back-slash (#5720) --- .github/workflows/pr-snapshot.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-snapshot.yaml b/.github/workflows/pr-snapshot.yaml index 790d8bafb731..e2237e37861c 100644 --- a/.github/workflows/pr-snapshot.yaml +++ b/.github/workflows/pr-snapshot.yaml @@ -50,13 +50,13 @@ jobs: ~~~ aws ecr get-login-password --region ${process.env.SNAPSHOT_REGION} | docker login --username AWS --password-stdin ${process.env.SNAPSHOT_ACCOUNT_ID}.dkr.ecr.${process.env.SNAPSHOT_REGION}.amazonaws.com - helm upgrade --install karpenter oci://${process.env.SNAPSHOT_ACCOUNT_ID}.dkr.ecr.${process.env.SNAPSHOT_REGION}.amazonaws.com/karpenter/snapshot --version "0-${process.env.PR_COMMIT}" --namespace "kube-system" --create-namespace \ - --set "settings.clusterName=\${CLUSTER_NAME}" \ - --set "settings.interruptionQueue=\${CLUSTER_NAME}" \ - --set controller.resources.requests.cpu=1 \ - --set controller.resources.requests.memory=1Gi \ - --set controller.resources.limits.cpu=1 \ - --set controller.resources.limits.memory=1Gi \ + helm upgrade --install karpenter oci://${process.env.SNAPSHOT_ACCOUNT_ID}.dkr.ecr.${process.env.SNAPSHOT_REGION}.amazonaws.com/karpenter/snapshot --version "0-${process.env.PR_COMMIT}" --namespace "kube-system" --create-namespace \\ + --set "settings.clusterName=\${CLUSTER_NAME}" \\ + --set "settings.interruptionQueue=\${CLUSTER_NAME}" \\ + --set controller.resources.requests.cpu=1 \\ + --set controller.resources.requests.memory=1Gi \\ + --set controller.resources.limits.cpu=1 \\ + --set controller.resources.limits.memory=1Gi \\ --wait ~~~ `