diff --git a/deploy.sh b/deploy.sh index 1ed3c50fb..4873fbdb2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -13,27 +13,27 @@ if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ] chmod 700 get_helm.sh ./get_helm.sh - git clone https://github.com/ceph/csi-ceph + git clone https://github.com/ceph/csi-charts git clone https://github.com/ceph/ceph-csi - mkdir -p csi-ceph/docs + mkdir -p csi-charts/docs pushd ceph-csi > /dev/null git checkout -b csi-v1.0 CHANGED=0 VERSION=$(cat deploy/rbd/helm/Chart.yaml | awk '{if(/^version:/){print $2}}') - if [ ! -f "../csi-ceph/docs/ceph-csi-rbd-$VERSION.tgz" ]; then + if [ ! -f "../csi-charts/docs/ceph-csi-rbd-$VERSION.tgz" ]; then CHANGED=1 ln -s deploy/rbd/helm/ deploy/rbd/ceph-csi-rbd - pushd ../csi-ceph/docs/ > /dev/null + pushd ../csi-charts/docs/ > /dev/null helm package ../ceph-csi/deploy/rbd/ceph-csi-rbd popd > /dev/null fi popd > /dev/null if [ $CHANGED -eq 1 ]; then - pushd csi-ceph/docs > /dev/null + pushd csi-charts/docs > /dev/null helm repo index . git add --all :/ && git commit -m "Update repo" git push https://"$GITHUB_TOKEN"@github.com/ceph/csi-charts diff --git a/deploy/rbd/ceph-csi-rbd b/deploy/rbd/ceph-csi-rbd new file mode 120000 index 000000000..d8bff7c4d --- /dev/null +++ b/deploy/rbd/ceph-csi-rbd @@ -0,0 +1 @@ +deploy/rbd/helm/ \ No newline at end of file diff --git a/deploy/rbd/ceph-csi-rbd-0.2.0.tgz b/deploy/rbd/ceph-csi-rbd-0.2.0.tgz new file mode 100644 index 000000000..3ceb53d41 Binary files /dev/null and b/deploy/rbd/ceph-csi-rbd-0.2.0.tgz differ diff --git a/deploy/rbd/ceph-csi-rbd-0.3.0.tgz b/deploy/rbd/ceph-csi-rbd-0.3.0.tgz new file mode 100644 index 000000000..2c362a23b Binary files /dev/null and b/deploy/rbd/ceph-csi-rbd-0.3.0.tgz differ