From 1c7fd558fd59d26d293d688cad049f6af1e1f2f4 Mon Sep 17 00:00:00 2001 From: vinamra28 Date: Sat, 16 Sep 2023 14:20:06 +0530 Subject: [PATCH] Deprecate tasks which are using PipelineResources few Tasks still uses PipelineResources which is no longer available in latest version of pipelines hence marking them as deprecated Signed-off-by: vinamra28 --- task/buildkit-daemonless/0.1/buildkit-daemonless.yaml | 1 + task/buildkit/0.1/buildkit.yaml | 1 + task/buildpacks-phases/0.1/buildpacks-phases.yaml | 1 + task/buildpacks/0.2/buildpacks.yaml | 1 + task/jib-gradle/0.1/jib-gradle.yaml | 1 + task/jib-maven/0.1/jib-maven.yaml | 1 + task/makisu/0.1/makisu.yaml | 1 + task/nexus-lifecycle-scan/0.1/nexus-lifecycle-scan.yaml | 3 +-- .../openshift-client-kubecfg/0.1/openshift-client-kubecfg.yaml | 1 + task/openshift-client/0.1/openshift-client.yaml | 1 + task/s2i/0.1/s2i.yaml | 1 + 11 files changed, 11 insertions(+), 2 deletions(-) diff --git a/task/buildkit-daemonless/0.1/buildkit-daemonless.yaml b/task/buildkit-daemonless/0.1/buildkit-daemonless.yaml index 844927df..cbbfd103 100644 --- a/task/buildkit-daemonless/0.1/buildkit-daemonless.yaml +++ b/task/buildkit-daemonless/0.1/buildkit-daemonless.yaml @@ -10,6 +10,7 @@ metadata: tekton.dev/tags: image-build tekton.dev/displayName: "buildkit daemonless" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This Task builds source into a container image using Moby BuildKit. diff --git a/task/buildkit/0.1/buildkit.yaml b/task/buildkit/0.1/buildkit.yaml index 2443885b..c20e972e 100644 --- a/task/buildkit/0.1/buildkit.yaml +++ b/task/buildkit/0.1/buildkit.yaml @@ -9,6 +9,7 @@ metadata: tekton.dev/categories: Image Build tekton.dev/tags: image-build tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This Task builds source into a container image using Moby BuildKit. diff --git a/task/buildpacks-phases/0.1/buildpacks-phases.yaml b/task/buildpacks-phases/0.1/buildpacks-phases.yaml index 4e3359fd..60a7f5f7 100644 --- a/task/buildpacks-phases/0.1/buildpacks-phases.yaml +++ b/task/buildpacks-phases/0.1/buildpacks-phases.yaml @@ -11,6 +11,7 @@ metadata: tekton.dev/tags: image-build tekton.dev/displayName: "buildpacks-phases" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- The Buildpacks-Phases task builds source into a container image and pushes it to diff --git a/task/buildpacks/0.2/buildpacks.yaml b/task/buildpacks/0.2/buildpacks.yaml index 3a8243fb..80b8b7fc 100644 --- a/task/buildpacks/0.2/buildpacks.yaml +++ b/task/buildpacks/0.2/buildpacks.yaml @@ -11,6 +11,7 @@ metadata: tekton.dev/tags: image-build tekton.dev/displayName: "buildpacks" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- The Buildpacks task builds source into a container image and pushes it to a registry, diff --git a/task/jib-gradle/0.1/jib-gradle.yaml b/task/jib-gradle/0.1/jib-gradle.yaml index e8863855..977333ac 100644 --- a/task/jib-gradle/0.1/jib-gradle.yaml +++ b/task/jib-gradle/0.1/jib-gradle.yaml @@ -10,6 +10,7 @@ metadata: tekton.dev/tags: image-build tekton.dev/displayName: "jib gradle" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This Task builds Java/Kotlin/Groovy/Scala source into a container image using Google’s Jib tool. diff --git a/task/jib-maven/0.1/jib-maven.yaml b/task/jib-maven/0.1/jib-maven.yaml index b07eb590..9d307676 100644 --- a/task/jib-maven/0.1/jib-maven.yaml +++ b/task/jib-maven/0.1/jib-maven.yaml @@ -10,6 +10,7 @@ metadata: tekton.dev/tags: image-build tekton.dev/displayName: "jib maven" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This Task builds Java/Kotlin/Groovy/Scala source into a container image using Google’s Jib tool. diff --git a/task/makisu/0.1/makisu.yaml b/task/makisu/0.1/makisu.yaml index 095790e5..8f7fdd59 100644 --- a/task/makisu/0.1/makisu.yaml +++ b/task/makisu/0.1/makisu.yaml @@ -9,6 +9,7 @@ metadata: tekton.dev/categories: Image Build tekton.dev/tags: image-build tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This Task builds source into a container image using uber’s diff --git a/task/nexus-lifecycle-scan/0.1/nexus-lifecycle-scan.yaml b/task/nexus-lifecycle-scan/0.1/nexus-lifecycle-scan.yaml index 63653a1e..fa7a004d 100644 --- a/task/nexus-lifecycle-scan/0.1/nexus-lifecycle-scan.yaml +++ b/task/nexus-lifecycle-scan/0.1/nexus-lifecycle-scan.yaml @@ -107,8 +107,7 @@ spec: - name: TARGETS value: $(params.TARGETS) image: 'docker.io/sonatype/nexus-iq-cli:1.136.0-01' - name: '' - resources: {} + name: 'nexus-lifecycle-scan' script: > #!/usr/bin/env bash diff --git a/task/openshift-client-kubecfg/0.1/openshift-client-kubecfg.yaml b/task/openshift-client-kubecfg/0.1/openshift-client-kubecfg.yaml index edc6461b..2b359d11 100644 --- a/task/openshift-client-kubecfg/0.1/openshift-client-kubecfg.yaml +++ b/task/openshift-client-kubecfg/0.1/openshift-client-kubecfg.yaml @@ -10,6 +10,7 @@ metadata: tekton.dev/tags: cli tekton.dev/displayName: "openshift client kubecfg" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This task runs commands against any cluster that is provided to diff --git a/task/openshift-client/0.1/openshift-client.yaml b/task/openshift-client/0.1/openshift-client.yaml index fdb16e20..3155d7cb 100644 --- a/task/openshift-client/0.1/openshift-client.yaml +++ b/task/openshift-client/0.1/openshift-client.yaml @@ -11,6 +11,7 @@ metadata: tekton.dev/tags: cli tekton.dev/displayName: "openshift client" tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- This task runs commands against the cluster where the task run is diff --git a/task/s2i/0.1/s2i.yaml b/task/s2i/0.1/s2i.yaml index b6099ea4..b8bb69e0 100644 --- a/task/s2i/0.1/s2i.yaml +++ b/task/s2i/0.1/s2i.yaml @@ -9,6 +9,7 @@ metadata: tekton.dev/categories: Image Build tekton.dev/tags: image-build tekton.dev/platforms: "linux/amd64" + tekton.dev/deprecated: "true" spec: description: >- Source-to-Image (S2I) is a toolkit and workflow for building reproducible