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

Some suggestions #2

Open
ozbillwang opened this issue Jan 8, 2018 · 1 comment
Open

Some suggestions #2

ozbillwang opened this issue Jan 8, 2018 · 1 comment

Comments

@ozbillwang
Copy link

ozbillwang commented Jan 8, 2018

Thanks to open source this project which is what I am looking for.

After running with it, could you please add features, such as:

  • outputs if required.

I understand it runs with Circle CI or other CI/CD pipelines, but without any outputs, except the serverless stack name, will be too less information for me .

  • How to custom the processes?

I need add more steps between sls deploy, for example, I need:

install local module to these serverless stacks.

npm install ../lib/abc-1.0.0.tgz
sls deploy

I add these steps in package.json, and run as npm run deploy instead of sls deploy, how to custom in serviceless to do that?

second, I need insert some datas to dynamodb as well. So I need a wrapper before sls deploy.

  • I don't know how to run it with --stage option or other serverless options. Any hints for me?
@pavelvlasov
Copy link
Contributor

thanks for the feedback @ozbillwang 😀

  • output if required
    it's very good point, and I will definitely try to address it in future releases.

  • how to custom processes?
    There're several options:

  1. Customize deploy command
  2. Add mechanism to specify deployment hooks
  3. use smth like https://github.com/mvila/serverless-plugin-scripts
  • I don't know how to run it with --stage option or other serverless options. Any hints for me?
    Everything that you pass to deploy command will be propagated to sls, e.g.
    slx deploy all --stage prod will deploy everything for the prod stage.
    I'll update docs accordingly 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants