From 2d8a14de9dce322e5cfa4d762bfec1cac75aa5cb Mon Sep 17 00:00:00 2001 From: "Chang, Hui-Tang" Date: Tue, 5 Nov 2024 23:25:08 +0800 Subject: [PATCH] chore(ci): fix xk6-sql version --- .github/workflows/helm-integration-test-backend.yml | 2 +- .github/workflows/integration-test-backend.yml | 2 +- .github/workflows/make-all.yml | 2 +- .github/workflows/make-latest.yml | 2 +- Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/helm-integration-test-backend.yml b/.github/workflows/helm-integration-test-backend.yml index a5ebda8f..7b51b3e0 100644 --- a/.github/workflows/helm-integration-test-backend.yml +++ b/.github/workflows/helm-integration-test-backend.yml @@ -49,7 +49,7 @@ jobs: - name: Install k6 run: | go install go.k6.io/xk6/cmd/xk6@v${{ env.XK6_VERSION }} - xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql && sudo cp k6 /usr/bin + xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql@v0.4.1 && sudo cp k6 /usr/bin - name: Launch Helm Instill Core (${{ inputs.target }}) run: | diff --git a/.github/workflows/integration-test-backend.yml b/.github/workflows/integration-test-backend.yml index 58c2744f..c313de0a 100644 --- a/.github/workflows/integration-test-backend.yml +++ b/.github/workflows/integration-test-backend.yml @@ -48,7 +48,7 @@ jobs: - name: Install k6 run: | go install go.k6.io/xk6/cmd/xk6@v${{ env.XK6_VERSION }} - xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql && sudo cp k6 /usr/bin + xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql@v0.4.1 && sudo cp k6 /usr/bin - name: Launch Instill Core (${{ inputs.target }}) # CFG_COMPONENT_SECRETS_GITHUB* variables are injected to test OAuth diff --git a/.github/workflows/make-all.yml b/.github/workflows/make-all.yml index 47db86c7..f6ddd79a 100644 --- a/.github/workflows/make-all.yml +++ b/.github/workflows/make-all.yml @@ -40,7 +40,7 @@ jobs: - name: Install k6 run: | go install go.k6.io/xk6/cmd/xk6@v${{ env.XK6_VERSION }} - xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql && sudo cp k6 /usr/bin + xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql@v0.4.1 && sudo cp k6 /usr/bin - name: Launch Instill Core (release) run: | diff --git a/.github/workflows/make-latest.yml b/.github/workflows/make-latest.yml index 22ce37d1..89acc444 100644 --- a/.github/workflows/make-latest.yml +++ b/.github/workflows/make-latest.yml @@ -44,7 +44,7 @@ jobs: - name: Install k6 run: | go install go.k6.io/xk6/cmd/xk6@v${{ env.XK6_VERSION }} - xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql && sudo cp k6 /usr/bin + xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql@v0.4.1 && sudo cp k6 /usr/bin - name: Launch Instill Core (latest) run: | diff --git a/Dockerfile b/Dockerfile index a0438dc5..ef8a5ed7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --update docker docker-compose docker-cli-compose docker-cli-buildx ARG XK6_VERSION K6_VERSION RUN go install go.k6.io/xk6/cmd/xk6@v${XK6_VERSION} -RUN xk6 build v${K6_VERSION} --with github.com/grafana/xk6-sql --output /usr/bin/k6 +RUN xk6 build v${K6_VERSION} --with github.com/grafana/xk6-sql@v0.4.1 --output /usr/bin/k6 # Install Helm RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash