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

Build & Deploy should be available as distinct CLI commands #283

Closed
meryllblanchet opened this issue Aug 31, 2020 · 3 comments · Fixed by #292
Closed

Build & Deploy should be available as distinct CLI commands #283

meryllblanchet opened this issue Aug 31, 2020 · 3 comments · Fixed by #292
Assignees
Labels
enhancement New feature or request

Comments

@meryllblanchet
Copy link
Contributor

Is your feature request related to a problem? Please describe.
As of today, aio app deploy builds and deploys the whole app.
aio app deploy --skip-build only deploys the app.
aio app deploy --skip-deploy only builds the app.

This is confusing for users and we should provide a more obvious way to handle build and deploy separately. This can be very useful for CI/CD and other automation use-cases.

Describe the solution you'd like
Proposal:

aio app build builds the whole app
aio app build -a|--action=action builds an action
aio app build --all-actions builds all actions
aio app build -s|--static builds the SPA

aio app deploy behaves as of today if there's no build.
aio app deploy just deploys if there's a build.
aio app deploy -b|--build forces the build before the deploy (do we even need more fine-grained based?)

@meryllblanchet meryllblanchet changed the title Build & Deploy should be possible as distinct CLI commands Build & Deploy should be available as distinct CLI commands Aug 31, 2020
@meryllblanchet meryllblanchet added the enhancement New feature or request label Aug 31, 2020
@aiojbot
Copy link
Collaborator

aiojbot commented Aug 31, 2020

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-906

@meryllblanchet
Copy link
Contributor Author

@Himavanth @purplecabbage let's also consider the aio app run command and its flags.

@Himavanth
Copy link
Contributor

Need to also consider multi-package manifests. (especially the --action flag)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants