forked from kafbat/kafka-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[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 | ||
|