spheronFdn / beta-testing

🐛 Report all the bug found during beta testing
4 stars 3 forks source link

Bug: Build settings not persisted #24

Open tinybigideas opened 2 years ago

tinybigideas commented 2 years ago

Describe the bug

When adding an Angular application, I also added a custom build command of build:production however, when going to Build settings: https://aqua.spheron.network/#/org/62583cb546832c001496ae9a/project/62641bd785342a00129cbacf/settings/deploys it has reverted to the default build command. Seemingly not persisted my change. Same is true for Publish Directory. In short, looks like Build Settings in general are not persisted.

Criticality

Medium

To Reproduce

Steps to reproduce the behavior:

  1. Deploy an Angular application
  2. Change build command to something other than build
  3. See error

Expected behavior

Expect build command and publish directory to persist.

Screenshots

image

Desktop (please complete the following information):

Your Details

rekpero commented 2 years ago

Hmm, this is weird, this shouldn't happen unless the project is already created. In case a project setting has already been created, we don't update it on a new deployment. Rather users who want to change the build setting for an upcoming deployment, need to update via project settings.

But thanks @tinybigideas for reporting this, will look into it once again!