-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Override serverUrl in wasp deploy fly deploy command #2234
Override serverUrl in wasp deploy fly deploy command #2234
Conversation
The tests were failing even without the changes, so not introduced by the changes in this PR. |
bf982bd
to
1f75746
Compare
Everything works as expected ]. will bump the version and update the changelog. |
Hey @Case-E, thank you for the contribution. We'll need to do a few things before we can merge this:
|
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.
Tested it locally, works as expected.
Left some minor comments.
Co-authored-by: Mihovil Ilakovac <[email protected]>
Thanks @infomiho I didn't realise there were more changes pushed upstream from when I branched out. I've made the changes. As this needs to go into the current release, do I need to update the version (patch) or would y'all be batching multiple fixes into a single patch? Also should I add to the changelog? |
Looks like the CI failed to cancel out existing running jobs, y'all may want to check why or add it to your tech debt. |
Added a workaround to the description in case anyone needs it before the changes are merged. |
@Case-E sorry for taking so long to get back to you, thank you for your hard work on this. I realised now that we can remove the use of So, remove that helper and the use of it and we'll merge it! I'll update the Changelog with this change later. |
@infomiho No sorry needed at all! I didn't venture into the client code, so that all makes sense. I've removed the helper now. |
When you get a chance, could you also do an initial review of the deploy action — wasp-lang/deploy-action#2? I haven't tested that yet though, will do it after this change is merged and released. |
Description
Fixes #2233
Select what type of change this PR introduces:
Update Waspc ChangeLog and version if needed
If you did a bug fix, new feature, or breaking change, that affects waspc, make sure you satisfy the following:
Update example apps if needed
If you did code changes and added a new feature or modified an existing feature, make sure you satisfy the following:
waspc/examples/todoApp
as needed (updated modified feature or added new feature) and manually checked it works correctly.waspc/headless-test/examples/todoApp
and its e2e tests as needed (updated modified feature and its tests or added new feature and new tests for it).WORKAROUND for anyone who needs this before it is merged
flyctl auth whoami
cd .wasp/build/web-app
npm install && REACT_APP_API_URL=https://sub.domain.com npm run build
--local-only
in place of--remote-only
to build locally)