From c122fdb255050f8a0c3a228d657ebae0071c8ff9 Mon Sep 17 00:00:00 2001 From: Fabio Pitino Date: Tue, 7 Nov 2023 12:32:34 +0000 Subject: [PATCH] Migrate to new components directory structure --- .gitlab-ci.yml | 2 +- README.md | 4 ++-- template.yml => templates/all-jobs.yml | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename template.yml => templates/all-jobs.yml (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc5d474..868dad6 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/all-jobs@$CI_COMMIT_SHA stages: [test, release] diff --git a/README.md b/README.md index aba8d4d..795683c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ keyword. ```yaml include: - - component: gitlab.com/gitlab-components/sast@ + - component: gitlab.com/gitlab-components/sast/all-jobs@ ``` where `` is the latest released tag or `main`. @@ -21,7 +21,7 @@ If you are converting the configuration to use components and want to leverage t ```yaml include: - - component: gitlab.com/gitlab-components/sast@main + - component: gitlab.com/gitlab-components/sast/all-jobs@main rules: - if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1" when: never diff --git a/template.yml b/templates/all-jobs.yml similarity index 100% rename from template.yml rename to templates/all-jobs.yml