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

fix: use relative path for artifact file #325

Merged
merged 1 commit into from
Jul 20, 2022
Merged

fix: use relative path for artifact file #325

merged 1 commit into from
Jul 20, 2022

Conversation

coyoteecd
Copy link
Contributor

Absolute artifact paths break deployment in scenario where serverless package runs in one folder
and later serverless deploy runs in a different folder (happens in CI/CD systems).
Serverless Framework uses the artifact path to determine the location of the file to copy from.

Closes #324

@samchungy
Copy link
Collaborator

Could you please update the tests? thanks!

Absolute artifact paths break deployment in scenario where serverless package runs in one folder
and later serverless deploy runs in a different folder (happens in CI/CD systems).
Serverless Framework uses the artifact path to determine the location of the file to copy from.

Closes #324
@coyoteecd
Copy link
Contributor Author

@samchungy I updated a few failing unit tests. Could you allow running the test workflow on updated commits? I cannot run the test suite locally because it fails in way too many places (my dev box is Windows and all tests assume Linux in pathnames etc.)

@samchungy
Copy link
Collaborator

Looks good, sorry it took so long it's been a busy month

@samchungy samchungy merged commit f7f1e9b into floydspace:master Jul 20, 2022
@github-actions
Copy link

🎉 This PR is included in version 1.32.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot deploy a previously built package from a different root directory
2 participants