ci: Move performance-infra checkout to the back in ci script (#16107)
* Clean up the perf folder and update integration commnds to use the new repo * Use a different token for github auth * Update the token * - Remove directory listing command * Move perf checkout command to the back * resolve conflicts * Add directory listing code Co-authored-by: Satish Gandham <satish@appsmith.com>
This commit is contained in:
parent
950e57aab7
commit
47e5040c86
20
.github/workflows/integration-tests-command.yml
vendored
20
.github/workflows/integration-tests-command.yml
vendored
|
|
@ -1349,16 +1349,7 @@ jobs:
|
||||||
image: mongo
|
image: mongo
|
||||||
ports:
|
ports:
|
||||||
- 27017:27017
|
- 27017:27017
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Performance Infra code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: appsmithorg/performance-infra
|
|
||||||
token: ${{ secrets.APPSMITH_PERF_INFRA_REPO_PAT }}
|
|
||||||
ref: main
|
|
||||||
path: app/client/perf
|
|
||||||
|
|
||||||
# Check out merge commitGIT BRANCH
|
# Check out merge commitGIT BRANCH
|
||||||
- name: Fork based /ok-to-test-perf checkout
|
- name: Fork based /ok-to-test-perf checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
@ -1502,6 +1493,17 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./cypress/setup-test.sh
|
./cypress/setup-test.sh
|
||||||
|
|
||||||
|
- name: Checkout Performance Infra code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: appsmithorg/performance-infra
|
||||||
|
token: ${{ secrets.APPSMITH_PERF_INFRA_REPO_PAT }}
|
||||||
|
ref: main
|
||||||
|
path: app/client/perf
|
||||||
|
|
||||||
|
- name: List files
|
||||||
|
run: ls app && ls app/client && ls app/client/perf
|
||||||
|
|
||||||
- name: Installing performance tests dependencies
|
- name: Installing performance tests dependencies
|
||||||
if: steps.run_result.outputs.run_result != 'success'
|
if: steps.run_result.outputs.run_result != 'success'
|
||||||
working-directory: app/client/perf
|
working-directory: app/client/perf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user