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

     1  postsubmits:
     2    # this is the github repo we'll build from; this block needs to be repeated for each repo.
     3    kubernetes/kops:
     4      - name: kops-postsubmit-push-to-staging
     5        rerun_auth_config:
     6          github_team_slugs:
     7            - org: kubernetes
     8              slug: kops-maintainers
     9        cluster: k8s-infra-prow-build-trusted
    10        annotations:
    11          # this is the name of some testgrid dashboard to report to.
    12          testgrid-dashboards: sig-cluster-lifecycle-kops, kops-misc, sig-k8s-infra-gcb
    13        decorate: true
    14        branches:
    15          - ^master$
    16          - ^release-.*
    17          # Build tags also
    18          # this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
    19          - ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
    20        spec:
    21          serviceAccountName: gcb-builder
    22          containers:
    23            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    24              command:
    25                - /run.sh
    26              args:
    27                # this is the project GCB will run in, which is the same as the GCR images are pushed to.
    28                - --project=k8s-staging-kops
    29                - --scratch-bucket=gs://k8s-staging-kops-gcb
    30                - --env-passthrough=PULL_BASE_REF
    31                - --with-git-dir
    32                - .