Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve runtime validation #629

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Improve runtime validation #629

merged 1 commit into from
Sep 4, 2020

Conversation

miguel-a-calles-mba
Copy link
Member

What did you implement:

Closes #628 v5.3.3 has "match" error when trying to deploy

Validate the runtime exists.

How did you implement it:

How can we verify it:

Remove the runtime property from the provider section in the serverless.yml file.

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@miguel-a-calles-mba miguel-a-calles-mba requested a review from a team August 9, 2020 22:48
@miguel-a-calles-mba miguel-a-calles-mba changed the base branch from master to release/5.3.4 August 9, 2020 22:49
@miguel-a-calles-mba miguel-a-calles-mba added this to the 5.3.4 milestone Aug 9, 2020
@miguel-a-calles-mba miguel-a-calles-mba modified the milestones: 5.3.4, 5.4.0 Aug 17, 2020
@miguel-a-calles-mba miguel-a-calles-mba changed the base branch from release/5.3.4 to release/5.4.0 August 17, 2020 23:18
Copy link
Member

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I asked in the issue, what's your serverless.yml? It looks weird to me that the runtime property can not be defined.

@miguel-a-calles-mba
Copy link
Member Author

@j0k3r, here it is. #628 (comment)

@j0k3r j0k3r changed the base branch from release/5.4.0 to master September 4, 2020 07:10
@j0k3r j0k3r modified the milestones: 5.4.0, 5.3.5 Sep 4, 2020
@j0k3r j0k3r changed the base branch from master to release/5.4.0 September 4, 2020 07:15
@j0k3r j0k3r force-pushed the bugfix/runtime-validation branch from 2dd37a0 to 744f74d Compare September 4, 2020 07:22
@j0k3r j0k3r changed the base branch from release/5.4.0 to master September 4, 2020 07:22
@j0k3r j0k3r merged commit ebe825e into master Sep 4, 2020
@j0k3r j0k3r deleted the bugfix/runtime-validation branch September 4, 2020 07:27
@j0k3r j0k3r changed the title runtime validation Improve runtime validation Sep 14, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v5.3.3 has "match" error when trying to deploy
2 participants