From ec932d7d950124fc083f499babb6f6ee0e2192a6 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 29 Jul 2023 12:42:32 +0000 Subject: [PATCH 1/2] Update file render-pipelines-branch.sh --- scripts/render-pipelines-branch.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/render-pipelines-branch.sh b/scripts/render-pipelines-branch.sh index b12bf51..65f1937 100644 --- a/scripts/render-pipelines-branch.sh +++ b/scripts/render-pipelines-branch.sh @@ -6,8 +6,3 @@ for file in pipelines/*.yml do sed -i "s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g" ./$file done - -for file in compliance/*.yml - do - sed -i "s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g" ./$file -done From 3ef2e7c79958463f6307a022ec562312908805d5 Mon Sep 17 00:00:00 2001 From: DeveloperDurpBot Date: Sat, 29 Jul 2023 12:42:57 +0000 Subject: [PATCH 2/2] ci: render Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/949410577 --- job-templates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job-templates.yml b/job-templates.yml index aebb6c2..c6a3dc6 100644 --- a/job-templates.yml +++ b/job-templates.yml @@ -75,7 +75,7 @@ render-pipelines-to-branch: # End of install-yq.sh # Begin of render-pipelines-branch.sh - - "#Replace main branch with current branch\nfor file in pipelines/*.yml\n do \n sed -i \"s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g\" ./$file\ndone\nfor file in compliance/*.yml\n do \n sed -i \"s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g\" ./$file\ndone\n" + - "#Replace main branch with current branch\nfor file in pipelines/*.yml\n do \n sed -i \"s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g\" ./$file\ndone\n" # End of render-pipelines-branch.sh # Begin of commit-and-push-changes.sh