From 48ed5a7ebf07c0f0a556bad4c7f49f98da4a6919 Mon Sep 17 00:00:00 2001 From: Daniel Haus Date: Fri, 7 Jun 2024 14:34:53 +0200 Subject: [PATCH] Update RHACS image scan version to 0.1/0.2. --- task/rhacs-image-scan/{3.71 => 0.1}/README.md | 0 task/rhacs-image-scan/{3.71 => 0.1}/rhacs-image-scan.yaml | 2 +- task/rhacs-image-scan/{3.71 => 0.1}/samples/pipeline.yaml | 0 task/rhacs-image-scan/{3.71 => 0.1}/samples/pipelinerun.yaml | 0 task/rhacs-image-scan/{3.71 => 0.1}/samples/secrets.yaml | 0 task/rhacs-image-scan/{4.0 => 0.2}/README.md | 2 +- task/rhacs-image-scan/{4.0 => 0.2}/rhacs-image-scan.yaml | 2 +- .../{4.0 => 0.2}/samples/with-api-token/pipeline.yaml | 0 .../{4.0 => 0.2}/samples/with-api-token/pipelinerun.yaml | 0 .../{4.0 => 0.2}/samples/with-api-token/secrets.yaml | 0 .../{4.0 => 0.2}/samples/with-m2m-token/pipeline.yaml | 0 .../{4.0 => 0.2}/samples/with-m2m-token/pipelinerun.yaml | 0 12 files changed, 3 insertions(+), 3 deletions(-) rename task/rhacs-image-scan/{3.71 => 0.1}/README.md (100%) rename task/rhacs-image-scan/{3.71 => 0.1}/rhacs-image-scan.yaml (98%) rename task/rhacs-image-scan/{3.71 => 0.1}/samples/pipeline.yaml (100%) rename task/rhacs-image-scan/{3.71 => 0.1}/samples/pipelinerun.yaml (100%) rename task/rhacs-image-scan/{3.71 => 0.1}/samples/secrets.yaml (100%) rename task/rhacs-image-scan/{4.0 => 0.2}/README.md (98%) rename task/rhacs-image-scan/{4.0 => 0.2}/rhacs-image-scan.yaml (99%) rename task/rhacs-image-scan/{4.0 => 0.2}/samples/with-api-token/pipeline.yaml (100%) rename task/rhacs-image-scan/{4.0 => 0.2}/samples/with-api-token/pipelinerun.yaml (100%) rename task/rhacs-image-scan/{4.0 => 0.2}/samples/with-api-token/secrets.yaml (100%) rename task/rhacs-image-scan/{4.0 => 0.2}/samples/with-m2m-token/pipeline.yaml (100%) rename task/rhacs-image-scan/{4.0 => 0.2}/samples/with-m2m-token/pipelinerun.yaml (100%) diff --git a/task/rhacs-image-scan/3.71/README.md b/task/rhacs-image-scan/0.1/README.md similarity index 100% rename from task/rhacs-image-scan/3.71/README.md rename to task/rhacs-image-scan/0.1/README.md diff --git a/task/rhacs-image-scan/3.71/rhacs-image-scan.yaml b/task/rhacs-image-scan/0.1/rhacs-image-scan.yaml similarity index 98% rename from task/rhacs-image-scan/3.71/rhacs-image-scan.yaml rename to task/rhacs-image-scan/0.1/rhacs-image-scan.yaml index a08989012b..0b1ed0496b 100644 --- a/task/rhacs-image-scan/3.71/rhacs-image-scan.yaml +++ b/task/rhacs-image-scan/0.1/rhacs-image-scan.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: rhacs-image-scan labels: - app.kubernetes.io/version: "3.71" + app.kubernetes.io/version: "0.1" annotations: tekton.dev/tags: security tekton.dev/categories: Security diff --git a/task/rhacs-image-scan/3.71/samples/pipeline.yaml b/task/rhacs-image-scan/0.1/samples/pipeline.yaml similarity index 100% rename from task/rhacs-image-scan/3.71/samples/pipeline.yaml rename to task/rhacs-image-scan/0.1/samples/pipeline.yaml diff --git a/task/rhacs-image-scan/3.71/samples/pipelinerun.yaml b/task/rhacs-image-scan/0.1/samples/pipelinerun.yaml similarity index 100% rename from task/rhacs-image-scan/3.71/samples/pipelinerun.yaml rename to task/rhacs-image-scan/0.1/samples/pipelinerun.yaml diff --git a/task/rhacs-image-scan/3.71/samples/secrets.yaml b/task/rhacs-image-scan/0.1/samples/secrets.yaml similarity index 100% rename from task/rhacs-image-scan/3.71/samples/secrets.yaml rename to task/rhacs-image-scan/0.1/samples/secrets.yaml diff --git a/task/rhacs-image-scan/4.0/README.md b/task/rhacs-image-scan/0.2/README.md similarity index 98% rename from task/rhacs-image-scan/4.0/README.md rename to task/rhacs-image-scan/0.2/README.md index e16d611b02..629c849653 100644 --- a/task/rhacs-image-scan/4.0/README.md +++ b/task/rhacs-image-scan/0.2/README.md @@ -6,7 +6,7 @@ lifecycle policies to validate a pipeline run using `roxctl`. This tasks allows you to return full vulnerability scan results for an image in JSON, CSV, or Pretty format. It's a companion to the rhacs-image-check task. -**Note: this Task is not backwards compatible with the `3.71` version as it +**Note: this Task is not backwards compatible with the `0.1` version as it changes the parameters and token configuration.** **Note: this Task requires a 4.4.2 roxctl image (task default) or a more recent diff --git a/task/rhacs-image-scan/4.0/rhacs-image-scan.yaml b/task/rhacs-image-scan/0.2/rhacs-image-scan.yaml similarity index 99% rename from task/rhacs-image-scan/4.0/rhacs-image-scan.yaml rename to task/rhacs-image-scan/0.2/rhacs-image-scan.yaml index d53f58a0ad..0ec6f99385 100644 --- a/task/rhacs-image-scan/4.0/rhacs-image-scan.yaml +++ b/task/rhacs-image-scan/0.2/rhacs-image-scan.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: rhacs-image-scan labels: - app.kubernetes.io/version: "4.0" + app.kubernetes.io/version: "0.2" annotations: tekton.dev/tags: security tekton.dev/categories: Security diff --git a/task/rhacs-image-scan/4.0/samples/with-api-token/pipeline.yaml b/task/rhacs-image-scan/0.2/samples/with-api-token/pipeline.yaml similarity index 100% rename from task/rhacs-image-scan/4.0/samples/with-api-token/pipeline.yaml rename to task/rhacs-image-scan/0.2/samples/with-api-token/pipeline.yaml diff --git a/task/rhacs-image-scan/4.0/samples/with-api-token/pipelinerun.yaml b/task/rhacs-image-scan/0.2/samples/with-api-token/pipelinerun.yaml similarity index 100% rename from task/rhacs-image-scan/4.0/samples/with-api-token/pipelinerun.yaml rename to task/rhacs-image-scan/0.2/samples/with-api-token/pipelinerun.yaml diff --git a/task/rhacs-image-scan/4.0/samples/with-api-token/secrets.yaml b/task/rhacs-image-scan/0.2/samples/with-api-token/secrets.yaml similarity index 100% rename from task/rhacs-image-scan/4.0/samples/with-api-token/secrets.yaml rename to task/rhacs-image-scan/0.2/samples/with-api-token/secrets.yaml diff --git a/task/rhacs-image-scan/4.0/samples/with-m2m-token/pipeline.yaml b/task/rhacs-image-scan/0.2/samples/with-m2m-token/pipeline.yaml similarity index 100% rename from task/rhacs-image-scan/4.0/samples/with-m2m-token/pipeline.yaml rename to task/rhacs-image-scan/0.2/samples/with-m2m-token/pipeline.yaml diff --git a/task/rhacs-image-scan/4.0/samples/with-m2m-token/pipelinerun.yaml b/task/rhacs-image-scan/0.2/samples/with-m2m-token/pipelinerun.yaml similarity index 100% rename from task/rhacs-image-scan/4.0/samples/with-m2m-token/pipelinerun.yaml rename to task/rhacs-image-scan/0.2/samples/with-m2m-token/pipelinerun.yaml