Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,19 @@ jobs:
minikube image load operator.tar
minikube image load metrics-exporter.tar

- name: Deploy prometheus
run: |
cp ./deploy/prometheus/prometheus-sensitive-data.example.sh ./deploy/prometheus/prometheus-sensitive-data.sh
NO_WAIT=1 bash ./deploy/prometheus/create-prometheus.sh

- name: Deploy minio
run: |
NO_WAIT=1 bash ./deploy/minio/create-minio.sh

- name: Deploy zookeeper-operator
run: |
bash ./deploy/zookeeper/zookeeper-with-zookeeper-operator/install-zookeeper-operator.sh

- name: Run Tests
id: run-tests
continue-on-error: true
Expand Down Expand Up @@ -95,7 +108,7 @@ jobs:
test_mode="--test-to-end"
fi

~/venv/qa/bin/python3 ./tests/regression.py --only=/regression/e2e.test_operator/${ONLY} $test_mode --trim-results on -o short --native --log ./tests/raw.log
~/venv/qa/bin/python3 ./tests/regression.py --only=/regression/e2e.test_operator/${ONLY} $test_mode --trim-results on -o short --no-colors --native --log ./tests/raw.log
test_result=$?
~/venv/qa/bin/tfs --no-colors transform compact ./tests/raw.log ./tests/compact.log
~/venv/qa/bin/tfs --no-colors transform nice ./tests/raw.log ./tests/nice.log.txt
Expand Down Expand Up @@ -123,7 +136,7 @@ jobs:
retention-days: 90

- name: Test Failed
if: ${{ failure() }}
if: ${{ steps.run-tests.outputs.test_result != '0' }}
uses: actions/github-script@v3
with:
script: |
Expand Down
Loading
Loading