github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/cmd/checkconfig/testdata/combined.yaml (about)

     1  branch-protection:
     2    allow_disabled_policies: true
     3    protect: false
     4    orgs:
     5      maistra-prow-testing:
     6        required_pull_request_reviews:
     7          required_approving_review_count: 1
     8          require_code_owner_reviews: false
     9      Maistra:
    10        required_pull_request_reviews:
    11          required_approving_review_count: 2
    12          require_code_owner_reviews: false
    13  deck:
    14    spyglass:
    15      size_limit: 500000000  # 500 MB
    16      lenses:
    17      - lens:
    18          name: buildlog
    19          config:
    20            highlight_regexes:
    21            - timed out
    22            - 'ERROR:'
    23            - (FAIL|Failure \[)\b
    24            - panic\b
    25            - ^E\d{4} \d\d:\d\d:\d\d\.\d\d\d]
    26        required_files:
    27        - build-log.txt
    28      - lens:
    29          name: junit
    30        required_files:
    31        - artifacts/junit.*\.xml
    32  plank:
    33    job_url_prefix_config:
    34      '*': "https://prow.maistra.io/view/"
    35    default_decoration_configs:
    36      '*':
    37        timeout: 2h
    38        grace_period: 15s
    39        utility_images:
    40          clonerefs: "gcr.io/k8s-prow/clonerefs:latest"
    41          initupload: "gcr.io/k8s-prow/initupload:latest"
    42          entrypoint: "gcr.io/k8s-prow/entrypoint:latest"
    43          sidecar: "gcr.io/k8s-prow/sidecar:latest"
    44        gcs_configuration:
    45          path_strategy: explicit
    46          bucket: "maistra-prow-testing"
    47        gcs_credentials_secret: "gcs-credentials"
    48  postsubmits:
    49    Maistra/test-infra:
    50    - name: deploy-prow
    51      decorate: true
    52      skip_report: false
    53      run_if_changed: '^prow/'
    54      labels:
    55        preset-prow-deployer: "true"
    56      max_concurrency: 1
    57      branches:
    58      - master
    59      spec:
    60        containers:
    61        - image: "quay.io/maistra/maistra-builder:1.1"
    62          imagePullPolicy: Always
    63          command:
    64          - make
    65          - gen-check
    66          - update-prow
    67    - name: push-containers
    68      decorate: true
    69      path_alias: github.com/maistra/test-infra
    70      skip_report: false
    71      run_if_changed: '^docker/'
    72      branches:
    73        - master
    74      labels:
    75        preset-quay-pusher: "true"
    76      max_concurrency: 1
    77      spec:
    78        containers:
    79        - image: "quay.io/maistra/maistra-builder:1.1"
    80          imagePullPolicy: Always
    81          command:
    82          - entrypoint
    83          - make
    84          - maistra-builder.push
    85          securityContext:
    86            privileged: true
    87  presets:
    88  - labels:
    89      preset-prow-deployer: "true"
    90    env:
    91    - name: KUBECONFIG
    92      value: /creds/kubeconfig.yaml
    93    volumeMounts:
    94    - name: creds
    95      mountPath: /creds
    96      readOnly: true
    97    volumes:
    98    - name: creds
    99      secret:
   100        secretName: prow-deployer-kubeconfig
   101  - labels:
   102      preset-quay-pusher: "true"
   103    env:
   104    - name: DOCKER_CONFIG
   105      value: /creds/
   106    volumeMounts:
   107    - name: creds
   108      mountPath: /creds
   109      readOnly: true
   110    volumes:
   111    - name: creds
   112      secret:
   113        secretName: quay-pusher-dockercfg
   114  presubmits:
   115    Maistra/maistra.github.io:
   116    - name: lint
   117      decorate: true
   118      always_run: true
   119      skip_report: false
   120      branches:
   121        - maistra-1.2
   122        - maistra-1.1
   123      spec:
   124        containers:
   125        - image: "quay.io/maistra/maistra-builder:1.1"
   126          command:
   127          - make
   128          - lint
   129      trigger: "(?m)^/test lint"
   130      rerun_command: "/test lint"
   131    - name: check-links
   132      decorate: true
   133      always_run: true
   134      skip_report: false
   135      branches:
   136        - maistra-1.2
   137        - maistra-1.1
   138      spec:
   139        containers:
   140        - image: "quay.io/maistra/maistra-builder:1.1"
   141          command:
   142          - make
   143          - check-links
   144      trigger: "(?m)^/test check-links"
   145      rerun_command: "/test check-links"
   146    Maistra/istio-operator:
   147    - name: unittests
   148      decorate: true
   149      always_run: true
   150      path_alias: github.com/maistra/istio-operator
   151      skip_report: false
   152      branches:
   153        - maistra-1.1
   154        - maistra-1.2
   155      spec:
   156        containers:
   157        - image: "quay.io/maistra/maistra-builder:1.1"
   158          command:
   159          - make
   160          - compile
   161          - test
   162          env:
   163          - name: XDG_CACHE_HOME
   164            value: /tmp/cache
   165          - name: GOCACHE
   166            value: /tmp/cache
   167    - name: gen-check
   168      decorate: true
   169      always_run: true
   170      path_alias: github.com/maistra/istio-operator
   171      skip_report: false
   172      branches:
   173        - maistra-1.1
   174        - maistra-1.2
   175      spec:
   176        containers:
   177        - image: "quay.io/maistra/maistra-builder:1.1"
   178          command:
   179          - make
   180          - gen-check
   181          env:
   182          - name: XDG_CACHE_HOME
   183            value: /tmp/cache
   184          - name: GOCACHE
   185            value: /tmp/cache
   186    Maistra/test-infra:
   187    - name: lint
   188      decorate: true
   189      always_run: true
   190      path_alias: github.com/maistra/test-infra
   191      skip_report: false
   192      branches:
   193        - master
   194      spec:
   195        containers:
   196        - image: "quay.io/maistra/maistra-builder:1.1"
   197          command:
   198          - make
   199          - lint
   200    - name: gen-check
   201      decorate: true
   202      always_run: true
   203      path_alias: github.com/maistra/test-infra
   204      skip_report: false
   205      branches:
   206        - master
   207      spec:
   208        containers:
   209        - image: "quay.io/maistra/maistra-builder:1.1"
   210          command:
   211          - make
   212          - gen-check
   213    - name: build-containers
   214      decorate: true
   215      path_alias: github.com/maistra/test-infra
   216      skip_report: false
   217      run_if_changed: '^docker/'
   218      branches:
   219        - master
   220      max_concurrency: 1
   221      spec:
   222        containers:
   223        - image: "quay.io/maistra/maistra-builder:1.1"
   224          imagePullPolicy: Always
   225          command:
   226          - entrypoint
   227          - make
   228          - build-containers
   229          securityContext:
   230            privileged: true
   231    Maistra/istio:
   232    - name: unittests
   233      decorate: true
   234      always_run: true
   235      path_alias: istio.io/istio
   236      skip_report: false
   237      branches:
   238        - maistra-1.1
   239      spec:
   240        containers:
   241        - image: "quay.io/maistra/maistra-builder:1.1"
   242          command:
   243          - make
   244          - init
   245          - test
   246          env:
   247          - name: GOFLAGS
   248            value: -mod=vendor
   249          - name: XDG_CACHE_HOME
   250            value: /tmp/cache
   251          - name: GOCACHE
   252            value: /tmp/cache
   253  
   254  ## The presubmits below are for the maistra-prow-testing org, which is our test bed
   255    maistra-prow-testing/test-infra:
   256    - name: build-containers
   257      decorate: true
   258      always_run: true
   259      path_alias: github.com/maistra/test-infra
   260      skip_report: false
   261      branches:
   262        - master
   263      max_concurrency: 1
   264      spec:
   265        containers:
   266        - image: "quay.io/maistra/maistra-builder:1.1"
   267          imagePullPolicy: Always
   268          command:
   269          - entrypoint
   270          - make
   271          - maistra-builder
   272          securityContext:
   273            privileged: true
   274    maistra-prow-testing/istio-operator:
   275    - name: unittests
   276      decorate: true
   277      always_run: true
   278      path_alias: github.com/maistra/istio-operator
   279      skip_report: false
   280      branches:
   281        - maistra-1.1
   282        - maistra-1.2
   283      spec:
   284        containers:
   285        - image: "quay.io/maistra/maistra-builder:1.1"
   286          command:
   287          - make
   288          - test
   289          env:
   290          - name: XDG_CACHE_HOME
   291            value: /tmp/cache
   292          - name: GOCACHE
   293            value: /tmp/cache
   294    - name: gen-check
   295      decorate: true
   296      always_run: true
   297      path_alias: github.com/maistra/istio-operator
   298      skip_report: false
   299      branches:
   300        - maistra-1.1
   301        - maistra-1.2
   302      spec:
   303        containers:
   304        - image: "quay.io/maistra/maistra-builder:1.1"
   305          command:
   306          - make
   307          - gen-check
   308          env:
   309          - name: XDG_CACHE_HOME
   310            value: /tmp/cache
   311          - name: GOCACHE
   312            value: /tmp/cache
   313    maistra-prow-testing/istio:
   314    - name: unittests
   315      decorate: true
   316      always_run: true
   317      path_alias: istio.io/istio
   318      skip_report: false
   319      branches:
   320        - maistra-1.0
   321      spec:
   322        containers:
   323        - image: "quay.io/maistra/maistra-builder:1.0"
   324          command:
   325          - make
   326          - init
   327          - test
   328          env:
   329          - name: ISTIO_BUILD_BUCKET
   330            value: "maistra-prow-testing"
   331          - name: XDG_CACHE_HOME
   332            value: /tmp/cache
   333          - name: GOCACHE
   334            value: /tmp/cache
   335    - name: integrationtests
   336      decorate: true
   337      always_run: true
   338      path_alias: istio.io/istio
   339      skip_report: false
   340      branches:
   341        - maistra-1.0
   342      spec:
   343        containers:
   344        - image: "quay.io/maistra/maistra-builder:1.0"
   345          command:
   346          - make
   347          - init
   348          - test.integration.local
   349          env:
   350          - name: ISTIO_BUILD_BUCKET
   351            value: "maistra-prow-testing"
   352          - name: XDG_CACHE_HOME
   353            value: /tmp/cache
   354          - name: GOCACHE
   355            value: /tmp/cache
   356  prowjob_namespace: default
   357  pod_namespace: test-pods
   358  sinker:
   359    resync_period: 1h
   360    max_prowjob_age: 168h
   361    max_pod_age: 6h