hotfix: remove old image from pipelines (!72)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/72
This commit is contained in:
@@ -12,27 +12,7 @@ properties([
|
|||||||
]),
|
]),
|
||||||
])
|
])
|
||||||
|
|
||||||
podTemplate(workspaceVolume: emptyDirWorkspaceVolume(memory: false),
|
podTemplate(workspaceVolume: emptyDirWorkspaceVolume(memory: false), yaml: getPodTemplate('alpine')) {
|
||||||
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
|
|
||||||
'''
|
|
||||||
) {
|
|
||||||
node(POD_LABEL) {
|
node(POD_LABEL) {
|
||||||
try {
|
try {
|
||||||
stage('Get repository') {
|
stage('Get repository') {
|
||||||
|
|||||||
Reference in New Issue
Block a user