Fix workflows after cvat container was renamed (#4848)

main
Nikita Manovich 3 years ago committed by GitHub
parent 917e821348
commit 3957892954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -246,7 +246,7 @@ jobs:
LOGS_DIR: "${{ github.workspace }}/unit_testing" LOGS_DIR: "${{ github.workspace }}/unit_testing"
run: | run: |
mkdir $LOGS_DIR mkdir $LOGS_DIR
docker logs cvat > $LOGS_DIR/cvat.log docker logs cvat_server > $LOGS_DIR/cvat.log
docker logs cvat_opa 2> $LOGS_DIR/cvat_opa.log docker logs cvat_opa 2> $LOGS_DIR/cvat_opa.log
- name: Uploading "cvat" container logs as an artifact - name: Uploading "cvat" container logs as an artifact
@ -347,7 +347,7 @@ jobs:
- name: Creating a log file from "cvat" container logs - name: Creating a log file from "cvat" container logs
if: failure() if: failure()
run: | run: |
docker logs cvat > ${{ github.workspace }}/tests/cvat_${{ matrix.specs }}.log docker logs cvat_server > ${{ github.workspace }}/tests/cvat_${{ matrix.specs }}.log
- name: Uploading "cvat" container logs as an artifact - name: Uploading "cvat" container logs as an artifact
if: failure() if: failure()

@ -211,7 +211,7 @@ jobs:
LOGS_DIR: "${{ github.workspace }}/unit_testing" LOGS_DIR: "${{ github.workspace }}/unit_testing"
run: | run: |
mkdir $LOGS_DIR mkdir $LOGS_DIR
docker logs cvat > $LOGS_DIR/cvat.log docker logs cvat_server > $LOGS_DIR/cvat.log
docker logs cvat_opa 2> $LOGS_DIR/cvat_opa.log docker logs cvat_opa 2> $LOGS_DIR/cvat_opa.log
- name: Uploading "cvat" container logs as an artifact - name: Uploading "cvat" container logs as an artifact
@ -301,7 +301,7 @@ jobs:
- name: Creating a log file from "cvat" container logs - name: Creating a log file from "cvat" container logs
if: failure() if: failure()
run: | run: |
docker logs cvat > ${{ github.workspace }}/tests/cvat_${{ matrix.specs }}.log docker logs cvat_server > ${{ github.workspace }}/tests/cvat_${{ matrix.specs }}.log
- name: Uploading "cvat" container logs as an artifact - name: Uploading "cvat" container logs as an artifact
if: failure() if: failure()

@ -382,7 +382,7 @@ jobs:
- name: Creating a log file from "cvat" container logs - name: Creating a log file from "cvat" container logs
if: failure() if: failure()
run: | run: |
docker logs cvat > ${{ github.workspace }}/tests/cvat.log docker logs cvat_server > ${{ github.workspace }}/tests/cvat.log
- name: Uploading cypress screenshots as an artifact - name: Uploading cypress screenshots as an artifact
if: failure() if: failure()

Loading…
Cancel
Save