You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this plugin is my best shot at true blue/green deployments using serverless. However, I'd like to use the preTrafficHook before switch to allow an end to end test that uses real HTTP requests, selenium, etc to run, but there is no temporary environment to actually run these tests (an actual endpoint). It's possible to use CodeDeploy to get the version of the lambda that will be deployed and manually invoke test requests against that, but there are a few things specific to API gateway that I would like to test as well. Is this possible?
I was looking at the serverless-domain-manager plugin as well to simply have two seperate stages - a production-current, and production-pending, but I've been unable to find a way to switch the DNS for these environments without having propogation lag/downtime.
Thanks.
The text was updated successfully, but these errors were encountered:
@adamsar if you ever figure this out i'm also interested. I wrote a suite of end to end tests to run with pre and post traffic hooks for a canary deploy but i use the aws-sdk to call the functions directly bypassing the api gateway. latest has the newest code on it to use to test and this might be a temporary work around for you.
I think this plugin is my best shot at true blue/green deployments using serverless. However, I'd like to use the preTrafficHook before switch to allow an end to end test that uses real HTTP requests, selenium, etc to run, but there is no temporary environment to actually run these tests (an actual endpoint). It's possible to use CodeDeploy to get the version of the lambda that will be deployed and manually invoke test requests against that, but there are a few things specific to API gateway that I would like to test as well. Is this possible?
I was looking at the serverless-domain-manager plugin as well to simply have two seperate stages - a production-current, and production-pending, but I've been unable to find a way to switch the DNS for these environments without having propogation lag/downtime.
Thanks.
The text was updated successfully, but these errors were encountered: