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

Switch to uploading static assets during deploy #500

Merged
merged 4 commits into from
Jan 13, 2024

Conversation

gerhard
Copy link
Member

@gerhard gerhard commented Jan 13, 2024

When uploading static assets, this addresses the SSL issue introduced by:

More details in the commit messages.

So that we run the same version everywhere.

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>
That's the only context where we use Docker for development. We should
probably add something about Typesense to CONTRIBUTE.md, but since I
don't use it, now isn't a good time to tackle this.

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>
We talked about this in Kaizen 13, it's not something that we support.

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>
Since uploading static assets requires a db connection - doesn't seem
right, but it is what it is - and prod config requires Postgres to use
SSL, and we should not connect to the production db from the CI, the
only option is to upload these on app boot, just before we run db
migrations.

If uploading static assets would not require a db connection, this would
definitely be a CI concern, but for now this is the simplest fix.

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>
@gerhard gerhard merged commit 726ffb1 into master Jan 13, 2024
4 checks passed
@gerhard gerhard deleted the upload-static-assets-during-deploy branch January 13, 2024 19:36
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.

1 participant