Refactoring for cord helm repo
Change-Id: Id9343dc349e6c96d2f0e68b4c48255fe62e1cfc1
diff --git a/jjb/charts.yaml b/jjb/charts.yaml
index b250975..20dd3d9 100644
--- a/jjb/charts.yaml
+++ b/jjb/charts.yaml
@@ -7,10 +7,9 @@
# add repos that have documentation to the project list in both jobs
jobs:
- 'publish-helm-repo':
- project-regexp: '^(helm-charts)$'
+ project-regexp: '{helm-charts-projects-regexp}'
branch-regexp: '{supported-branches-regexp}'
-
- job-template:
id: publish-helm-repo
name: 'publish-helm-repo'
@@ -64,5 +63,5 @@
./scripts/helmrepo.sh
# Copy repo to host
- rsync -rvzh --delete chart_repo/ {docs-ssh-host}:/var/www/charts/$GERRIT_BRANCH
+ rsync -rvzh chart_repo/ {docs-ssh-host}:/var/www/charts