From a066fd2aac9355ef3c4117e268024c9017e84c07 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 5 Feb 2024 19:45:59 +0000 Subject: [PATCH] rename component to reflect usage --- components/sources/fetch_scan_results/BUILD | 14 -------------- .../kustomization.yaml | 0 .../sources/{fetch_scan_results => wget}/task.yaml | 2 +- 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 components/sources/fetch_scan_results/BUILD rename components/sources/{fetch_scan_results => wget}/kustomization.yaml (100%) rename components/sources/{fetch_scan_results => wget}/task.yaml (94%) diff --git a/components/sources/fetch_scan_results/BUILD b/components/sources/fetch_scan_results/BUILD deleted file mode 100644 index 246db2a5b..000000000 --- a/components/sources/fetch_scan_results/BUILD +++ /dev/null @@ -1,14 +0,0 @@ -subinclude( - "///k8s//build/defs:k8s", - "//build/defs:buildkit", - "//build/defs:dracon", -) - -dracon_component( - name = "source-fetch_scan_results", - images = [ - "//third_party/docker/library/buildpack-dependencies/stable-curl", - ], - task = "task.yaml", - visibility = ["//examples/pipelines/..."], -) diff --git a/components/sources/fetch_scan_results/kustomization.yaml b/components/sources/wget/kustomization.yaml similarity index 100% rename from components/sources/fetch_scan_results/kustomization.yaml rename to components/sources/wget/kustomization.yaml diff --git a/components/sources/fetch_scan_results/task.yaml b/components/sources/wget/task.yaml similarity index 94% rename from components/sources/fetch_scan_results/task.yaml rename to components/sources/wget/task.yaml index 7c149f7ed..bb5bef4ff 100644 --- a/components/sources/fetch_scan_results/task.yaml +++ b/components/sources/wget/task.yaml @@ -39,5 +39,5 @@ spec: [ "$(params.wget-options[*])", "$(params.wget-url)", - "$(workspaces.source-code-ws.path)/$(params.filename)", + "$(workspaces.source-code-ws.path)/$(params.wget-filename)", ]