1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

Benchmark fixes (#3005)

* fix(benchmark): depcreated node 16 github actions
This commit is contained in:
Zacharya 2024-05-03 19:53:45 +03:00 committed by GitHub
parent 5a37c47aaf
commit 6b480237be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,9 +44,9 @@ jobs:
steps:
- name: Setup namespace name
id: setup
run: echo "::set-output name=namespace::benchmark-$(date +"%Y-%m-%d-%s")"
run: echo "namespace=benchmark-$(date +"%Y-%m-%d-%s")" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
@ -115,18 +115,27 @@ jobs:
- name: Server checks
run: |
nohup kubectl port-forward -n ${{ steps.setup.outputs.namespace }} service/dragonfly-sample 6379:6379 &
pip install -r tools/requirements.txt
python3 tools/benchmark/post_run_checks.py
- name: Get Dragonfly logs
uses: nick-fields/retry@v3
if: always()
run: |
kubectl logs -n ${{ steps.setup.outputs.namespace }} dragonfly-sample-0
with:
timeout_minutes: 1
max_attempts: 3
command: |
kubectl logs -n ${{ steps.setup.outputs.namespace }} dragonfly-sample-0
- name: Get Dragonfly replica logs
uses: nick-fields/retry@v3
if: always()
run: |
kubectl logs -n ${{ steps.setup.outputs.namespace }} dragonfly-sample-1
with:
timeout_minutes: 1
max_attempts: 3
command: |
kubectl logs -n ${{ steps.setup.outputs.namespace }} dragonfly-sample-1
- name: Scale down to zero
if: always()