Skip to content

Use serverless rollback (and sls deploy list) in more verbose way :)  #10913

@omerinvia

Description

@omerinvia

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Want to flag out that this is another approach of solving #9931
we are having a gitlab-ci process which include serverless deploy and we want to implement a fast rollback option (since the packaging process can take crucial time :) )
right now we are rollbacking to the -1 version (based on a script) which is good.. but we want to have more verbose way..

Proposed solution (optional)

sls.yml

provider:
  deployment:
      metadata:
          commit_sha1: ${env:commit_sha1}

store it under the s3 object user-defined metadata

present sls metadata during the serverless deploy list

🎊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions