k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/releng/k8s-staging-build-image.yaml (about)

     1  postsubmits:
     2    kubernetes/release:
     3      - name: post-release-push-image-debian-base
     4        cluster: k8s-infra-prow-build-trusted
     5        annotations:
     6          testgrid-dashboards: sig-release-releng-informing, sig-release-master-informing, sig-release-image-pushes, sig-k8s-infra-gcb
     7          testgrid-alert-email: release-managers+alerts@kubernetes.io
     8        decorate: true
     9        run_if_changed: '^images\/build\/debian-base\/'
    10        branches:
    11          - ^main$
    12          # TODO(releng): Remove once repo default branch has been renamed
    13          - ^master$
    14        spec:
    15          serviceAccountName: gcb-builder
    16          containers:
    17            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    18              command:
    19                - /run.sh
    20              args:
    21                - --project=k8s-staging-build-image
    22                - --scratch-bucket=gs://k8s-staging-build-image-gcb
    23                - --build-dir=.
    24                - --env-passthrough=REGISTRY
    25                - images/build/debian-base
    26              env:
    27                - name: LOG_TO_STDOUT
    28                  value: "y"
    29                - name: REGISTRY
    30                  value: "gcr.io/k8s-staging-build-image"
    31        rerun_auth_config:
    32          github_team_slugs:
    33            - org: kubernetes
    34              slug: release-managers
    35      - name: post-release-push-image-distroless-iptables
    36        cluster: k8s-infra-prow-build-trusted
    37        annotations:
    38          testgrid-dashboards: sig-release-releng-informing, sig-release-master-informing, sig-release-image-pushes, sig-k8s-infra-gcb
    39          testgrid-alert-email: release-managers+alerts@kubernetes.io
    40        decorate: true
    41        run_if_changed: '^images\/build\/distroless-iptables\/'
    42        branches:
    43          - ^main$
    44          # TODO(releng): Remove once repo default branch has been renamed
    45          - ^master$
    46        spec:
    47          serviceAccountName: gcb-builder
    48          containers:
    49            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    50              command:
    51                - /run.sh
    52              args:
    53                - --project=k8s-staging-build-image
    54                - --scratch-bucket=gs://k8s-staging-build-image-gcb
    55                - --env-passthrough=REGISTRY
    56                - --build-dir=.
    57                - images/build/distroless-iptables
    58              env:
    59                - name: LOG_TO_STDOUT
    60                  value: "y"
    61                - name: REGISTRY
    62                  value: "gcr.io/k8s-staging-build-image"
    63        rerun_auth_config:
    64          github_team_slugs:
    65            - org: kubernetes
    66              slug: release-managers
    67      - name: post-release-push-image-go-runner
    68        cluster: k8s-infra-prow-build-trusted
    69        annotations:
    70          testgrid-dashboards: sig-release-releng-informing, sig-release-master-informing, sig-release-image-pushes, sig-k8s-infra-gcb
    71          testgrid-alert-email: release-managers+alerts@kubernetes.io
    72        decorate: true
    73        run_if_changed: '^images\/build\/go-runner\/'
    74        branches:
    75          - ^main$
    76          # TODO(releng): Remove once repo default branch has been renamed
    77          - ^master$
    78        spec:
    79          serviceAccountName: gcb-builder
    80          containers:
    81            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    82              command:
    83                - /run.sh
    84              args:
    85                - --project=k8s-staging-build-image
    86                - --scratch-bucket=gs://k8s-staging-build-image-gcb
    87                - --build-dir=.
    88                - --env-passthrough=REGISTRY
    89                - images/build/go-runner
    90              env:
    91                - name: LOG_TO_STDOUT
    92                  value: "y"
    93                - name: REGISTRY
    94                  value: "gcr.io/k8s-staging-build-image"
    95        rerun_auth_config:
    96          github_team_slugs:
    97            - org: kubernetes
    98              slug: release-managers
    99      - name: post-release-push-image-kube-cross
   100        cluster: k8s-infra-prow-build-trusted
   101        annotations:
   102          testgrid-dashboards: sig-release-releng-informing, sig-release-master-informing, sig-release-image-pushes, sig-k8s-infra-gcb
   103          testgrid-alert-email: release-managers+alerts@kubernetes.io
   104        decorate: true
   105        decoration_config:
   106          timeout: 4h
   107        run_if_changed: '^images\/build\/cross\/'
   108        branches:
   109          - ^main$
   110          # TODO(releng): Remove once repo default branch has been renamed
   111          - ^master$
   112        spec:
   113          serviceAccountName: gcb-builder
   114          containers:
   115            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
   116              command:
   117                - /run.sh
   118              args:
   119                - --project=k8s-staging-build-image
   120                - --scratch-bucket=gs://k8s-staging-build-image-gcb
   121                - --env-passthrough=REGISTRY
   122                - --build-dir=.
   123                - images/build/cross
   124              env:
   125                - name: LOG_TO_STDOUT
   126                  value: "y"
   127                - name: REGISTRY
   128                  value: "gcr.io/k8s-staging-build-image"
   129        rerun_auth_config:
   130          github_team_slugs:
   131            - org: kubernetes
   132              slug: release-managers
   133      - name: post-release-push-image-setcap
   134        cluster: k8s-infra-prow-build-trusted
   135        annotations:
   136          testgrid-dashboards: sig-release-releng-informing, sig-release-master-informing, sig-release-image-pushes, sig-k8s-infra-gcb
   137          testgrid-alert-email: release-managers+alerts@kubernetes.io
   138        decorate: true
   139        run_if_changed: '^images\/build\/setcap\/'
   140        branches:
   141          - ^main$
   142          # TODO(releng): Remove once repo default branch has been renamed
   143          - ^master$
   144        spec:
   145          serviceAccountName: gcb-builder
   146          containers:
   147            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
   148              command:
   149                - /run.sh
   150              args:
   151                - --project=k8s-staging-build-image
   152                - --scratch-bucket=gs://k8s-staging-build-image-gcb
   153                - --env-passthrough=REGISTRY
   154                - --build-dir=.
   155                - images/build/setcap
   156              env:
   157                - name: LOG_TO_STDOUT
   158                  value: "y"
   159                - name: REGISTRY
   160                  value: "gcr.io/k8s-staging-build-image"
   161        rerun_auth_config:
   162          github_team_slugs:
   163            - org: kubernetes
   164              slug: release-managers