From 5febab8ad761118a9dc2b2adf38502f41770e2ec Mon Sep 17 00:00:00 2001 From: ypoplavs Date: Mon, 3 Jun 2024 00:20:34 +0300 Subject: [PATCH] test develop and releasef low --- .../docker-build-api-executors-tag.yaml | 82 ++----- .github/workflows/docker-build-develop.yaml | 115 +++------ .github/workflows/docker-build-release.yaml | 219 +++++------------- 3 files changed, 109 insertions(+), 307 deletions(-) diff --git a/.github/workflows/docker-build-api-executors-tag.yaml b/.github/workflows/docker-build-api-executors-tag.yaml index 34deaa1ed1b..17ad9c37bdb 100644 --- a/.github/workflows/docker-build-api-executors-tag.yaml +++ b/.github/workflows/docker-build-api-executors-tag.yaml @@ -79,22 +79,24 @@ jobs: ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} - testworkflow-init: + testworkflow: + strategy: + matrix: + service: [ testworkflow-init, testworkflow-toolkit ] + include: + - service: testworkflow-init + repository: testkube-tw-init + - service: testworkflow-toolkit + repository: testkube-tw-toolkit runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - uses: sigstore/cosign-installer@v3.5.0 - - uses: anchore/sbom-action/download-syft@v0.15.11 - - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set-up Go uses: actions/setup-go@v5 with: @@ -107,7 +109,7 @@ jobs: path: | ~/go/pkg/mod ~/.cache/go-build - key: testkube-tw-init-go-${{ hashFiles('**/go.sum') }} + key: ${{ matrix.service }}-go-${{ hashFiles('**/go.sum') }} - name: Login to DockerHub uses: docker/login-action@v3 @@ -115,68 +117,20 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Release - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow-init.yml - env: - GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} - ANALYTICS_TRACKING_ID: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_ID}} - ANALYTICS_API_KEY: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_SECRET}} - SLACK_BOT_CLIENT_ID: ${{secrets.TESTKUBE_SLACK_BOT_CLIENT_ID}} - SLACK_BOT_CLIENT_SECRET: ${{secrets.TESTKUBE_SLACK_BOT_CLIENT_SECRET}} - SEGMENTIO_KEY: ${{secrets.TESTKUBE_API_SEGMENTIO_KEY}} - CLOUD_SEGMENTIO_KEY: ${{secrets.TESTKUBE_API_CLOUD_SEGMENTIO_KEY}} - DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" - DOCKER_BUILDX_CACHE_FROM: "type=gha" - DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" - ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} - BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} - - testworkflow-toolkit: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - uses: sigstore/cosign-installer@v3.5.0 - - uses: anchore/sbom-action/download-syft@v0.15.11 - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set-up Go - uses: actions/setup-go@v5 - with: - go-version: stable - cache: false - - - name: Go Cache - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: testkube-tw-toolkit-go-${{ hashFiles('**/go.sum') }} + - name: Get branch name + run: | + # Extract everything after the first slash + branch_identifier=$(echo "$GITHUB_REF_NAME" | cut -d'/' -f2-) - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # Replace slashes with dashes using sed + echo branch_identifier=$(echo "$branch_identifier" | sed 's/\//-/g') >> $GITHUB_ENV - name: Release uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow-toolkit.yml + args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow.yml --snapshot env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} ANALYTICS_TRACKING_ID: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_ID}} @@ -190,6 +144,8 @@ jobs: DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} + SERVICE: ${{ matrix.service }} + REPOSITORY: ${{ matrix.repository }} single_executor: strategy: diff --git a/.github/workflows/docker-build-develop.yaml b/.github/workflows/docker-build-develop.yaml index 40868062ff5..d587c691bbe 100644 --- a/.github/workflows/docker-build-develop.yaml +++ b/.github/workflows/docker-build-develop.yaml @@ -3,6 +3,7 @@ on: push: branches: - develop + - ci/sanbox-flow paths-ignore: - 'docs/**' env: @@ -68,65 +69,15 @@ jobs: run: | docker push kubeshop/testkube-api-server:${{ steps.commit.outputs.short }} - testworkflow-init: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Set-up Go - uses: actions/setup-go@v5 - with: - go-version: stable - cache: false - - - name: Go Cache - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: testkube-tw-init-go-${{ hashFiles('**/go.sum') }} - - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - id: commit - uses: prompt/actions-commit-hash@v3 - - - name: Release - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow-init.yml --snapshot - env: - GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} - ANALYTICS_TRACKING_ID: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_ID}} - ANALYTICS_API_KEY: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_SECRET}} - SLACK_BOT_CLIENT_ID: ${{secrets.TESTKUBE_SLACK_BOT_CLIENT_ID}} - SLACK_BOT_CLIENT_SECRET: ${{secrets.TESTKUBE_SLACK_BOT_CLIENT_SECRET}} - SEGMENTIO_KEY: ${{secrets.TESTKUBE_API_SEGMENTIO_KEY}} - CLOUD_SEGMENTIO_KEY: ${{secrets.TESTKUBE_API_CLOUD_SEGMENTIO_KEY}} - DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" - DOCKER_BUILDX_CACHE_FROM: "type=gha" - DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" - ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} - BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} - IMAGE_TAG_SHA: true - - - name: Push Docker images - run: | - docker push kubeshop/testkube-tw-init:${{ steps.commit.outputs.short }} - - testworkflow-toolkit: + testworkflow: + strategy: + matrix: + service: [ testworkflow-init, testworkflow-toolkit ] + include: + - service: testworkflow-init + repository: testkube-tw-init + - service: testworkflow-toolkit + repository: testkube-tw-toolkit runs-on: ubuntu-latest steps: - name: Checkout @@ -139,7 +90,7 @@ jobs: - name: Set-up Go uses: actions/setup-go@v5 with: - go-version: stable + go-version: stable cache: false - name: Go Cache @@ -148,7 +99,7 @@ jobs: path: | ~/go/pkg/mod ~/.cache/go-build - key: testkube-tw-toolkit-go-${{ hashFiles('**/go.sum') }} + key: ${{ matrix.service }}-go-${{ hashFiles('**/go.sum') }} - name: Login to DockerHub uses: docker/login-action@v3 @@ -164,7 +115,7 @@ jobs: with: distribution: goreleaser version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow-toolkit.yml --snapshot + args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow.yml --snapshot env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} ANALYTICS_TRACKING_ID: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_ID}} @@ -179,10 +130,12 @@ jobs: ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} IMAGE_TAG_SHA: true + SERVICE: ${{ matrix.service }} + REPOSITORY: ${{ matrix.repository }} - name: Push Docker images run: | - docker push kubeshop/testkube-tw-toolkit:${{ steps.commit.outputs.short }} + docker push kubeshop/${{ matrix.repository }}:${{ steps.commit.outputs.short }} single_executor: strategy: @@ -791,21 +744,21 @@ jobs: docker manifest push -p kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }} - workflow_dispatch: - needs: [api, single_executor, executor_jmeter, executor_jmeterd, jmeterd_slave, executor_maven, executor_gradle, executor_cypress, executor_playwright] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Get commit sha - id: github_sha - run: echo "::set-output name=sha_short::${GITHUB_SHA::7}" - - - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v3 - with: - token: ${{ secrets.CI_BOT_TOKEN }} - repository: kubeshop/helm-charts - event-type: trigger-workflow-api-develop - client-payload: '{"image_tag_api": "${{ steps.github_sha.outputs.sha_short }}"}' +# workflow_dispatch: +# needs: [api, single_executor, executor_jmeter, executor_jmeterd, jmeterd_slave, executor_maven, executor_gradle, executor_cypress, executor_playwright] +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# +# - name: Get commit sha +# id: github_sha +# run: echo "::set-output name=sha_short::${GITHUB_SHA::7}" +# +# - name: Repository Dispatch +# uses: peter-evans/repository-dispatch@v3 +# with: +# token: ${{ secrets.CI_BOT_TOKEN }} +# repository: kubeshop/helm-charts +# event-type: trigger-workflow-api-develop +# client-payload: '{"image_tag_api": "${{ steps.github_sha.outputs.sha_short }}"}' diff --git a/.github/workflows/docker-build-release.yaml b/.github/workflows/docker-build-release.yaml index e3d57e4c523..6a3300a736e 100644 --- a/.github/workflows/docker-build-release.yaml +++ b/.github/workflows/docker-build-release.yaml @@ -4,6 +4,7 @@ on: push: branches: - release/** + - ci/sanbox-flow paths-ignore: - 'docs/**' env: @@ -69,65 +70,15 @@ jobs: run: | docker push kubeshop/testkube-api-server:${{ steps.commit.outputs.short }} - testworkflow-init: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Set-up Go - uses: actions/setup-go@v5 - with: - go-version: stable - cache: false - - - name: Go Cache - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: testkube-tw-init-go-${{ hashFiles('**/go.sum') }} - - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - id: commit - uses: prompt/actions-commit-hash@v3 - - - name: Release - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow-init.yml --snapshot - env: - GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} - ANALYTICS_TRACKING_ID: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_ID}} - ANALYTICS_API_KEY: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_SECRET}} - SLACK_BOT_CLIENT_ID: ${{secrets.TESTKUBE_SLACK_BOT_CLIENT_ID}} - SLACK_BOT_CLIENT_SECRET: ${{secrets.TESTKUBE_SLACK_BOT_CLIENT_SECRET}} - SEGMENTIO_KEY: ${{secrets.TESTKUBE_API_SEGMENTIO_KEY}} - CLOUD_SEGMENTIO_KEY: ${{secrets.TESTKUBE_API_CLOUD_SEGMENTIO_KEY}} - DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" - DOCKER_BUILDX_CACHE_FROM: "type=gha" - DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" - ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} - BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} - IMAGE_TAG_SHA: true - - - name: Push Docker images - run: | - docker push kubeshop/testkube-tw-init:${{ steps.commit.outputs.short }} - - testworkflow-toolkit: + testworkflow: + strategy: + matrix: + service: [ testworkflow-init, testworkflow-toolkit ] + include: + - service: testworkflow-init + repository: testkube-tw-init + - service: testworkflow-toolkit + repository: testkube-tw-toolkit runs-on: ubuntu-latest steps: - name: Checkout @@ -140,7 +91,7 @@ jobs: - name: Set-up Go uses: actions/setup-go@v5 with: - go-version: stable + go-version: stable cache: false - name: Go Cache @@ -149,7 +100,7 @@ jobs: path: | ~/go/pkg/mod ~/.cache/go-build - key: testkube-tw-toolkit-go-${{ hashFiles('**/go.sum') }} + key: ${{ matrix.service }}-go-${{ hashFiles('**/go.sum') }} - name: Login to DockerHub uses: docker/login-action@v3 @@ -165,7 +116,7 @@ jobs: with: distribution: goreleaser version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow-toolkit.yml --snapshot + args: release -f goreleaser_files/.goreleaser-docker-build-testworkflow.yml --snapshot env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} ANALYTICS_TRACKING_ID: ${{secrets.TESTKUBE_API_GA_MEASUREMENT_ID}} @@ -180,10 +131,12 @@ jobs: ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} IMAGE_TAG_SHA: true + SERVICE: ${{ matrix.service }} + REPOSITORY: ${{ matrix.repository }} - name: Push Docker images run: | - docker push kubeshop/testkube-tw-toolkit:${{ steps.commit.outputs.short }} + docker push kubeshop/${{ matrix.repository }}:${{ steps.commit.outputs.short }} logs_sidecar: runs-on: ubuntu-latest @@ -246,9 +199,19 @@ jobs: docker manifest create kubeshop/testkube-logs-sidecar:${{ steps.commit.outputs.short }} --amend kubeshop/testkube-logs-sidecar:${{ steps.commit.outputs.short }}-arm64v8 --amend kubeshop/testkube-logs-sidecar:${{ steps.commit.outputs.short }}-amd64 docker manifest push -p kubeshop/testkube-logs-sidecar:${{ steps.commit.outputs.short }} - logs_server: + log_server_sidecar: + strategy: + matrix: + service: [ logs-server, logs-sidecar ] runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + - name: Checkout uses: actions/checkout@v4 with: @@ -272,7 +235,9 @@ jobs: path: | ~/go/pkg/mod ~/.cache/go-build - key: logs-server-go-${{ hashFiles('**/go.sum') }} + key: ${{ matrix.service }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- - name: Login to DockerHub uses: docker/login-action@v3 @@ -288,7 +253,7 @@ jobs: with: distribution: goreleaser-pro version: latest - args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-server.yml --snapshot + args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-services.yml --snapshot env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} @@ -298,14 +263,16 @@ jobs: ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} DOCKER_IMAGE_TAG: ${{ steps.commit.outputs.short }} + SERVICE: ${{ matrix.service }} - name: Push Docker images run: | - docker push kubeshop/testkube-logs-server:${{ steps.commit.outputs.short }}-arm64v8 - docker push kubeshop/testkube-logs-server:${{ steps.commit.outputs.short }}-amd64 + docker push kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-arm64v8 + docker push kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-amd64 + + docker manifest create kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }} --amend kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-arm64v8 --amend kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-amd64 + docker manifest push -p kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }} - docker manifest create kubeshop/testkube-logs-server:${{ steps.commit.outputs.short }} --amend kubeshop/testkube-logs-server:${{ steps.commit.outputs.short }}-arm64v8 --amend kubeshop/testkube-logs-server:${{ steps.commit.outputs.short }}-amd64 - docker manifest push -p kubeshop/testkube-logs-server:${{ steps.commit.outputs.short }} single_executor: strategy: @@ -651,7 +618,7 @@ jobs: with: distribution: goreleaser version: latest - args: release -f goreleaser_files/.goreleaser-docker-build-executor-cypress-commit-only.yml --snapshot + args: release -f goreleaser_files/.goreleaser-docker-build-executor-cypress.yml --snapshot env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" @@ -777,95 +744,21 @@ jobs: docker manifest create kubeshop/testkube-postman-executor:node21-${{ steps.commit.outputs.short }} --amend kubeshop/testkube-postman-executor:node21-${{ steps.commit.outputs.short }}-arm64v8 --amend kubeshop/testkube-postman-executor:node21-${{ steps.commit.outputs.short }}-amd64 docker manifest push -p kubeshop/testkube-postman-executor:node21-${{ steps.commit.outputs.short }} - log_server_sidecar: - strategy: - matrix: - service: [ logs-server, logs-sidecar ] - runs-on: ubuntu-latest - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: stable - - - name: Go Cache - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: ${{ matrix.service }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - id: commit - uses: prompt/actions-commit-hash@v3 - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser-pro - version: latest - args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-services.yml --snapshot - env: - GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} - GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} - DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" - DOCKER_BUILDX_CACHE_FROM: "type=gha" - DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" - ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} - BUSYBOX_IMAGE: ${{ env.BUSYBOX_IMAGE }} - DOCKER_IMAGE_TAG: ${{ steps.commit.outputs.short }} - SERVICE: ${{ matrix.service }} - - - name: Push Docker images - run: | - docker push kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-arm64v8 - docker push kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-amd64 - - docker manifest create kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }} --amend kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-arm64v8 --amend kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }}-amd64 - docker manifest push -p kubeshop/testkube-${{ matrix.service }}:${{ steps.commit.outputs.short }} - - workflow_dispatch: - needs: [ api, single_executor, executor_jmeter, executor_jmeterd, jmeterd_slave, executor_maven, executor_gradle, executor_cypress, executor_playwright ] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Get commit sha - id: github_sha - run: echo "::set-output name=sha_short::${GITHUB_SHA::7}" - - - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v3 - with: - token: ${{ secrets.CI_BOT_TOKEN }} - repository: kubeshop/helm-charts - event-type: trigger-workflow-api-release - client-payload: '{"image_tag_api": "${{ steps.github_sha.outputs.sha_short }}"}' +# workflow_dispatch: +# needs: [ api, single_executor, executor_jmeter, executor_jmeterd, jmeterd_slave, executor_maven, executor_gradle, executor_cypress, executor_playwright ] +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# +# - name: Get commit sha +# id: github_sha +# run: echo "::set-output name=sha_short::${GITHUB_SHA::7}" +# +# - name: Repository Dispatch +# uses: peter-evans/repository-dispatch@v3 +# with: +# token: ${{ secrets.CI_BOT_TOKEN }} +# repository: kubeshop/helm-charts +# event-type: trigger-workflow-api-release +# client-payload: '{"image_tag_api": "${{ steps.github_sha.outputs.sha_short }}"}'