Skip to content

Conversation

@n-Arno
Copy link
Contributor

@n-Arno n-Arno commented Jun 29, 2022

Serverless compose expect in stdout a single yaml output following "Stack Output:" (check https://github.com/serverless/compose/blob/main/components/framework/index.js#L297)

@n-Arno
Copy link
Contributor Author

n-Arno commented Jun 29, 2022

Demo output:

myApp › Stack Outputs:
myApp ›   functions:
myApp ›     orders:
myApp ›       id: f2af20d6-f8c2-412d-946f-602105cdbfa2
myApp ›       name: orders
myApp ›       namespace_id: 7ad7374d-9f49-4434-a288-c54b9811a750
myApp ›       status: ready
myApp ›       environment_variables: {}
myApp ›       min_scale: 1
myApp ›       max_scale: 20
myApp ›       runtime: python310
myApp ›       memory_limit: 256
myApp ›       cpu_limit: 140
myApp ›       timeout: 300s
myApp ›       handler: orders.order
myApp ›       error_message: null
myApp ›       privacy: public
myApp ›       description: ''
myApp ›       domain_name: myappwx1q290c-orders.functions.fnc.nl-ams.scw.cloud
myApp ›       secret_environment_variables: []
myApp ›       http_option: ''
myApp ›       runtime_message: ''
myApp ›       region: nl-ams
myApp ›     commands:
myApp ›       id: f4c3d6ff-9655-41f4-bd54-217ed7cb55f4
myApp ›       name: commands
myApp ›       namespace_id: 7ad7374d-9f49-4434-a288-c54b9811a750
myApp ›       status: ready
myApp ›       environment_variables: {}
myApp ›       min_scale: 1
myApp ›       max_scale: 20
myApp ›       runtime: python310
myApp ›       memory_limit: 256
myApp ›       cpu_limit: 140
myApp ›       timeout: 300s
myApp ›       handler: commands.command
myApp ›       error_message: null
myApp ›       privacy: public
myApp ›       description: ''
myApp ›       domain_name: myappwx1q290c-commands.functions.fnc.nl-ams.scw.cloud
myApp ›       secret_environment_variables: []
myApp ›       http_option: ''
myApp ›       runtime_message: ''
myApp ›       region: nl-ams

Copy link
Contributor

@Shillaker Shillaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'd like to add a test for this but I can do so in another PR.

@Shillaker Shillaker merged commit a346745 into scaleway:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants