-
Notifications
You must be signed in to change notification settings - Fork 89
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
Adding documentation to help develop ALI lambdas and some useful scripts #6256
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
terraform-aws-github-runner/modules/runners/lambdas/runners/README.md
Outdated
Show resolved
Hide resolved
terraform-aws-github-runner/modules/runners/lambdas/runners/README.md
Outdated
Show resolved
Hide resolved
terraform-aws-github-runner/modules/runners/lambdas/runners/README.md
Outdated
Show resolved
Hide resolved
terraform-aws-github-runner/modules/runners/lambdas/runners/README.md
Outdated
Show resolved
Hide resolved
Looks good to me. I suggested fixes for a few typos. Thanks for documenting this! |
…ADME.md Co-authored-by: Thanh Ha <thanh.ha@linuxfoundation.org>
…ADME.md Co-authored-by: Thanh Ha <thanh.ha@linuxfoundation.org>
…ADME.md Co-authored-by: Thanh Ha <thanh.ha@linuxfoundation.org>
…ADME.md Co-authored-by: Thanh Ha <thanh.ha@linuxfoundation.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this together, this doc will be really helpful as people onboard
|
||
### Expectations | ||
|
||
It is **required** to submit code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is **required** to submit code: | |
**Requirements** when submitting code: |
* No linting warnings are being thrown; | ||
* The code must be fully compilable to javascript; | ||
* Code formatting are according to current standards (prettier); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't CI fail if these requirements aren't met?
Can we instead change these three lines to: "All CI checks pass"
|
||
It is *advisable* to strive to when submitting code: | ||
|
||
* Improve as much as possible unit test code coverage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Improve as much as possible unit test code coverage; | |
* Improve unit test code coverage as much as possible; |
|
||
### Makefile helpers | ||
|
||
Those are primarly used for CI, but, it might be useful to understand, there are 3 commands: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are primarly used for CI, but, it might be useful to understand, there are 3 commands: | |
Those are primarly used for CI, but, it might be useful to understand. There are 3 commands: |
|
||
**WARNING: In practice, even with canary, we only have production environment, be aware that you can break things when running tests!** | ||
|
||
So, it is not really recommended to do so, unless troubleshooting something that you have limited understanding and can't replicate locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, it is not really recommended to do so, unless troubleshooting something that you have limited understanding and can't replicate locally. | |
So, it is not really recommended to do so, unless troubleshooting something that you have a limited understanding of and can't replicate locally. |
Added a README.md on
terraform-aws-github-runner/modules/runners/lambdas/runners/README.md
with instruction on how to develop and troubleshoot lambdas development.