-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.0.0/auth-refactor' of https://github.com/SarthakJain2…
…6/litmus into 3.0.0/auth-refactor
- Loading branch information
Showing
559 changed files
with
151,740 additions
and
40,557 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
*.go linguist-language=Go | ||
*.sh linguist-language=Shell | ||
*.js linguist-language=JavaScript |
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
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 |
---|---|---|
|
@@ -58,7 +58,8 @@ jobs: | |
uses: Jerome1337/[email protected] | ||
with: | ||
goimports-path: ./litmus-portal | ||
- shell: bash | ||
- name: Backend checks | ||
shell: bash | ||
run: | | ||
cd litmus-portal | ||
make backend-services-checks | ||
|
@@ -79,11 +80,29 @@ jobs: | |
cd litmus-portal | ||
make frontend-services-checks | ||
backend-unit-tests: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- changes | ||
- backend-checks | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.16" # By default, the go version is v1.15 in runner. | ||
- name: Backend unit tests | ||
shell: bash | ||
run: | | ||
cd litmus-portal | ||
make unit-tests | ||
docker-build-graphql-server: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- backend-checks | ||
- changes | ||
- backend-unit-tests | ||
if: ${{ needs.changes.outputs.graphql-server == 'true' }} | ||
steps: | ||
- name: Checkout code | ||
|
@@ -99,7 +118,7 @@ jobs: | |
with: | ||
image-ref: 'docker.io/litmuschaos/litmusportal-server:${{ github.sha }}' | ||
format: 'table' | ||
exit-code: '1' | ||
exit-code: '0' | ||
ignore-unfixed: true | ||
vuln-type: 'os,library' | ||
severity: 'CRITICAL,HIGH' | ||
|
@@ -109,6 +128,7 @@ jobs: | |
needs: | ||
- backend-checks | ||
- changes | ||
- backend-unit-tests | ||
if: ${{ needs.changes.outputs.authentication == 'true' }} | ||
steps: | ||
- name: Checkout code | ||
|
@@ -133,6 +153,7 @@ jobs: | |
needs: | ||
- backend-checks | ||
- changes | ||
- backend-unit-tests | ||
if: ${{ needs.changes.outputs.subscriber == 'true' }} | ||
steps: | ||
- name: Checkout code | ||
|
@@ -147,7 +168,7 @@ jobs: | |
with: | ||
image-ref: 'docker.io/litmuschaos/litmusportal-subscriber:${{ github.sha }}' | ||
format: 'table' | ||
exit-code: '1' | ||
exit-code: '0' | ||
ignore-unfixed: true | ||
vuln-type: 'os,library' | ||
severity: 'CRITICAL,HIGH' | ||
|
@@ -157,6 +178,7 @@ jobs: | |
needs: | ||
- backend-checks | ||
- changes | ||
- backend-unit-tests | ||
if: ${{ needs.changes.outputs.event-tracker == 'true' }} | ||
steps: | ||
- name: Checkout code | ||
|
@@ -181,6 +203,7 @@ jobs: | |
needs: | ||
- backend-checks | ||
- changes | ||
- backend-unit-tests | ||
if: ${{ needs.changes.outputs.upgrade-agent-cp == 'true' }} | ||
steps: | ||
- name: Checkout code | ||
|
@@ -220,6 +243,7 @@ jobs: | |
needs: | ||
- backend-checks | ||
- changes | ||
- backend-unit-tests | ||
if: needs.changes.outputs.dex-server == 'true' | ||
steps: | ||
- name: Checkout code | ||
|
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
Oops, something went wrong.