From 55fce2d5ea7399653407426ea0666a4bd53bb1c9 Mon Sep 17 00:00:00 2001 From: Jaideep <79799016+jayfranco999@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:37:00 +0530 Subject: [PATCH] chore(`Jenkinsfile_k8s`) removes GC stage from pipeline (#1528) chore(Jenkinsfile_k8s) removes gc stage from pipeline Signed-off-by: jayfranco999 --- Jenkinsfile_k8s | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Jenkinsfile_k8s b/Jenkinsfile_k8s index 07afeb1e9..1575e5768 100644 --- a/Jenkinsfile_k8s +++ b/Jenkinsfile_k8s @@ -74,22 +74,6 @@ pipeline { } } } - stage('GC on Azure') { - environment { - PACKER_AZURE = credentials('packer-azure-serviceprincipal-sponsorship') - } - steps { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh 'az login --service-principal -u "$PACKER_AZURE_CLIENT_ID" -p "$PACKER_AZURE_CLIENT_SECRET" -t "$PACKER_AZURE_TENANT_ID"' - sh 'az account set -s "$PACKER_AZURE_SUBSCRIPTION_ID"' - sh './cleanup/azure_gallery_images.sh 1 dev' - sh './cleanup/azure_gallery_images.sh 7 staging' - sh './cleanup/azure.sh 1 dev' - sh './cleanup/azure.sh 1 staging' - sh './cleanup/azure.sh 1 prod' - } - } - } } } stage('Packer Images') {