diff --git a/.github/workflows/k6.yml b/.github/workflows/k6.yml index d84daba..e8cb6be 100644 --- a/.github/workflows/k6.yml +++ b/.github/workflows/k6.yml @@ -8,17 +8,20 @@ on: clickhouse_tag: description: 'BuildTag for ClickHouse (latest)' required: false + clickhouse_image: + description: 'Image for ClickHouse (ghcr.io/chdb-io/chdb-server)' + required: false jobs: build: name: Run k6 on qryn:latest runs-on: ubuntu-latest env: - CLICKHOUSE_VERSION: "ghcr.io/chdb-io/chdb-server:${{ github.event.inputs.qryn_tag || 'latest' }}" - QRYN_VERSION: "qxip/qryn:${{ github.event.inputs.clickhouse_tag || 'latest' }}" + CLICKHOUSE_VERSION: "${{ github.event.inputs.clickhouse_image || 'ghcr.io/chdb-io/chdb-server' }}:${{ github.event.inputs.qryn_tag || 'latest' }}" + QRYN_VERSION: "ghcr.io/metrico/qryn:${{ github.event.inputs.clickhouse_tag || 'latest' }}" services: clickhouse: - image: "ghcr.io/chdb-io/chdb-server:${{ github.event.inputs.clickhouse_tag || 'latest' }}" + image: "${{ github.event.inputs.clickhouse_image || 'ghcr.io/chdb-io/chdb-server' }}:${{ github.event.inputs.clickhouse_tag || 'latest' }}" ports: - 8123:8123 env: @@ -108,7 +111,7 @@ jobs: echo "qxip/qryn:${{ github.event.inputs.qryn_tag || 'latest' }}" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### chdb image" >> $GITHUB_STEP_SUMMARY - echo "ghcr.io/chdb-io/chdb-server:${{ github.event.inputs.clickhouse_tag || 'latest' }}" >> $GITHUB_STEP_SUMMARY + echo "${{ github.event.inputs.clickhouse_image || 'ghcr.io/chdb-io/chdb-server' }}:${{ github.event.inputs.clickhouse_tag || 'latest' }}" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Loki Test" >> $GITHUB_STEP_SUMMARY cat loki_summary.txt >> $GITHUB_STEP_SUMMARY