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

[KED-2742] Setup ci for deployment #555

Merged
merged 18 commits into from
Sep 7, 2021

Conversation

studioswong
Copy link
Contributor

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

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

Legal 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.

@studioswong studioswong requested a review from limdauto September 6, 2021 18:16
Copy link
Collaborator

@limdauto limdauto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@studioswong studioswong merged commit b69314a into main Sep 7, 2021
@studioswong studioswong deleted the feature/KED-2829-setup-CI-for-deployment branch September 7, 2021 08:02
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.

2 participants