fix(stable-8.1 PR12424): update docs relevant envvar placeholders for 8.1.0 #749
Workflow file for this run
This file contains hidden or 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
| name: k6 Load Test | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| schedule: | |
| - cron: '0 1 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: k6-load-test-server | |
| cancel-in-progress: false | |
| jobs: | |
| k6-load-test: | |
| name: k6-load-test | |
| runs-on: ubuntu-latest | |
| container: | |
| image: owncloudci/alpine:latest | |
| if: >- | |
| github.event_name == 'schedule' || | |
| github.event_name == 'workflow_dispatch' || | |
| (github.event_name == 'pull_request' && | |
| contains(github.event.pull_request.title || '', 'k6-test')) | |
| env: | |
| SSH_OCIS_REMOTE: ${{ secrets.SSH_OCIS_REMOTE }} | |
| SSH_OCIS_USERNAME: ${{ secrets.SSH_OCIS_USERNAME }} | |
| SSH_OCIS_PASSWORD: ${{ secrets.SSH_OCIS_PASSWORD }} | |
| TEST_SERVER_URL: ${{ secrets.TEST_SERVER_URL }} | |
| SSH_K6_REMOTE: ${{ secrets.SSH_K6_REMOTE }} | |
| SSH_K6_USERNAME: ${{ secrets.SSH_K6_USERNAME }} | |
| SSH_K6_PASSWORD: ${{ secrets.SSH_K6_PASSWORD }} | |
| OCIS_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install SSH dependencies | |
| run: apk add --no-cache openssh-client sshpass | |
| - name: Run k6 load tests | |
| if: ${{ !cancelled() }} | |
| run: sh tests/config/drone/run_k6_tests.sh | |
| - name: Retrieve OCIS logs | |
| if: ${{ !cancelled() }} | |
| run: sh tests/config/drone/run_k6_tests.sh --ocis-log | |
| - name: Show Grafana dashboard link | |
| if: ${{ !cancelled() }} | |
| run: | | |
| echo "Grafana Dashboard: https://grafana.k6.infra.owncloud.works" |