-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: [INFRA-108] Snyk Filter #15
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
207312b
Moving Pipeline [aiohttp_responses] to Git
89a3965
Moving Input Set [github_push] to Git
38d254b
Update pipeline aiohttp_responses
0081fed
snyk filter
aef88b8
Update pipeline aiohttp_responses
612af3e
Update pipeline aiohttp_responses
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
inputSet: | ||
name: github_push | ||
tags: {} | ||
identifier: github_push | ||
orgIdentifier: default | ||
projectIdentifier: IPA_Release | ||
pipeline: | ||
identifier: aiohttp_responses | ||
template: | ||
templateInputs: | ||
properties: | ||
ci: | ||
codebase: | ||
build: | ||
type: branch | ||
spec: | ||
branch: <+trigger.branch> | ||
stages: | ||
- parallel: | ||
- stage: | ||
identifier: snyk_tests | ||
type: CI | ||
variables: | ||
- name: RUN_SNYK | ||
type: String | ||
value: "FALSE" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
pipeline: | ||
name: aiohttp_responses | ||
identifier: aiohttp_responses | ||
tags: {} | ||
template: | ||
templateRef: account.shared_library | ||
versionLabel: 1.1.0 | ||
gitBranch: main | ||
templateInputs: | ||
properties: | ||
ci: | ||
codebase: | ||
build: <+input> | ||
stages: | ||
- stage: | ||
identifier: build_info | ||
type: CI | ||
spec: | ||
infrastructure: | ||
type: KubernetesDirect | ||
spec: | ||
nodeSelector: | ||
node_group: cpu | ||
- parallel: | ||
- stage: | ||
identifier: code_checks | ||
template: | ||
templateInputs: | ||
type: CI | ||
variables: | ||
- name: RUN_LINTER | ||
type: String | ||
value: "TRUE" | ||
- name: isort | ||
type: String | ||
value: isort --check-only --profile black aiohttp_responses tests | ||
- name: black | ||
type: String | ||
value: black --check aiohttp_responses tests | ||
- name: ruff | ||
type: String | ||
value: "" | ||
- name: mypy | ||
type: String | ||
value: "" | ||
- name: pylint | ||
type: String | ||
value: "" | ||
- stage: | ||
identifier: build_containers | ||
type: CI | ||
variables: | ||
- name: test_poetry_args | ||
type: String | ||
value: " " | ||
- name: deploy_poetry_args | ||
type: String | ||
value: " " | ||
- name: test_ram | ||
type: String | ||
value: 2G | ||
- name: deploy_ram | ||
type: String | ||
value: 2G | ||
- parallel: | ||
- stage: | ||
identifier: unit_tests | ||
template: | ||
templateInputs: | ||
type: CI | ||
variables: | ||
- name: test_command | ||
type: String | ||
value: " " | ||
- name: git_lfs | ||
type: String | ||
value: "FALSE" | ||
- name: node_selector | ||
type: String | ||
value: cpu | ||
- name: test_ram | ||
type: String | ||
value: 2G | ||
- name: test_cpu | ||
type: String | ||
value: 1000m | ||
- stage: | ||
identifier: snyk_tests | ||
type: CI | ||
variables: | ||
- name: RUN_SNYK | ||
type: String | ||
value: <+input>.default(TRUE).allowedValues(TRUE,FALSE) | ||
- name: container_ram | ||
type: String | ||
value: 2G | ||
variables: | ||
- name: repo | ||
type: String | ||
value: aiohttp_responses | ||
- name: service | ||
type: String | ||
value: aiohttp_responses | ||
- name: RUN_UNITTESTS | ||
type: String | ||
value: "FALSE" | ||
projectIdentifier: IPA_Release | ||
orgIdentifier: default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
container: | ||
enabled: false | ||
exemptions: [] | ||
oss: | ||
enabled: true | ||
exemptions: [] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
in hindsights, we are not actually running snyk and not sure if we want to
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.
still not sure how we feel about this lib in general. this was just something we threw together because we couldn't find a good alternative at the time. definitely needs some love
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.
enabling snyk should be fine though. we can just be lax in dependency versions here.