k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/.prow.yaml (about)

     1  # Copyright 2023 The Kubermatic Kubernetes Platform contributors.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  presubmits:
    16    - name: pre-kubermatic-api-lint
    17      run_if_changed: '^(pkg)'
    18      decorate: true
    19      clone_uri: "ssh://git@github.com/kubermatic/api.git"
    20      labels:
    21        preset-goproxy: "true"
    22      spec:
    23        containers:
    24          - image: quay.io/kubermatic/build:go-1.20-node-18-8
    25            command:
    26              - make
    27            args:
    28              - lint
    29            resources:
    30              requests:
    31                memory: 4Gi
    32                cpu: 2
    33  
    34    - name: pre-kubermatic-api-test
    35      run_if_changed: "^(hack|pkg)/"
    36      decorate: true
    37      clone_uri: "ssh://git@github.com/kubermatic/api.git"
    38      labels:
    39        preset-goproxy: "true"
    40      spec:
    41        containers:
    42          - image: quay.io/kubermatic/build:go-1.20-node-18-8
    43            command:
    44              - make
    45            args:
    46              - test
    47            resources:
    48              requests:
    49                memory: 2Gi
    50                cpu: 1
    51  
    52    - name: pre-kubermatic-api-verify
    53      always_run: true
    54      decorate: true
    55      clone_uri: "ssh://git@github.com/kubermatic/api.git"
    56      spec:
    57        containers:
    58          - image: quay.io/kubermatic/build:go-1.20-node-18-8
    59            command:
    60              - make
    61            args:
    62              - verify
    63            resources:
    64              requests:
    65                memory: 1Gi
    66                cpu: 1