ci: Fix run result due to deprecated command (#19084)
## Description Ci fix run result due to deprecated Fixes # (issue) Media ## Type of change - Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? code reivew ### Test Plan ### Issues raised during DP testing ## Checklist: ### Dev activity - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test
This commit is contained in:
parent
751a95f866
commit
bff3f326cd
27
.github/workflows/integration-tests-command.yml
vendored
27
.github/workflows/integration-tests-command.yml
vendored
|
|
@ -99,6 +99,7 @@ jobs:
|
|||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
id: cache-appsmith
|
||||
uses: martijnhols/actions-cache@v3.0.2
|
||||
with:
|
||||
path: |
|
||||
|
|
@ -107,10 +108,17 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
|
||||
|
||||
# Fetch prior run result
|
||||
- name: Get the previous run result
|
||||
if: steps.cache-appsmith.outputs.cache-hit == 'true'
|
||||
id: run_result
|
||||
run: cat ~/run_result 2>/dev/null || echo 'default'
|
||||
run: |
|
||||
run_result_env=$(cat ~/run_result)
|
||||
echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Dump steps context
|
||||
env:
|
||||
STEPS_CONTEXT: ${{ toJson(steps) }}
|
||||
run: echo "$STEPS_CONTEXT"
|
||||
|
||||
# In case this is second attempt try restoring failed tests
|
||||
- name: Restore the previous failed combine result
|
||||
|
|
@ -373,7 +381,7 @@ jobs:
|
|||
# Set status = failedtest
|
||||
- name: Set fail if there are test failures
|
||||
if: failure()
|
||||
run: echo "run_result=failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
run: echo "failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
|
||||
# Create a directory ~/failed_spec_fat and add a dummy file
|
||||
# This will ensure upload and download steps are successful
|
||||
|
|
@ -495,6 +503,7 @@ jobs:
|
|||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
id: cache-appsmith
|
||||
uses: martijnhols/actions-cache@v3.0.2
|
||||
with:
|
||||
path: |
|
||||
|
|
@ -505,8 +514,16 @@ jobs:
|
|||
|
||||
# Fetch prior run result
|
||||
- name: Get the previous run result
|
||||
if: steps.cache-appsmith.outputs.cache-hit == 'true'
|
||||
id: run_result
|
||||
run: cat ~/run_result 2>/dev/null || echo 'default'
|
||||
run: |
|
||||
run_result_env=$(cat ~/run_result)
|
||||
echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Dump steps context
|
||||
env:
|
||||
STEPS_CONTEXT: ${{ toJson(steps) }}
|
||||
run: echo "$STEPS_CONTEXT"
|
||||
|
||||
# In case this is second attempt try restoring failed tests
|
||||
- name: Restore the previous failed combine result
|
||||
|
|
@ -753,7 +770,7 @@ jobs:
|
|||
# Set status = failedtest
|
||||
- name: Set fail if there are test failures
|
||||
if: failure()
|
||||
run: echo "run_result=failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
run: echo "failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
|
||||
# Create a directory ~/failed_spec and add a dummy file
|
||||
# This will ensure upload and download steps are successful
|
||||
|
|
|
|||
27
.github/workflows/test-build-docker-image.yml
vendored
27
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -682,6 +682,7 @@ jobs:
|
|||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
id: cache-appsmith
|
||||
uses: martijnhols/actions-cache@v3.0.2
|
||||
with:
|
||||
path: |
|
||||
|
|
@ -690,10 +691,17 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ github.run_id }}-${{ github.job }}-${{ matrix.job }}
|
||||
|
||||
# Fetch prior run result
|
||||
- name: Get the previous run result
|
||||
if: steps.cache-appsmith.outputs.cache-hit == 'true'
|
||||
id: run_result
|
||||
run: cat ~/run_result 2>/dev/null || echo 'default'
|
||||
run: |
|
||||
run_result_env=$(cat ~/run_result)
|
||||
echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Dump steps context
|
||||
env:
|
||||
STEPS_CONTEXT: ${{ toJson(steps) }}
|
||||
run: echo "$STEPS_CONTEXT"
|
||||
|
||||
# In case this is second attempt try restoring failed tests
|
||||
- name: Restore the previous failed combine result
|
||||
|
|
@ -943,7 +951,7 @@ jobs:
|
|||
# Set status = failedtest
|
||||
- name: Set fail if there are test failures
|
||||
if: failure()
|
||||
run: echo "run_result=failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
run: echo "failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
|
||||
# Create a directory ~/failed_spec_fat and add a dummy file
|
||||
# This will ensure upload and download steps are successful
|
||||
|
|
@ -1104,6 +1112,7 @@ jobs:
|
|||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
id: cache-appsmith
|
||||
uses: martijnhols/actions-cache@v3.0.2
|
||||
with:
|
||||
path: |
|
||||
|
|
@ -1114,8 +1123,16 @@ jobs:
|
|||
|
||||
# Fetch prior run result
|
||||
- name: Get the previous run result
|
||||
if: steps.cache-appsmith.outputs.cache-hit == 'true'
|
||||
id: run_result
|
||||
run: cat ~/run_result 2>/dev/null || echo 'default'
|
||||
run: |
|
||||
run_result_env=$(cat ~/run_result)
|
||||
echo "run_result=$run_result_env" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Dump steps context
|
||||
env:
|
||||
STEPS_CONTEXT: ${{ toJson(steps) }}
|
||||
run: echo "$STEPS_CONTEXT"
|
||||
|
||||
# In case this is second attempt try restoring failed tests
|
||||
- name: Restore the previous failed combine result
|
||||
|
|
@ -1391,7 +1408,7 @@ jobs:
|
|||
# Set status = failedtest
|
||||
- name: Set fail if there are test failures
|
||||
if: failure()
|
||||
run: echo "run_result=failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
run: echo "failedtest" >> $GITHUB_OUTPUT > ~/run_result
|
||||
|
||||
# Create a directory ~/failed_spec and add a dummy file
|
||||
# This will ensure upload and download steps are successful
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user