ci: Disable perf tests on CI (#28514)
Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
parent
2aeac573ac
commit
f497a4d7f8
15
.github/workflows/integration-tests-command.yml
vendored
15
.github/workflows/integration-tests-command.yml
vendored
|
|
@ -19,7 +19,6 @@ jobs:
|
||||||
Workflow: `${{ github.workflow }}`.
|
Workflow: `${{ github.workflow }}`.
|
||||||
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
||||||
PR: ${{ github.event.client_payload.pull_request.number }}.
|
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:
|
server-build:
|
||||||
name: server-build
|
name: server-build
|
||||||
|
|
@ -71,18 +70,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.client_payload.pull_request.number }}
|
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:
|
ci-test-result:
|
||||||
needs: [ci-test, perf-test]
|
needs: [ci-test]
|
||||||
# Only run if the ci-test with matrices step is successful
|
# Only run if the ci-test with matrices step is successful
|
||||||
if: always()
|
if: always()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -287,7 +276,7 @@ jobs:
|
||||||
run: echo "$PAYLOAD_CONTEXT"
|
run: echo "$PAYLOAD_CONTEXT"
|
||||||
|
|
||||||
- name: Check ci-test set status
|
- 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
|
run: exit 1
|
||||||
|
|
||||||
package:
|
package:
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ jobs:
|
||||||
Workflow: `${{ github.workflow }}`.
|
Workflow: `${{ github.workflow }}`.
|
||||||
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
|
||||||
PR: ${{ github.event.client_payload.pull_request.number }}.
|
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:
|
server-build:
|
||||||
name: server-build
|
name: server-build
|
||||||
|
|
@ -71,18 +70,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.client_payload.pull_request.number }}
|
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:
|
ci-test-result:
|
||||||
needs: [ci-test, perf-test]
|
needs: [ci-test]
|
||||||
# Only run if the ci-test with matrices step is successful
|
# Only run if the ci-test with matrices step is successful
|
||||||
if: always()
|
if: always()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -261,7 +251,7 @@ jobs:
|
||||||
run: echo "$PAYLOAD_CONTEXT"
|
run: echo "$PAYLOAD_CONTEXT"
|
||||||
|
|
||||||
- name: Check ci-test set status
|
- 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
|
run: exit 1
|
||||||
|
|
||||||
package:
|
package:
|
||||||
|
|
|
||||||
10
.github/workflows/test-build-docker-image.yml
vendored
10
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -45,16 +45,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
pr: 0
|
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:
|
ci-test:
|
||||||
needs: [build-docker-image]
|
needs: [build-docker-image]
|
||||||
# Only run if the build step is successful
|
# Only run if the build step is successful
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user