k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/promo-tools/promo-tools.yaml (about)

     1  presubmits:
     2    kubernetes-sigs/promo-tools:
     3    # Run promoter e2e tests.
     4    - name: pull-cip-e2e
     5      decorate: true
     6      path_alias: "sigs.k8s.io/promo-tools"
     7      skip_report: false
     8      always_run: true
     9      # Because we run e2e tests, we cannot run more than 1 instance at a time
    10      # (the e2e test resources are not isolated across test runs).
    11      max_concurrency: 1
    12      labels:
    13        preset-dind-enabled: "true"
    14      branches:
    15      - ^main$
    16      spec:
    17        containers:
    18        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    19          command:
    20          - runner.sh
    21          args:
    22          - "./test-e2e/cip/e2e-entrypoint-from-container.sh"
    23          env:
    24          - name: CIP_E2E_KEY_FILE
    25            value: "/etc/k8s-cip-test-prod-service-account/service-account.json"
    26          - name: GOOGLE_APPLICATION_CREDENTIALS
    27            value: "/etc/k8s-cip-test-prod-service-account/service-account.json"
    28          volumeMounts:
    29          - name: k8s-cip-test-prod-service-account-creds
    30            mountPath: /etc/k8s-cip-test-prod-service-account
    31            readOnly: true
    32          # docker-in-docker needs privileged mode
    33          securityContext:
    34            privileged: true
    35        volumes:
    36        - name: k8s-cip-test-prod-service-account-creds
    37          secret:
    38            secretName: k8s-cip-test-prod-service-account
    39      annotations:
    40        testgrid-dashboards: sig-release-releng-presubmits
    41        testgrid-num-columns-recent: '30'
    42        testgrid-alert-email: release-managers+alerts@kubernetes.io
    43    - name: pull-cip-auditor-e2e
    44      decorate: true
    45      path_alias: "sigs.k8s.io/promo-tools"
    46      skip_report: false
    47      always_run: true
    48      # Because we run e2e tests, we cannot run more than 1 instance at a time
    49      # (the e2e test resources are not isolated across test runs).
    50      max_concurrency: 1
    51      labels:
    52        preset-dind-enabled: "true"
    53      branches:
    54      - ^main$
    55      spec:
    56        containers:
    57        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    58          command:
    59          - runner.sh
    60          args:
    61          - "./test-e2e/cip-auditor/entrypoint-from-container.sh"
    62          env:
    63          - name: CIP_E2E_KEY_FILE
    64            value: "/etc/k8s-gcr-audit-test-prod-service-account/service-account.json"
    65          - name: GOOGLE_APPLICATION_CREDENTIALS
    66            value: "/etc/k8s-cip-test-prod-service-account/service-account.json"
    67          volumeMounts:
    68          - name: k8s-gcr-audit-test-prod-service-account-creds
    69            mountPath: /etc/k8s-gcr-audit-test-prod-service-account
    70            readOnly: true
    71          # docker-in-docker needs privileged mode
    72          securityContext:
    73            privileged: true
    74        volumes:
    75        - name: k8s-gcr-audit-test-prod-service-account-creds
    76          secret:
    77            secretName: k8s-gcr-audit-test-prod-service-account
    78      annotations:
    79        testgrid-dashboards: sig-release-releng-presubmits
    80        testgrid-num-columns-recent: '30'
    81        testgrid-alert-email: release-managers+alerts@kubernetes.io
    82    - name: pull-cip-image-cip
    83      cluster: k8s-infra-prow-build
    84      decorate: true
    85      path_alias: "sigs.k8s.io/promo-tools"
    86      skip_report: false
    87      always_run: true
    88      spec:
    89        serviceAccountName: gcb-builder-releng-test
    90        containers:
    91          - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    92            command:
    93              - /run.sh
    94            args:
    95              - --project=k8s-staging-releng-test
    96              - --scratch-bucket=gs://k8s-staging-releng-test
    97              - --env-passthrough=PULL_BASE_REF
    98              - .
    99            env:
   100              - name: LOG_TO_STDOUT
   101                value: "y"
   102              - name: REGISTRY
   103                value: "gcr.io/k8s-staging-releng-test"
   104            resources:
   105              requests:
   106                cpu: 1000m
   107                memory: 1Gi
   108              limits:
   109                cpu: 1000m
   110                memory: 1Gi
   111      annotations:
   112        testgrid-dashboards: sig-release-releng-presubmits
   113        testgrid-tab-name: cip-image-cip
   114        testgrid-num-failures-to-alert: '10'
   115        testgrid-alert-email: release-managers+alerts@kubernetes.io
   116        testgrid-num-columns-recent: '30'
   117    # Build all binaries and also run unit tests.
   118    - name: pull-cip-unit-tests
   119      decorate: true
   120      path_alias: "sigs.k8s.io/promo-tools"
   121      skip_report: false
   122      always_run: true
   123      cluster: eks-prow-build-cluster
   124      branches:
   125      - ^main$
   126      spec:
   127        containers:
   128        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   129          command:
   130          - "make"
   131          args:
   132          - "test-ci"
   133          resources:
   134            limits:
   135              cpu: 4
   136              memory: 6Gi
   137            requests:
   138              cpu: 4
   139              memory: 6Gi
   140      annotations:
   141        testgrid-dashboards: sig-release-releng-presubmits
   142        testgrid-num-columns-recent: '30'
   143        testgrid-alert-email: release-managers+alerts@kubernetes.io
   144    # Run linter.
   145    - name: pull-cip-verify
   146      decorate: true
   147      path_alias: "sigs.k8s.io/promo-tools"
   148      skip_report: false
   149      always_run: true
   150      cluster: eks-prow-build-cluster
   151      branches:
   152      - ^main$
   153      spec:
   154        containers:
   155        - image: gcr.io/k8s-staging-releng/releng-ci:latest-go1.22-bookworm
   156          imagePullPolicy: Always
   157          command:
   158          - make
   159          - verify
   160          resources:
   161            limits:
   162              cpu: 4
   163              memory: 6Gi
   164            requests:
   165              cpu: 4
   166              memory: 6Gi
   167      annotations:
   168        testgrid-dashboards: sig-release-releng-presubmits
   169        testgrid-num-columns-recent: '30'
   170        testgrid-alert-email: release-managers+alerts@kubernetes.io
   171    - name: pull-cip-verify-archives
   172      decorate: true
   173      path_alias: "sigs.k8s.io/promo-tools"
   174      skip_report: false
   175      always_run: true
   176      cluster: eks-prow-build-cluster
   177      labels:
   178        preset-dind-enabled: "true"
   179      branches:
   180      - ^main$
   181      spec:
   182        containers:
   183        - image: gcr.io/k8s-staging-releng/k8s-ci-builder:latest-default
   184          imagePullPolicy: Always
   185          command:
   186          - wrapper.sh
   187          - make
   188          - verify-archives
   189          # docker-in-docker needs privileged mode
   190          resources:
   191            limits:
   192              cpu: 4
   193              memory: 6Gi
   194            requests:
   195              cpu: 4
   196              memory: 6Gi
   197          securityContext:
   198            privileged: true
   199      annotations:
   200        testgrid-dashboards: sig-release-releng-presubmits
   201        testgrid-num-columns-recent: '30'
   202        testgrid-alert-email: release-managers+alerts@kubernetes.io