k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/publishing-bot/publishing-bot-presubmits.yaml (about) 1 presubmits: 2 kubernetes/publishing-bot: 3 - name: pull-publishing-bot-build 4 cluster: eks-prow-build-cluster 5 always_run: true 6 decorate: true 7 path_alias: k8s.io/publishing-bot 8 spec: 9 containers: 10 - image: public.ecr.aws/docker/library/golang:1.22 11 command: 12 - make 13 resources: 14 limits: 15 cpu: 2 16 memory: 4Gi 17 requests: 18 cpu: 2 19 memory: 4Gi 20 annotations: 21 testgrid-dashboards: sig-release-publishing-bot 22 testgrid-tab-name: build 23 - name: pull-publishing-bot-test 24 cluster: eks-prow-build-cluster 25 always_run: true 26 decorate: true 27 path_alias: k8s.io/publishing-bot 28 spec: 29 containers: 30 - image: public.ecr.aws/docker/library/golang:1.22 31 command: 32 - make 33 - test 34 resources: 35 limits: 36 cpu: 2 37 memory: 4Gi 38 requests: 39 cpu: 2 40 memory: 4Gi 41 annotations: 42 testgrid-dashboards: sig-release-publishing-bot 43 testgrid-tab-name: test 44 - name: pull-publishing-bot-validate-rules 45 cluster: eks-prow-build-cluster 46 always_run: true 47 decorate: true 48 path_alias: k8s.io/publishing-bot 49 extra_refs: 50 - org: kubernetes 51 repo: kubernetes 52 base_ref: master 53 path_alias: k8s.io/kubernetes 54 spec: 55 containers: 56 - image: public.ecr.aws/docker/library/golang:1.22 57 env: 58 - name: "GOWORK" 59 value: "off" 60 command: 61 - go 62 args: 63 - run 64 - -mod=mod 65 - k8s.io/publishing-bot/cmd/validate-rules 66 - /home/prow/go/src/k8s.io/kubernetes/staging/publishing/rules.yaml 67 resources: 68 limits: 69 cpu: 2 70 memory: 4Gi 71 requests: 72 cpu: 2 73 memory: 4Gi 74 annotations: 75 testgrid-dashboards: sig-release-publishing-bot 76 testgrid-tab-name: validate-rules 77 - name: pull-publishing-bot-test-kubernetes-master 78 cluster: eks-prow-build-cluster 79 always_run: false 80 decorate: true 81 decoration_config: 82 timeout: 3h 83 annotations: 84 testgrid-dashboards: sig-release-publishing-bot 85 testgrid-tab-name: pull-publishing-bot-test-k8s-master 86 description: test publishing bot against k/k master 87 labels: 88 preset-dind-enabled: "true" 89 path_alias: k8s.io/publishing-bot 90 spec: 91 containers: 92 - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master 93 command: 94 - runner.sh 95 args: 96 - bash 97 - -ce 98 - | 99 make build-image 100 test/k8s-gen-bot-config.sh k8s-bot-config 101 test/run-bot-local.sh k8s-bot-config 102 securityContext: 103 privileged: true 104 resources: 105 requests: 106 cpu: 2 107 memory: 2Gi 108 limits: 109 cpu: 2 110 memory: 2Gi 111 - name: pull-publishing-bot-image 112 cluster: k8s-infra-prow-build 113 decorate: true 114 path_alias: "k8s.io/publishing-bot" 115 always_run: true 116 spec: 117 serviceAccountName: gcb-builder-releng-test 118 containers: 119 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 120 command: 121 - /run.sh 122 args: 123 - --project=k8s-staging-releng-test 124 - --scratch-bucket=gs://k8s-staging-releng-test 125 - --env-passthrough=PULL_BASE_REF 126 - . 127 env: 128 - name: LOG_TO_STDOUT 129 value: "y" 130 - name: REGISTRY 131 value: "gcr.io/k8s-staging-releng-test" 132 resources: 133 requests: 134 cpu: 1000m 135 memory: 1Gi 136 limits: 137 cpu: 1000m 138 memory: 1Gi 139 annotations: 140 testgrid-dashboards: sig-release-releng-presubmits 141 testgrid-tab-name: publishing-bot-image 142 testgrid-num-failures-to-alert: '10' 143 testgrid-alert-email: release-managers+alerts@kubernetes.io 144 testgrid-num-columns-recent: '30' 145 kubernetes/kubernetes: 146 - name: pull-publishing-bot-validate 147 cluster: eks-prow-build-cluster 148 always_run: false 149 decorate: true 150 path_alias: k8s.io/kubernetes 151 skip_report: false 152 optional: true 153 run_if_changed: '^staging/publishing.*$' 154 extra_refs: 155 - org: kubernetes 156 repo: publishing-bot 157 base_ref: master 158 path_alias: k8s.io/publishing-bot 159 spec: 160 containers: 161 - image: public.ecr.aws/docker/library/golang:1.22 162 env: 163 - name: "GOWORK" 164 value: "off" 165 command: 166 - go 167 args: 168 - run 169 - -mod=mod 170 - k8s.io/publishing-bot/cmd/validate-rules 171 - /home/prow/go/src/k8s.io/kubernetes/staging/publishing/rules.yaml 172 resources: 173 limits: 174 cpu: 2 175 memory: 4Gi 176 requests: 177 cpu: 2 178 memory: 4Gi 179 annotations: 180 testgrid-dashboards: sig-release-publishing-bot 181 testgrid-tab-name: validate