❌ deprecated [RFC] A deployment builder must always compile the project before the deployment #1
Replies: 9 comments
-
I am also using the same, so the config can be overwritten, but a great initiative. As of now in our case, we are rebuilding every time before deploy. I liked the option 3 from @johnpapa we can give users an option if they want to rebuild it. |
Beta Was this translation helpful? Give feedback.
-
I agree 100%! We can't make sure that developers always remember to build the app before deploying it. Thus, the build must be part of the deployment step to avoid deploying broken stuff that hangs around in our tl;dr;
|
Beta Was this translation helpful? Give feedback.
-
Our deployment builder always builds the source before actual deployment too. I find it natural to do it like this for the developer. |
Beta Was this translation helpful? Give feedback.
-
Ok, @fmalcher so you are voting for I can agree to that. |
Beta Was this translation helpful? Give feedback.
-
@JohannesHoppe Yes! |
Beta Was this translation helpful? Give feedback.
-
Ladies and gentlemen: Lets agree to this:
State of Progress
Call for action❌ |
Beta Was this translation helpful? Give feedback.
-
It took me to actually go through some of the committed code to understand exactly what was going on - so the --configuration flag is being added here to determine which configuration is used to build the project, not to specify a deploy target. I think that's a mistake. The
There may be various such combinations. I'm unsure wether angular cli doesn't recognise the --configuration flag by design or not. But because of this, this has allowed --configuration to be used as a custom option in one of the commits here. Meaning that if the CLI now starts to recognise --configuration in the same way it does with serve and build targets, it will break some of the above code :( |
Beta Was this translation helpful? Give feedback.
-
Just a heads up, this bugfix might break the |
Beta Was this translation helpful? Give feedback.
-
@george43g Thank you for your feedback. I fully agree with your objection. For my projects I have already renamed the option See |
Beta Was this translation helpful? Give feedback.
-
Based on Minkos statement I suggest that we all
production
by default--configuration
Example:
ngx-deploy-starter/src/deploy/actions.ts
Lines 25 to 29 in 463290b
TODO:
Discuss / find a unified solution with all other maintainers of the existing deployment builders.
See also:
Azure/ng-deploy-azure#23
FYI
@jamesdaniels @mgechev @johnpapa @santoshyadav198613 @shmool @huv1k @fmalcher
Beta Was this translation helpful? Give feedback.
All reactions