Skip to content
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

Merged
merged 17 commits into from
May 10, 2021

Conversation

ragsns
Copy link
Contributor

@ragsns ragsns commented Apr 20, 2021

No description provided.

@ragsns ragsns requested review from dcasavant and a team as code owners April 20, 2021 22:48
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
Copy link
Collaborator

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?

Copy link
Contributor Author

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
Copy link
Collaborator

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

Copy link
Contributor

@kishorv10 kishorv10 left a 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?

@ragsns
Copy link
Contributor Author

ragsns commented May 6, 2021

@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).

@kishorv10 kishorv10 merged commit 8fbc412 into master May 10, 2021
@kishorv10 kishorv10 deleted the ragsnsbintraytogithubautomation branch May 10, 2021 06:38
Anand-Kotamsetti pushed a commit to Anand-Kotamsetti/pega-helm-charts that referenced this pull request Jun 8, 2021
Travis build script modifications to move helm charts from bintray to github pages using travis github pages provider.
MadhuriArugula pushed a commit that referenced this pull request Jun 9, 2021
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants