-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automation for moving assets from bintray to github #277
Conversation
before_deploy.sh
Outdated
# The versions will be re-installed in gh-pages | ||
git clone -b gh-pages https://github.com/${TRAVIS_REPO_SLUG} xyz | ||
cp xyz/* . | ||
rm -rf xyz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ragsns Can you please explain why these steps are needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We reviewed this together and made some improvements.
before_deploy.sh
Outdated
# Get the latest index.yaml from github.io | ||
curl -o index.yaml https://pegasystems.github.io/pega-helm-charts/index.yaml | ||
# Clone the versions from gh-pages to a temp directory - xyz | ||
# The versions will be re-installed in g temporary directory - temp_gh_pages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A slight documentation error. Can this be updated to -
# Clone the versions from gh-pages to a temp directory - temp_gh_pages
# The versions will be re-installed into temporary directory - temp_gh_pages
…wed and fixed typo [ci skip]
…wed, fixed typo and merge issue [ci skip]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ragsns We are trying to understand the travis pages
provider. How does it know about the files to be committed/uploaded to gh-pages
branch. For example, with bintray there is descriptor-template.json. This kind of information is not mentioned. Is it going to commit just helm packages & index.yaml or entire master source code to gh-pages
branch?
@kishorv10 The gh-pages (which currently only consists of the artifacts for the helm charts i.e. what's available via github.io) is what's going to be the commit. So, the new .tgz s and the updated index.yaml. Without the git clone of the gh-pages branch only the new versions will be committed and the old versions will be removed and we don't want that (as I realized during my testing). |
Travis build script modifications to move helm charts from bintray to github pages using travis github pages provider.
* US-410084-2:Deployment changes for Client Cloud SRS-ES AuthN 1)Added Basic Authentication and AWS IAM Role authentication support for SRS * updated srs-deployment_test.go with newly added params for SRS * updated srs-deployment_test.go with conditional params for SRS * updated srs-deployment_test.go with missing param for SRS * 1)Backingservices documentation updated 2)srs-deployment_test.go updated * srs-deployment_test.go updated * Assertion fixes. * indentation changes for yaml * code improvements * code improvements for better reading. * Automation for moving assets from bintray to github (#277) Travis build script modifications to move helm charts from bintray to github pages using travis github pages provider. * Fixed typo in temp directory [ci skip] (#284) * Fixed typo in temp directory [ci skip] * Only cloning a single-branch and avoid master [ci skip] * Fixed typo in temp directory Fixed typo in temp directory * Update SRS docker version compatible with Pega 8.6 (#288) * ISSUE-90722 Change SRS docker version compatible with Pega 8.6 * ISSUE-90722 Set SRS version to 1.12.0 * Documentation corrections Co-authored-by: Rags <rags@acm.org> Co-authored-by: Dave Casavant <dcasavant@gmail.com> Co-authored-by: VinayKumar KsheeraSagar <73693854+pega-kshev@users.noreply.github.com>
No description provided.