Skip to content

Commit

Permalink
chore(Jenkinsfile_k8s) removes GC stage from pipeline (jenkins-infr…
Browse files Browse the repository at this point in the history
…a#1528)

chore(Jenkinsfile_k8s) removes gc stage from pipeline

Signed-off-by: jayfranco999 <[email protected]>
  • Loading branch information
jayfranco999 committed Nov 26, 2024
1 parent 008e538 commit 4546872
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 4546872

Please sign in to comment.