Skip to content

Conversation

@ryutoyasugi
Copy link

Issue

#1145

Test

$ cat manifest.yaml
packages:
  default:
    actions:
      ${ACTION_NAME}:
        function: index.js
        runtime: nodejs
    triggers:
      ${TRIGGER_NAME}:
        feed: /whisk.system/alarms/alarm
    rules:
      ${RULE_NAME}:
        action: ${ACTION_NAME}
        trigger: ${TRIGGER_NAME}

$ export ACTION_NAME=hello
$ export TRIGGER_NAME=alarm
$ export RULE_NAME=hello-alarm

$ go build -o wskdeploy
$ ./wskdeploy --preview
Packages:
Name: default
    bindings:
    annotation:

  * action: hello
    bindings:
    annotation:


Triggers:
* trigger: alarm
    bindings:
    annotation:
        - feed : /whisk.system/alarms/alarm

Rules
* rule: hello-alarm
    annotation:
    - trigger: alarm
    - action: hello

@ryutoyasugi ryutoyasugi force-pushed the enable-env-var-action-name branch from 55d2286 to ab10ab9 Compare October 12, 2021 07:02
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.

1 participant