From d250a2b7110fa27ca6703fcb42079fcc364974c8 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Thu, 4 Jul 2024 09:32:01 +0200 Subject: [PATCH] =?UTF-8?q?tekton/images:=20remove=20skopeo=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don't think it is used anywhere, so let's not have to maintain it. And even if it is, we should use the skopeo image maintained by the skopeo project. Signed-off-by: Vincent Demeester --- .../dogfooding/images/kustomization.yaml | 1 - .../images/skopeo-nightly/README.md | 2 -- .../images/skopeo-nightly/cronjob.yaml | 31 ------------------- .../images/skopeo-nightly/kustomization.yaml | 5 --- tekton/images/skopeo/Dockerfile | 18 ----------- 5 files changed, 57 deletions(-) delete mode 100644 tekton/cronjobs/dogfooding/images/skopeo-nightly/README.md delete mode 100644 tekton/cronjobs/dogfooding/images/skopeo-nightly/cronjob.yaml delete mode 100644 tekton/cronjobs/dogfooding/images/skopeo-nightly/kustomization.yaml delete mode 100644 tekton/images/skopeo/Dockerfile diff --git a/tekton/cronjobs/dogfooding/images/kustomization.yaml b/tekton/cronjobs/dogfooding/images/kustomization.yaml index 2a41573132..3b3355ef46 100644 --- a/tekton/cronjobs/dogfooding/images/kustomization.yaml +++ b/tekton/cronjobs/dogfooding/images/kustomization.yaml @@ -8,7 +8,6 @@ resources: - kubectl-nightly - openssh-server-nightly - pipeline-test-runner-nightly -- skopeo-nightly - tkn-nightly - buildx-gcloud-nightly - teps-community-nightly diff --git a/tekton/cronjobs/dogfooding/images/skopeo-nightly/README.md b/tekton/cronjobs/dogfooding/images/skopeo-nightly/README.md deleted file mode 100644 index 82d160f797..0000000000 --- a/tekton/cronjobs/dogfooding/images/skopeo-nightly/README.md +++ /dev/null @@ -1,2 +0,0 @@ -Cron Job to build a container image with `skopeo` installed. -The image is published daily to [gcr.io/tekton-releases/dogfooding/skopeo:latest](gcr.io/tekton-releases/dogfooding/skopeo:latest). diff --git a/tekton/cronjobs/dogfooding/images/skopeo-nightly/cronjob.yaml b/tekton/cronjobs/dogfooding/images/skopeo-nightly/cronjob.yaml deleted file mode 100644 index 672db8c1b5..0000000000 --- a/tekton/cronjobs/dogfooding/images/skopeo-nightly/cronjob.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: batch/v1 -kind: CronJob -metadata: - name: image-build-cron-trigger -spec: - schedule: "0 3 * * *" - concurrencyPolicy: Forbid - jobTemplate: - spec: - template: - spec: - initContainers: - - name: git - env: - - name: GIT_REPOSITORY - value: github.com/tektoncd/plumbing - - name: GIT_REVISION - value: main - containers: - - name: trigger - env: - - name: SINK_URL - value: el-image-builder.default.svc.cluster.local:8080 - - name: TARGET_IMAGE - value: gcr.io/tekton-releases/dogfooding/skopeo - - name: CONTEXT_PATH - value: tekton/images/skopeo - - name: BUILD_TYPE - value: docker - - name: PLATFORMS - value: "linux/amd64,linux/s390x,linux/ppc64le,linux/arm64" diff --git a/tekton/cronjobs/dogfooding/images/skopeo-nightly/kustomization.yaml b/tekton/cronjobs/dogfooding/images/skopeo-nightly/kustomization.yaml deleted file mode 100644 index ec236c470f..0000000000 --- a/tekton/cronjobs/dogfooding/images/skopeo-nightly/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -bases: -- ../../../bases/image-build -patchesStrategicMerge: -- cronjob.yaml -nameSuffix: "-skopeo" diff --git a/tekton/images/skopeo/Dockerfile b/tekton/images/skopeo/Dockerfile deleted file mode 100644 index c98e19a778..0000000000 --- a/tekton/images/skopeo/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2018 The Knative 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 alpine:3.20@sha256:77726ef6b57ddf65bb551896826ec38bc3e53f75cdde31354fbffb4f25238ebd -LABEL maintainer "Tekton Authors " - -RUN apk add --no-cache jq skopeo