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(ci): pipeline compat #1

Merged
merged 3 commits into from
Feb 23, 2024
Merged

fix(ci): pipeline compat #1

merged 3 commits into from
Feb 23, 2024

Conversation

Ryan-Gordon
Copy link
Owner

What did you implement:

Taken from here with one extra bit of linting added: softprops/serverless-rust#124

Closes: #xxx

How did you verify your change:

What (if anything) would need to be called out in the CHANGELOG for the next release:

TravisCalder and others added 3 commits February 21, 2024 12:33
- Add "strictMode" functionality
  - "strictMode" is on by default
  - When enabled, an error is thrown when no Rust builds are found
  - When disabled, the error is suppressed
  - "strictMode" can be disabled with custom.rust.strictMode: false
- Fix validation warning
  - serverless does not accept "rust" as a runtime
  - a function can be marked as "rust" the old way, or by adding tags.language: "rust"
- Support predefined artifacts and skip recompile
  - This allows an artifact to be built in one CI-step and deployed in another
  - When artifact is defined, the artifact zip is uploaded and compile is skipped
- Update tests to correct some pre-existing failures and test around strictMode
@Ryan-Gordon Ryan-Gordon merged commit d6f4492 into master Feb 23, 2024
1 of 6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants