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

Feature Request: Add an option for the Lambda Deploy stage to only keep N versions #103

Open
dkirillov opened this issue Oct 6, 2021 · 0 comments

Comments

@dkirillov
Copy link
Collaborator

  • High level summary / overview of the feature request

As a user of the Lambda plugin, I would like the Lambda Deploy stage to keep only a certain amount of Lambda versions when deploying.

The functionality should mimic that of EC2 and ECS deployments, where you can specify the amount of server groups to keep.

It has been observed in our environment that the number of versions kept impacts the performance of the Lambda Deploy stage - the more versions, the slower the Lambda Deploy stage is. (Guessing due to cache and iteration over versions).

  • Details of the environment.
    • What is the version of the plugin?
      1.0.8
    • What is the version of spinnaker?
      1.26
  • Current behavior

Currently the Lambda Deploy stage provides no option of specifying the amount of versions to keep. If the Lambda Deploy stage is has version publishing enabled, it will forever keep creating new versions without cleaning up the old ones.

  • Expected behavior (Detailed description of the expected behavior and how it is different from the current behavior).

I expect the Lambda Deploy stage to have an option to keep N of the latest versions and delete the rest. Much like the EC2/ECS deploy stages do with server groups - see screenshot:

ec2-deploy

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

1 participant