Skip to content

Commit

Permalink
chore(Jenkinsfile_k8s) removes GC stage from pipeline (#1528)
Browse files Browse the repository at this point in the history
chore(Jenkinsfile_k8s) removes gc stage from pipeline

Signed-off-by: jayfranco999 <[email protected]>
  • Loading branch information
jayfranco999 authored Nov 15, 2024
1 parent df1c46d commit 55fce2d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Jenkinsfile_k8s
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 55fce2d

Please sign in to comment.