From ea39b5351859e7969479222ca60dd081a6af2f5d Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Wed, 24 Aug 2022 17:17:06 -0700 Subject: [PATCH] images: rm kubemci the only jobs that used it were continuously failing and have been removed --- .../test-infra/test-infra-trusted.yaml | 24 --------------- images/kubemci/Dockerfile | 29 ------------------- images/kubemci/Makefile | 21 -------------- images/kubemci/cloudbuild.yaml | 18 ------------ 4 files changed, 92 deletions(-) delete mode 100644 images/kubemci/Dockerfile delete mode 100644 images/kubemci/Makefile delete mode 100644 images/kubemci/cloudbuild.yaml diff --git a/config/jobs/kubernetes/test-infra/test-infra-trusted.yaml b/config/jobs/kubernetes/test-infra/test-infra-trusted.yaml index 7df1bacc2b3f..6364fc96f684 100644 --- a/config/jobs/kubernetes/test-infra/test-infra-trusted.yaml +++ b/config/jobs/kubernetes/test-infra/test-infra-trusted.yaml @@ -309,30 +309,6 @@ postsubmits: - --project=k8s-testimages - --build-dir=. - images/gcb-docker-gcloud/ - - name: post-test-infra-push-kubemci - cluster: test-infra-trusted - run_if_changed: '^images/kubemci/' - annotations: - testgrid-dashboards: "sig-testing-images" - testgrid-tab-name: "kubemci" - testgrid-alert-email: kubernetes-sig-testing-alerts@googlegroups.com, k8s-infra-oncall@google.com - testgrid-num-failures-to-alert: '1' - description: builds and pushes the kubemci image - decorate: true - branches: - - ^master$ - max_concurrency: 1 - spec: - serviceAccountName: deployer # TODO(fejta): should be pusher - containers: - - image: gcr.io/k8s-staging-test-infra/image-builder:v20220428-ae431ed1aa - command: - - /run.sh - args: - - --scratch-bucket=gs://k8s-testimages-scratch - - --project=k8s-testimages - - --build-dir=. - - images/kubemci/ - name: post-test-infra-push-test-gubernator cluster: test-infra-trusted run_if_changed: '^images/pull-test-infra-gubernator/' diff --git a/images/kubemci/Dockerfile b/images/kubemci/Dockerfile deleted file mode 100644 index 3adff8d45766..000000000000 --- a/images/kubemci/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2018 The Kubernetes Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -FROM gcr.io/k8s-staging-test-infra/kubekins-e2e:latest-master - -RUN apt-get update && apt-get install -y \ - git && \ - rm -rf /var/lib/apt/lists/* - -# Build latest kubemci from HEAD. -RUN cd /${GOPATH}/src && \ - mkdir -p github.com/GoogleCloudPlatform && \ - cd github.com/GoogleCloudPlatform && \ - git clone --depth 1 https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress.git && \ - cd k8s-multicluster-ingress && \ - make build && \ - cp kubemci /bin && \ - rm -rf /${GOPATH}/src/github.com/GoogleCloudPlatform/k8s-multicluster-ingress diff --git a/images/kubemci/Makefile b/images/kubemci/Makefile deleted file mode 100644 index 4ebf791bad25..000000000000 --- a/images/kubemci/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2018 The Kubernetes Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -push-prod: - ../../hack/make-rules/go-run/arbitrary.sh run ./images/builder --project=k8s-testimages --scratch-bucket=gs://k8s-testimages-scratch images/kubemci - -push: - ../../hack/make-rules/go-run/arbitrary.sh run ./images/builder --allow-dirty images/kubemci - -.PHONY: push push-prod diff --git a/images/kubemci/cloudbuild.yaml b/images/kubemci/cloudbuild.yaml deleted file mode 100644 index 9087c3607f44..000000000000 --- a/images/kubemci/cloudbuild.yaml +++ /dev/null @@ -1,18 +0,0 @@ -steps: - - name: gcr.io/cloud-builders/docker - args: - - build - - --tag=gcr.io/$PROJECT_ID/e2e-kubemci:$_GIT_TAG - - --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/e2e-kubemci:$_GIT_TAG - - . - dir: images/kubemci - - name: gcr.io/cloud-builders/docker - args: - - tag - - gcr.io/$PROJECT_ID/e2e-kubemci:$_GIT_TAG - - gcr.io/$PROJECT_ID/e2e-kubemci:latest -substitutions: - _GIT_TAG: '12345' -images: - - 'gcr.io/$PROJECT_ID/e2e-kubemci:$_GIT_TAG' - - 'gcr.io/$PROJECT_ID/e2e-kubemci:latest'