From 17badbf4c1c31a436868db727820be210612b8d8 Mon Sep 17 00:00:00 2001 From: Robin Bourianes Date: Tue, 12 Apr 2022 11:06:18 +0200 Subject: [PATCH] fix: fix chart pack script [pack] --- .travis.pack.sh | 4 ++-- rclone.conf.tpl | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.pack.sh b/.travis.pack.sh index 42d7781a..967939ac 100644 --- a/.travis.pack.sh +++ b/.travis.pack.sh @@ -21,7 +21,7 @@ envsubst < rclone.conf.tpl > $HOME/.config/rclone/rclone.conf # Retrieve the repo index mkdir repo -rclone copy s3-host:/kalisio-charts/index.yaml repo +rclone copy charts:index.yaml repo # Declare the external repos helm repo add bitnami https://charts.bitnami.com/bitnami @@ -45,4 +45,4 @@ cd repo helm repo index . --merge index.yaml # Update the repo -rclone copy . s3-host:/kalisio-charts +rclone copy . charts diff --git a/rclone.conf.tpl b/rclone.conf.tpl index 233c4ae7..4b561550 100644 --- a/rclone.conf.tpl +++ b/rclone.conf.tpl @@ -1,4 +1,4 @@ -[s3-host] +[ovh] type = swift env_auth = false auth_version = 3 @@ -10,3 +10,7 @@ domain = default user = ${SWIFT_USER} key = ${SWIFT_KEY} region = GRA + +[charts] +type = alias +remote = ovh:charts