From 287a1c3a179339a50c9d3773fd6bd88d48b77891 Mon Sep 17 00:00:00 2001 From: Rado Chmiel Date: Fri, 2 Feb 2024 19:06:54 +0100 Subject: [PATCH] Remove pre-submit image builds (#497) To conserve prow resources --- .prow.yaml | 359 ----------------------------------------------------- 1 file changed, 359 deletions(-) diff --git a/.prow.yaml b/.prow.yaml index d2cc6657..22d2e93a 100644 --- a/.prow.yaml +++ b/.prow.yaml @@ -78,362 +78,3 @@ presubmits: command: - "/usr/local/bin/lichen.sh" - - name: build-push-pre-image-ueransim-deploy-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/ueransim-deploy-fn/Dockerfile --destination=nephio/pre-ueransim-deploy-fn:${PULL_BASE_REF} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-configinject-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/configinject-fn/Dockerfile --destination=nephio/pre-configinject-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-dnn-fn-commit-conf - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/dnn-fn/Dockerfile --destination=nephio/pre-dnn-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-gen-cmap-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/gen-configmap-fn/Dockerfile --destination=nephio/pre-gen-configmap-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-interface-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/interface-fn/Dockerfile --destination=nephio/pre-interface-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-ipam-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/ipam-fn/Dockerfile --destination=nephio/pre-ipam-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-nad-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/nad-fn/Dockerfile --destination=nephio/pre-nad-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-nfdeployfn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/nfdeploy-fn/Dockerfile --destination=nephio/pre-nfdeploy-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-vlan-fn - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=krm-functions/vlan-fn/Dockerfile --destination=nephio/pre-vlan-fn:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json - - - name: build-push-pre-image-nephio-operator - cluster: default - always_run: true - branches: - - "main" - annotations: - description: Build and Push Presubmit Image to Hub - decorate: true - decoration_config: - censor_secrets: true - max_concurrency: 0 - spec: - containers: - - name: kaniko - image: gcr.io/kaniko-project/executor:debug - command: - - "/bin/sh" - - "-c" - - | - executor --context=${PWD} \ - --dockerfile=operators/nephio-controller-manager/Dockerfile --destination=nephio/pre-nephio-operator:${BUILD_ID} - volumeMounts: - - name: kaniko-secret - mountPath: /kaniko/.docker/ - resources: - requests: - cpu: 1 - memory: 1Gi - volumes: - - name: kaniko-secret - secret: - secretName: regcred - items: - - key: .dockerconfigjson - path: config.json