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

Possible to provide a temporary endpoint for AllAtOnce deployments? #100

Open
adamsar opened this issue Oct 23, 2020 · 1 comment
Open

Comments

@adamsar
Copy link

adamsar commented Oct 23, 2020

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.

@funkel1989
Copy link

@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.

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

No branches or pull requests

2 participants