From bcba28b3602b30a682ab6bf29da5ab439d023cc2 Mon Sep 17 00:00:00 2001 From: Aleksandr Vodyanov Date: Tue, 4 Feb 2025 16:15:21 +0300 Subject: [PATCH] hotfix: remove old image from pipelines (!72) Co-authored-by: aleksandr.vodyanov Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/72 --- .../jobs-dsl}/jobs/OMP/nextcloud_sync.groovy | 0 .../pipelines}/OMP/nextcloud_sync.groovy | 0 pipelines/jobs-dsl/jobs-dsl.groovy | 22 +------------------ 3 files changed, 1 insertion(+), 21 deletions(-) rename {jobs-dsl => archive/jobs-dsl}/jobs/OMP/nextcloud_sync.groovy (100%) rename {pipelines => archive/pipelines}/OMP/nextcloud_sync.groovy (100%) diff --git a/jobs-dsl/jobs/OMP/nextcloud_sync.groovy b/archive/jobs-dsl/jobs/OMP/nextcloud_sync.groovy similarity index 100% rename from jobs-dsl/jobs/OMP/nextcloud_sync.groovy rename to archive/jobs-dsl/jobs/OMP/nextcloud_sync.groovy diff --git a/pipelines/OMP/nextcloud_sync.groovy b/archive/pipelines/OMP/nextcloud_sync.groovy similarity index 100% rename from pipelines/OMP/nextcloud_sync.groovy rename to archive/pipelines/OMP/nextcloud_sync.groovy diff --git a/pipelines/jobs-dsl/jobs-dsl.groovy b/pipelines/jobs-dsl/jobs-dsl.groovy index 57c4ab7..4d937c3 100644 --- a/pipelines/jobs-dsl/jobs-dsl.groovy +++ b/pipelines/jobs-dsl/jobs-dsl.groovy @@ -12,27 +12,7 @@ properties([ ]), ]) -podTemplate(workspaceVolume: emptyDirWorkspaceVolume(memory: false), - yaml: ''' - apiVersion: v1 - kind: Pod - spec: - containers: - - name: linux - image: harbor.avroid.tech/devops/base-build-image:1.0 - tty: true - resources: - limits: - cpu: 300m - memory: 256Mi - requests: - cpu: 300m - memory: 256Mi - imagePullPolicy: Always - imagePullSecrets: - - name: harbor-registry-secret -''' -) { +podTemplate(workspaceVolume: emptyDirWorkspaceVolume(memory: false), yaml: getPodTemplate('alpine')) { node(POD_LABEL) { try { stage('Get repository') {