From 6ff2281604cb0dc6a1603a7c35fbaae84584f5d0 Mon Sep 17 00:00:00 2001 From: Roman Zabaluev Date: Mon, 15 Apr 2024 02:57:55 +0700 Subject: [PATCH] bruh --- .github/workflows/e2e-run.yml | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/.github/workflows/e2e-run.yml b/.github/workflows/e2e-run.yml index 9293c036b..c9188a1e8 100644 --- a/.github/workflows/e2e-run.yml +++ b/.github/workflows/e2e-run.yml @@ -57,11 +57,6 @@ jobs: path: /tmp/image.tar retention-days: 7 - - name: TEST #TODO - run: | - ls -la ./e2e-tests || exit 0 - ls -la ./e2e-tests/target || exit 0 - tests: runs-on: ubuntu-latest needs: build @@ -72,54 +67,34 @@ jobs: token: ${{ github.token }} ref: ${{ inputs.sha }} - - name: TEST #TODO - run: | - ls -la ./e2e-tests || exit 0 - ls -la ./e2e-tests/target || exit 0 - - name: Download maven artifacts uses: actions/download-artifact@v4 with: name: artifacts path: ~/.m2/repository/io/kafbat/ui - - name: TEST #TODO - run: | - ls -la ./e2e-tests || exit 0 - ls -la ./e2e-tests/target || exit 0 - - name: Download docker image uses: actions/download-artifact@v4 with: name: image path: /tmp - - name: TEST #TODO - run: | - ls -la ./e2e-tests || exit 0 - ls -la ./e2e-tests/target || exit 0 - - name: Load Docker image run: | docker load --input /tmp/image.tar - - name: TEST #TODO - run: | - ls -la ./e2e-tests || exit 0 - ls -la ./e2e-tests/target || exit 0 - sudo chown runner:docker . -R - - name: Cache Docker images. uses: ScribeMD/docker-cache@0.5.0 with: key: docker-${{ runner.os }}-${{ hashFiles('./e2e-tests/selenoid/selenoid-ci.yaml', './documentation/compose/e2e-tests.yaml') }} + # TODO always a cache miss due to ghcr.io/kafbat/kafka-ui:latest ? - name: Compose up - # TODO cache these as well - # TODO https://github.com/marketplace/actions/docker-cache id: compose_app - # use the following command until #819 will be fixed + # use the following command until #819 will be fixed # TODO recheck 819 run: | + mkdir -p ./e2e-tests/target/selenoid-results/video + mkdir -p ./e2e-tests/target/selenoid-results/logs docker-compose -f ./e2e-tests/selenoid/selenoid-ci.yaml up -d docker-compose -f ./documentation/compose/e2e-tests.yaml up -d