k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-infra-tools.yaml (about) 1 postsubmits: 2 kubernetes/registry.k8s.io: 3 # TODO(bentheelder): rerun_auth_config (let a github team re-run these, I probably need to join a team...) 4 - name: post-registry-push-images 5 cluster: k8s-infra-prow-build-trusted 6 annotations: 7 testgrid-dashboards: sig-k8s-infra-gcb 8 decorate: true 9 branches: 10 - ^main$ 11 # release tags 12 - ^v\d+.* 13 spec: 14 serviceAccountName: gcb-builder 15 containers: 16 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 17 command: 18 - /run.sh 19 args: 20 # this is the project GCB will run in, which is the same as the GCR 21 # images are pushed to. 22 - --project=k8s-staging-infra-tools 23 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 24 - . 25 env: 26 - name: LOG_TO_STDOUT 27 value: "y" 28 kubernetes-sigs/porche: 29 - name: post-porche-push-images 30 cluster: k8s-infra-prow-build-trusted 31 annotations: 32 testgrid-dashboards: sig-k8s-infra-gcb 33 decorate: true 34 branches: 35 - ^main$ 36 spec: 37 serviceAccountName: gcb-builder 38 containers: 39 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 40 command: 41 - /run.sh 42 args: 43 # this is the project GCB will run in, which is the same as the GCR 44 # images are pushed to. 45 - --project=k8s-staging-infra-tools 46 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 47 - --with-git-dir 48 - . 49 kubernetes/k8s.io: 50 # Special job to deploy the staging registry 51 # this should closely match post-registry-push-images 52 # TODO(bentheelder): rerun_auth_config (let a github team re-run these, I probably need to join a team...) 53 - name: post-k8s-deploy-registry 54 cluster: k8s-infra-prow-build-trusted 55 annotations: 56 testgrid-dashboards: sig-k8s-infra-gcb 57 decorate: true 58 branches: 59 - ^main$ 60 # run if either the staging root module or the common oci-proxy module are changed 61 run_if_changed: "(^infra/gcp/terraform/k8s-infra-oci-proxy/)|(^infra/gcp/terraform/modules/oci-proxy/)" 62 extra_refs: 63 - org: kubernetes 64 repo: registry.k8s.io 65 base_ref: main 66 # NOTE: the cloudbuild etc are actually from registry.k8s.io 67 # However they will deploy the terraform cchanges here 68 workdir: true 69 spec: 70 serviceAccountName: gcb-builder 71 containers: 72 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 73 command: 74 - /run.sh 75 args: 76 # this is the project GCB will run in, which is the same as the GCR 77 # images are pushed to. 78 - --project=k8s-staging-infra-tools 79 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 80 - . 81 env: 82 - name: LOG_TO_STDOUT 83 value: "y" 84 # normal image pushing jobs below 85 - name: post-k8sio-push-image-octodns-docker 86 cluster: k8s-infra-prow-build-trusted 87 annotations: 88 testgrid-dashboards: sig-k8s-infra-k8sio, sig-k8s-infra-gcb 89 decorate: true 90 run_if_changed: "^dns/octodns-docker/" 91 branches: 92 - ^main$ 93 spec: 94 serviceAccountName: gcb-builder 95 containers: 96 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 97 command: 98 - /run.sh 99 args: 100 # this is the project GCB will run in, which is the same as the GCR 101 # images are pushed to. 102 - --project=k8s-staging-infra-tools 103 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 104 - --env-passthrough=PULL_BASE_REF 105 - dns/octodns-docker 106 - name: post-k8sio-push-image-k8s-infra 107 cluster: k8s-infra-prow-build-trusted 108 annotations: 109 testgrid-dashboards: sig-k8s-infra-k8sio, sig-k8s-infra-gcb 110 decorate: true 111 run_if_changed: "^images/k8s-infra/" 112 branches: 113 - ^main$ 114 spec: 115 serviceAccountName: gcb-builder 116 containers: 117 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 118 command: 119 - /run.sh 120 args: 121 - --project=k8s-staging-infra-tools 122 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 123 - --env-passthrough=PULL_BASE_REF 124 - images/k8s-infra 125 - name: post-k8sio-push-image-public-log-asn-matcher 126 cluster: k8s-infra-prow-build-trusted 127 annotations: 128 testgrid-dashboards: sig-k8s-infra-k8sio, sig-k8s-infra-gcb 129 testgrid-alert-email: public-log-asn-matcher@ii.coop 130 description: Builds the public-log-asn-matcher image for generating data that is used for reviewing Kubernetes Public artifact traffic in DataStudio. 131 decorate: true 132 run_if_changed: "^images/public-log-asn-matcher/" 133 branches: 134 - ^main$ 135 spec: 136 serviceAccountName: gcb-builder 137 containers: 138 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 139 command: 140 - /run.sh 141 args: 142 # this is the project GCB will run in, which is the same as the GCR images are pushed to. 143 - --project=k8s-staging-infra-tools 144 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 145 - --env-passthrough=PULL_BASE_REF 146 - images/public-log-asn-matcher 147 - name: post-k8sio-push-image-cs-fetch-repos-canary 148 cluster: k8s-infra-prow-build-trusted 149 annotations: 150 testgrid-dashboards: sig-k8s-infra-k8sio, sig-k8s-infra-gcb 151 description: Builds the cs-fetch-repos image which creates a git repository configuration file for indexing by codesearch (aka Hound). 152 decorate: true 153 run_if_changed: "^images/codesearch/cs-fetch-repos/" 154 branches: 155 - ^main$ 156 spec: 157 serviceAccountName: gcb-builder 158 containers: 159 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 160 command: 161 - /run.sh 162 args: 163 - --project=k8s-staging-infra-tools 164 - --scratch-bucket=gs://k8s-staging-infra-tools-gcb 165 - --env-passthrough=PULL_BASE_REF 166 - images/codesearch/cs-fetch-repos