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

Heroku deploy resurrection #1664

Merged
merged 17 commits into from
Apr 17, 2023
Merged

Heroku deploy resurrection #1664

merged 17 commits into from
Apr 17, 2023

Conversation

metasoarous
Copy link
Member

Working towards fixing up the heroku deploy strategy as a stop gap in case we can't move to AWS+Kubernetes as soon as we hope.

Basically:

  • allows API_SERVER_PORT to fallback to PORT, which is a requirement for Heroku
  • removes the release phase from heroku.yml, which was problematic in previous attempts to move static asset deploy to heroku for full "one click (command?)" deploy (we don't really need this for now, especially if this is just a stop gap)

Still having problems with static assets being fetched, which may be a configuration issue.

@@ -65,6 +65,7 @@ export default {
emailTransportTypes: process.env.EMAIL_TRANSPORT_TYPES || null as string | null,
encryptionPassword: process.env.ENCRYPTION_PASSWORD_00001 as string,
fbAppId: process.env.FB_APP_ID || null as string | null,
logTransport: process.env.SERVER_LOG_TRANSPORT as string,
Copy link
Member Author

Choose a reason for hiding this comment

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

This may have snuck in due to the squash-merge process mucking up the diffs when I merged edge into my branch :-/

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah you can remove that line

heroku.yml Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

Should probably fully remove release phase before merging, unless we think there's some chance we'll stick with heroku and try to resurrect this.

@xeeg xeeg added this to the Hugo milestone Apr 6, 2023
@xeeg xeeg added the P1 label Apr 6, 2023
@xeeg xeeg merged commit 15dcbf7 into edge Apr 17, 2023
2 checks passed
@ballPointPenguin ballPointPenguin deleted the heroku-deploy-resurrection branch November 9, 2023 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants