From 7067f52e68db5de29e440af817d6b422a54a6255 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Sat, 2 Dec 2023 18:05:26 +0100 Subject: [PATCH] Update k6.yml --- .github/workflows/k6.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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