Skip to content

packaged artifact broken on latest release on [email protected] #30

Closed

Description

@softprops

🐛 Bug description

Describe your issue in detail.

running npx serverless deploy of functions using the latest serverless release (1.39.0) results in the following error

Serverless: Packaging service...
 
  Serverless Error ---------------------------------------
 
  No test-func.zip file found in the package path you provided.
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information -----------------------------
     OS:                     darwin
     Node Version:           11.6.0
     Serverless Version:     1.39.0

🤔 Expected Behavior

function was deployed as expected with previous releases

👟 Steps to reproduce

while testing the latest version for the new invoke local support, a regression test of deployment revealed this error. I'm suspect that something changed in the way serverless resolves artifact paths. an open issue now exists upstream with many users reporting the same issue serverless/serverless#5931

🌍 Your environment

serverless version:

1.39.0

rust-plugin version:

latest

Activity

  1. softprops commented on Mar 16, 2019

    @softprops
    OwnerAuthor

    looking at the .serverless/serverless-state.json file

    @0.1.39.0

          "hello": {
            "handler": "test-func",
            "events": [],
            "name": "aws-rust-dev-hello",
            "package": {
              "artifact": "/Users/dougtangren/code/rust/serverless-rust/tests/test-func/.serverless/target/lambda/release/test-func.zip"
            },
            "memory": 128,
            "timeout": 6,
            "runtime": "provided",
            "vpc": {}
          }

    then @1.38.0

    "functions": {
          "hello": {
            "handler": "test-func",
            "events": [],
            "name": "aws-rust-dev-hello",
            "package": {
              "artifact": "target/lambda/release/test-func.zip"
            },
            "memory": 128,
            "timeout": 6,
            "runtime": "provided",
            "vpc": {}
          }
        },
  2. softprops commented on Mar 19, 2019

    @softprops
    OwnerAuthor

    fixed upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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