-
Notifications
You must be signed in to change notification settings - Fork 113
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
[KED-2742] Setup ci for deployment #555
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
limdauto
approved these changes
Sep 6, 2021
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.
Nice one!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
related ticket: https://github.com/quantumblacklabs/kedro-viz/compare/feature/KED-2829-setup-CI-for-deployment?expand=1
This is to set up the CI to trigger an automatic deployment to S3 on every push to remote. A newly pushed branch will trigger deployment to a new folder on the S3 bucket, otherwise new pushes will overwrite the previous deployed version of the branch.
The deployed URL will be in the format of
http://kedro-viz-fe.s3-website.eu-west-2.amazonaws.com/feature/(branch name)/?data=demo
Special thanks to @limdauto for introducing me to S3 and helping me troubleshoot the problems with this setup!
Development notes
I have added the new steps for deploying to S3 in the circle CI config file.
QA notes
The only way to QA this is to verify the successful deployment to S3 on the CI for this branch, which can be shown here: https://app.circleci.com/pipelines/github/quantumblacklabs/kedro-viz/4381/workflows/e4d497c5-4e39-4e8c-b48e-c8a419e7ff05/jobs/12621
The deployed version on S3 as a result of this deployment can be accessed here:
http://kedro-viz-fe.s3-website.eu-west-2.amazonaws.com/feature/KED-2829-setup-CI-for-deployment/?data=demo
Checklist
RELEASE.md
fileLegal notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":
I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.