ci: Disable perf tests on CI (#28514)

Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
Satish Gandham 2023-10-31 19:36:04 +05:30 committed by GitHub
parent 2aeac573ac
commit f497a4d7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 35 deletions

View File

@ -19,7 +19,6 @@ jobs:
Workflow: `${{ github.workflow }}`.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
PR: ${{ github.event.client_payload.pull_request.number }}.
Perf tests will be available at <https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=${{ github.event.client_payload.pull_request.number }}&runId=${{ github.run_id }}_${{github.run_attempt}}>
server-build:
name: server-build
@ -71,18 +70,8 @@ jobs:
with:
pr: ${{ github.event.client_payload.pull_request.number }}
perf-test:
needs: [build-docker-image]
# Only run if the build step is successful
if: success()
name: perf-test
uses: ./.github/workflows/perf-test.yml
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
ci-test-result:
needs: [ci-test, perf-test]
needs: [ci-test]
# Only run if the ci-test with matrices step is successful
if: always()
runs-on: ubuntu-latest
@ -287,7 +276,7 @@ jobs:
run: echo "$PAYLOAD_CONTEXT"
- name: Check ci-test set status
if: needs.ci-test.result != 'success' || needs.perf-test.result != 'success'
if: needs.ci-test.result != 'success'
run: exit 1
package:

View File

@ -19,7 +19,6 @@ jobs:
Workflow: `${{ github.workflow }}`.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
PR: ${{ github.event.client_payload.pull_request.number }}.
Perf tests will be available at <https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=${{ github.event.client_payload.pull_request.number }}&runId=${{ github.run_id }}_${{github.run_attempt}}>
server-build:
name: server-build
@ -71,18 +70,9 @@ jobs:
with:
pr: ${{ github.event.client_payload.pull_request.number }}
perf-test:
needs: [build-docker-image]
# Only run if the build step is successful
if: success()
name: perf-test-on-documentdb
uses: ./.github/workflows/perf-test-on-documentdb.yml
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
ci-test-result:
needs: [ci-test, perf-test]
needs: [ci-test]
# Only run if the ci-test with matrices step is successful
if: always()
runs-on: ubuntu-latest
@ -261,7 +251,7 @@ jobs:
run: echo "$PAYLOAD_CONTEXT"
- name: Check ci-test set status
if: needs.ci-test.result != 'success' || needs.perf-test.result != 'success'
if: needs.ci-test.result != 'success'
run: exit 1
package:

View File

@ -45,16 +45,6 @@ jobs:
with:
pr: 0
perf-test:
needs: [build-docker-image]
# Only run if the build step is successful
if: success()
name: perf-test
uses: ./.github/workflows/perf-test.yml
secrets: inherit
with:
pr: 0
ci-test:
needs: [build-docker-image]
# Only run if the build step is successful