-
Notifications
You must be signed in to change notification settings - Fork 2
EQS-487: Add Cloud Build configuration for linting and rename existing YAML files #91
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
Open
VirajP1002
wants to merge
20
commits into
main
Choose a base branch
from
EQS-487-cir-pipelines-update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4d5c770
Rename cloud build yaml files and add file for configuration for linting
VirajP1002 308c287
Format cloudbuild-lint-and-test file
VirajP1002 7ecc724
Update command to run megalinter
VirajP1002 e44fbcc
Update megalinter config in yaml file
VirajP1002 20a5d8d
test change to command to remove invalid syntax
VirajP1002 cec4e3a
test change to command to remove invalid syntax
VirajP1002 56c6e80
Update path in megalinter commad
VirajP1002 6e3cf4c
Temp change to test linting
VirajP1002 fcb37e8
Revert temporary change to pass prettier linting
VirajP1002 8a4f4d4
Merge branch 'main' into EQS-487-cir-pipelines-update
VirajP1002 ccd9515
Add test configuration
VirajP1002 6e8924c
Format file
VirajP1002 96676e7
Update config
VirajP1002 35e9059
Update script
VirajP1002 e39967c
Use bash to run make commands
VirajP1002 c851c1f
Fix script
VirajP1002 8341780
Fix script to add -c
VirajP1002 779dc4f
Update id
VirajP1002 259b3d4
Move install dependencies and running tests into one task
VirajP1002 c1136a7
Update comment
VirajP1002 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,23 @@ | ||
| steps: | ||
| # Run Megalinter to lint the codebase | ||
| - name: "gcr.io/cloud-builders/docker" | ||
| id: "megalinter" | ||
| args: ["run", "--platform", "linux/amd64", "--rm", "-v", "/var/run/docker.sock:/var/run/docker.sock:rw", "-v", "/workspace:/tmp/lint:rw", "ghcr.io/oxsecurity/megalinter-python:v9.1.0"] | ||
|
|
||
| # Install dependencies and run tests | ||
| - name: python:3.12.6 | ||
| id: "testing" | ||
| entrypoint: "sh" | ||
| args: | ||
| - "-c" | ||
| - | | ||
| echo "**** Installing Poetry and dependencies ****" | ||
| pip install --upgrade pip poetry==2.1.2 | ||
| make install-dev | ||
| echo "**** Running Tests ****" | ||
| make test | ||
|
|
||
| timeout: "1800s" | ||
|
|
||
| options: | ||
| logging: CLOUD_LOGGING_ONLY | ||
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.
We need to add the "test" part here too?