You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: M1-4-2-CI-Practice/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,19 @@
2
2
3
3
## Task description
4
4
5
-
Create a GitHub Actions pipeline that runs on commit to a feature branch (i.e. not `main`) and performs the following checks on our simple Flask app.
5
+
Create a GitHub Actions pipeline that runs on commit to a feature branch (i.e. not `main`) and performs the following checks on our simple Flask app repository.
6
6
7
7
- Check `.editorconfig`
8
8
- Code Lint and style - use `pylint` and `black` to check for style/formatting/syntax errors
- Code Unittest - there's a simple unit test next to our app called `app_test.py`. Make sure our unittest passes (`python -m unittest` executed in the app directory)
10
11
- Check for hardcoded secrets (`gitleaks`) - not just our app but the whole repository.
11
12
- SAST - SonarCloud; Review code smells and security issues
12
13
- SCA - Snyk; review security issues
13
14
- Build a Docker image. Use Git commit SHA as an Image tag.
14
15
- Scan the built image with `Trivy`
15
16
- Push the built image to your Docker HUB account
17
+
- (optional) Add CONTRIBUTORS guide. Follow [this](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors) document from GitHUb.
16
18
17
19
:warning: Make sure that you run as many tests in parallel as you see fit
0 commit comments