From c571d8993c96472b270533a7c8804b1a3fc1af31 Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Tue, 6 Feb 2024 09:23:53 -0800 Subject: [PATCH 1/5] Fix commented out condition --- .pipelines/azure-pipeline-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pipelines/azure-pipeline-build.yml b/.pipelines/azure-pipeline-build.yml index 0b0289963..dbcc2ee66 100644 --- a/.pipelines/azure-pipeline-build.yml +++ b/.pipelines/azure-pipeline-build.yml @@ -902,7 +902,7 @@ jobs: - job: Deploy_Chart_ARC displayName: "Deploy: Arc dev cluster" - #condition: and(eq(variables.IS_PR, false), eq(variables.IS_MAIN_BRANCH, true)) + condition: and(eq(variables.IS_PR, false), eq(variables.IS_MAIN_BRANCH, true)) pool: name: Azure-Pipelines-CI-Test-EO dependsOn: From a23c8c35cb3faea6448c9178ba67c63bb587d55f Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Tue, 6 Feb 2024 12:25:10 -0800 Subject: [PATCH 2/5] Try to fix out of memory issue --- .pipelines/azure-pipeline-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pipelines/azure-pipeline-build.yml b/.pipelines/azure-pipeline-build.yml index dbcc2ee66..447a0ee7e 100644 --- a/.pipelines/azure-pipeline-build.yml +++ b/.pipelines/azure-pipeline-build.yml @@ -323,6 +323,8 @@ jobs: LINUX_FULL_IMAGE_NAME: $[ dependencies.Image_Tags_and_Ev2_Artifacts.outputs['setup.LINUX_FULL_IMAGE_NAME'] ] # This is necessary because of: https://github.com/moby/moby/issues/37965 DOCKER_BUILDKIT: 1 + workspace: + clean: all steps: - checkout: self submodules: true From d41b563b6c34324eb2bbdde4bd53032f8ce34ce5 Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Tue, 6 Feb 2024 12:33:53 -0800 Subject: [PATCH 3/5] Add docker prune --- .pipelines/azure-pipeline-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pipelines/azure-pipeline-build.yml b/.pipelines/azure-pipeline-build.yml index 447a0ee7e..2b6567648 100644 --- a/.pipelines/azure-pipeline-build.yml +++ b/.pipelines/azure-pipeline-build.yml @@ -343,6 +343,7 @@ jobs: # Necessary due to necessary due to https://stackoverflow.com/questions/60080264/docker-cannot-build-multi-platform-images-with-docker-buildx sudo apt-get update && sudo apt-get -y install qemu binfmt-support qemu-user-static docker system prune --volumes -y + docker system prune --all docker login containerinsightsprod.azurecr.io -u $(ACR_USERNAME) -p $(ACR_PASSWORD) docker run --rm --privileged multiarch/qemu-user-static --reset -p yes From 15df5de80bc10f8f2c6c8b74f3b49482333e124d Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Tue, 6 Feb 2024 12:46:02 -0800 Subject: [PATCH 4/5] Add yes to docker command --- .pipelines/azure-pipeline-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pipelines/azure-pipeline-build.yml b/.pipelines/azure-pipeline-build.yml index 2b6567648..23bd3ae27 100644 --- a/.pipelines/azure-pipeline-build.yml +++ b/.pipelines/azure-pipeline-build.yml @@ -342,8 +342,8 @@ jobs: # Necessary due to necessary due to https://stackoverflow.com/questions/60080264/docker-cannot-build-multi-platform-images-with-docker-buildx sudo apt-get update && sudo apt-get -y install qemu binfmt-support qemu-user-static - docker system prune --volumes -y - docker system prune --all + #docker system prune --volumes -y + docker system prune --all -f docker login containerinsightsprod.azurecr.io -u $(ACR_USERNAME) -p $(ACR_PASSWORD) docker run --rm --privileged multiarch/qemu-user-static --reset -p yes From 126af09308850ad8f2339dc798b70a56cac79ddc Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Tue, 6 Feb 2024 13:48:02 -0800 Subject: [PATCH 5/5] Remove extra fixes that didn't help --- .pipelines/azure-pipeline-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pipelines/azure-pipeline-build.yml b/.pipelines/azure-pipeline-build.yml index 23bd3ae27..87eb7362e 100644 --- a/.pipelines/azure-pipeline-build.yml +++ b/.pipelines/azure-pipeline-build.yml @@ -323,8 +323,6 @@ jobs: LINUX_FULL_IMAGE_NAME: $[ dependencies.Image_Tags_and_Ev2_Artifacts.outputs['setup.LINUX_FULL_IMAGE_NAME'] ] # This is necessary because of: https://github.com/moby/moby/issues/37965 DOCKER_BUILDKIT: 1 - workspace: - clean: all steps: - checkout: self submodules: true