Point to 2.6 branches and run make docs

pull/1068/head
Arvind Iyengar 2021-03-30 16:37:29 -07:00
parent 29beac9ba9
commit e9e8aef18d
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
5 changed files with 14 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
bin
*.DS_Store
.idea

View File

@ -23,7 +23,7 @@ This repository branch contains a `configuration.yaml` file that is used to spec
#### Sync
This branch syncs with the generated assets from the following branches:
- dev-v2.5-source at https://github.com/rancher/charts.git
- dev-v2.6-source at https://github.com/rancher/charts.git
To release a new version of a chart, please open the relevant PRs to one of these branches.
@ -32,7 +32,7 @@ Merging should trigger a sync workflow on pushing to these branches.
#### Validate
This branch validates against the generated assets of the following branches to make sure it isn't overriding already released charts.
- release-v2.5 at https://github.com/rancher/charts.git (only latest assets)
- release-v2.6 at https://github.com/rancher/charts.git (only latest assets)
Before submitting any PRs, a Github Workflow will check to see if your package doesn't break any already released packages in these repository branches.

View File

@ -2,10 +2,10 @@ template: staging
sync:
- url: https://github.com/rancher/charts.git
branch: dev-v2.5-source
branch: dev-v2.6-source
validate:
- url: https://github.com/rancher/charts.git
branch: release-v2.5
branch: release-v2.6
dropReleaseCandidates: true
helmRepo:
cname: charts.rancher.io

View File

@ -3,6 +3,13 @@ set -e
cd $(dirname $0)
if [[ -z ${BRANCH} ]]; then
branch=$(git rev-parse --abbrev-ref HEAD)
else
echo "Using branch ${BRANCH}"
branch=${BRANCH}
fi
if [[ -z ${REPOSITORY} ]]; then
echo "Need to provide REPOSITORY as environment variable"
exit 1
@ -16,7 +23,6 @@ mkdir -p ./repository
cd repository
# Pull in branch
branch=$(git rev-parse --abbrev-ref HEAD)
echo "Pulling in ${REPOSITORY}@${branch}"
git clone --depth 1 --branch ${branch} ${REPOSITORY} . > /dev/null 2>&1