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

Add static asset build and s3-deploy deploy make task #1744

Merged
merged 7 commits into from
Nov 28, 2023

Conversation

metasoarous
Copy link
Member

No description provided.

@ballPointPenguin
Copy link
Contributor

I'm inclined to place the build/ folder inside of file-server/ so that it can optionally be used by (non-dockerized) file-server directly in some cases. e.g. cd file-server && npm start

This command does not function as intended, since some assets are compressed, and the `aws s3` command is not actually designed to do anything with the `*.headersJson` files which specify the metadata needed for s3 static site hosting to serve these assets correctly.
This gets around authentication issues with IAM Identity Center users, which require SSO, and aren't well supported by all AWS SDKs.
@metasoarous
Copy link
Member Author

metasoarous commented Nov 28, 2023

I'm inclined to place the build/ folder inside of file-server/ so that it can optionally be used by (non-dockerized) file-server directly in some cases. e.g. cd file-server && npm start

@ballPointPenguin Interesting idea... Wonder if it wouldn't be better to just have this be an environment variable to configure this? I'm not sure why/when someone would want to do this though, so let's table for now, and fire up another issue if it feels right.

This isn't needed, since we're reverting back to the old script for publishing to s3
@metasoarous metasoarous merged commit 6293333 into edge Nov 28, 2023
2 checks passed
@ballPointPenguin ballPointPenguin deleted the ck/build_and_deploy_makefile branch December 12, 2023 00:42
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.

3 participants