From 44079e9f70a1078e2f35826bacd996dd5463efcc Mon Sep 17 00:00:00 2001 From: Fabio Pitino Date: Tue, 7 Nov 2023 12:35:16 +0000 Subject: [PATCH] Migrate to new directory structure --- .gitlab-ci.yml | 2 +- README.md | 4 ++-- template.yml => templates/job.yml | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename template.yml => templates/job.yml (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06b6252..125435a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ include: - component: gitlab.com/$CI_PROJECT_PATH@$CI_COMMIT_SHA + component: gitlab.com/$CI_PROJECT_PATH/job@$CI_COMMIT_SHA stages: [test, release] diff --git a/README.md b/README.md index f7890a7..9541ac5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ keyword. ```yaml include: - - component: gitlab.com/gitlab-components/secret-detection@ + - component: gitlab.com/gitlab-components/secret-detection/job@ ``` where `` is the latest released tag or `main`. @@ -22,7 +22,7 @@ If you are converting the configuration to use components and want to leverage t ```yaml include: - - component: gitlab.com/gitlab-components/secret-detection@main + - component: gitlab.com/gitlab-components/secret-detection/job@main rules: - if: $SECRET_DETECTION_DISABLED == "true" || $SECRET_DETECTION_DISABLED == "1" when: never diff --git a/template.yml b/templates/job.yml similarity index 100% rename from template.yml rename to templates/job.yml