Skip to content

Commit

Permalink
Release v0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgf committed Apr 1, 2019
1 parent 9afaefa commit 236b1b1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ The plugin relies on the [AWS Lambda traffic shifting feature](https://docs.aws.

## Limitations

For now, the plugin only works with Lambda functions invoked by
For now, the plugin only works with Lambda functions invoked by

* API Gateway
* Stream based (such as the triggered by Kinesis or DynamoDB Streams)
* SNS based events
* S3 events
* CloudWatch events
* CloudWatch Scheduled events
* CloudWatch Logs

[More events](https://serverless.com/framework/docs/providers/aws/events/) will be added soon.
Expand Down
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"package": "npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.2.tgz && sls package -s dev",
"deploy": "npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.2.tgz && sls deploy -s dev",
"package": "npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.6.tgz && sls package -s dev",
"deploy": "npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.6.tgz && sls deploy -s dev",
"populate-table": "node ./scripts/populate-test-table"
},
"author": "",
Expand Down
10 changes: 10 additions & 0 deletions example/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ functions:
- StreamsTestTable
- StreamArn
- sns: snsTopic
- sns:
topicName: fooTopic
displayName: fooTopic
filterPolicy:
eventType:
- FooEvent
- schedule:
rate: rate(1 minute)
enabled: false
- cloudwatchLog: "/aws/lambda/sls-wshop-dev-hello"
# - s3: s3samplebucket
alarms:
- name: foo
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=4.0"
},
"version": "0.4.6",
"version": "0.4.7",
"description": "A Serverless plugin to implement canary deployment of Lambda functions",
"main": "serverless-plugin-canary-deployments.js",
"scripts": {
Expand Down

0 comments on commit 236b1b1

Please sign in to comment.