Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Apr 14, 2024
1 parent a52faec commit 6ff2281
Showing 1 changed file with 4 additions and 29 deletions.
33 changes: 4 additions & 29 deletions .github/workflows/e2e-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
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
Expand Down

0 comments on commit 6ff2281

Please sign in to comment.