-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Simplify deployments and update to new production buckets #11649
Conversation
mramato
commented
Nov 22, 2023
- Remove all custom AWS code and replace with aws cli usage
- No longer gzip everything manually, let AWS compress automatically for us.
- Remove no longer needed npm modules
Thanks for the pull request @mramato!
Reviewers, don't forget to make sure that:
|
Just realized I missed a few things, will bump this PR when ready for review. |
a90a6f4
to
f187c7d
Compare
1. Remove all custom AWS code and replace with aws cli usage 2. No longer gzip everything manually, let AWS compress automatically for us. 3. Remove no longer needed npm modules
d38f1bf
to
310dc31
Compare
@ggetz this is ready. I mainly matched what was already there but I think this will make it way easier to change going forward. I think there is a conversation to be had over exactly what we should deploy for CI and what we shouldn't, but I didn't want to expand the scope of this PR. I also noticed the deployment/zip links are broken across all PRs (I'll see if I can put a small change for that and open a separate PR for it). If you fix the links manually based on the above checks, they are all correct and work. |
We were adding `index.html` to the deploy URL which made the derived URLs incorrect. Since index.html isn't needed, I just removed it and now deploy URLs should be fixed
This turned out to be a 1-liner so I just pushed it here. See 57df63e |
Thanks @mramato! I've confirmed the dev deployments are working as expected. I have a question |
run: | | ||
unzip Cesium-$(cat package.json | jq -r '.version').zip -d Build/release/ -x "Apps" |
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.
Is jq
built in or does it need to be installed?
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've used it in other workflows without doing anything special so I'm confident it's built in.
* Remove unused `mime` package * Don't deploy `Build/Specs/e2e`
@ggetz updated and back to you. |
Great, thanks @mramato! I will merge once CI finishes. |