mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Prevent failure in debug ingress logs when local cluster didn't run (#4611)
This commit is contained in:
3
.github/workflows/pull-request.yml
vendored
3
.github/workflows/pull-request.yml
vendored
@@ -172,6 +172,7 @@ jobs:
|
|||||||
key: cache-dist-${{ github.run_id }}
|
key: cache-dist-${{ github.run_id }}
|
||||||
|
|
||||||
- name: Deploy local ACS
|
- name: Deploy local ACS
|
||||||
|
id: deploy-local-acs
|
||||||
uses: ./.github/actions/deploy-local-acs
|
uses: ./.github/actions/deploy-local-acs
|
||||||
with:
|
with:
|
||||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@@ -193,7 +194,7 @@ jobs:
|
|||||||
test-runner: playwright
|
test-runner: playwright
|
||||||
|
|
||||||
- name: Debug Ingress Controller Logs
|
- name: Debug Ingress Controller Logs
|
||||||
if: always()
|
if: always() && steps.deploy-local-acs.outcome == 'success'
|
||||||
run: |
|
run: |
|
||||||
kubectl logs -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx --tail=-1
|
kubectl logs -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx --tail=-1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user