From 310eea145080eb006cc459dbab14f4ea4a517877 Mon Sep 17 00:00:00 2001 From: ypoplavs Date: Tue, 26 Mar 2024 12:03:26 +0200 Subject: [PATCH] remove testing --- .github/workflows/docker-build-tag.yml | 52 +++++++++++++++----------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/.github/workflows/docker-build-tag.yml b/.github/workflows/docker-build-tag.yml index 6282094fd..4d309d393 100644 --- a/.github/workflows/docker-build-tag.yml +++ b/.github/workflows/docker-build-tag.yml @@ -99,26 +99,34 @@ jobs: id: tag uses: dawidd6/action-get-tag@v1 with: - strip_v: false - - - name: Editing helm-release repo with version based on a Tag pushed. - run: | - # Setting up Git: - git clone https://kubeshop-bot:$GH_TOKEN@github.com/kubeshop/helm-charts - cd ./helm-charts - git config user.name "kubeshop-bot" - git config user.email "kubeshop-bot@kubeshop.io" - - export GH_TOKEN - export RELEASE_VERSION - export SERVICE - - git fetch origin main - git checkout main - cd ./scripts - ./chart_releaser.sh --helm-chart-folder testkube-$SERVICE + strip_v: true - env: - SERVICE: dashboard - GH_TOKEN: ${{ secrets.CI_BOT_TOKEN }} - RELEASE_VERSION: ${{ steps.tag.outputs.tag }} + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.CI_BOT_TOKEN }} + repository: kubeshop/testkube-dashboard-chart + event-type: trigger-workflow-dashboard-chart + client-payload: '{"app_version": "${{ steps.tag.outputs.tag }}"}' + +# - name: Editing helm-release repo with version based on a Tag pushed. +# run: | +# # Setting up Git: +# git clone https://kubeshop-bot:$GH_TOKEN@github.com/kubeshop/testkube-dashboard-chart +# cd ./testkube-dashboard-chart +# git config user.name "kubeshop-bot" +# git config user.email "kubeshop-bot@kubeshop.io" +# +# export GH_TOKEN +# export RELEASE_VERSION +# export SERVICE +# +# git fetch origin main +# git checkout main +# cd ./scripts +# ./chart_releaser.sh +# +# env: +# SERVICE: dashboard +# GH_TOKEN: ${{ secrets.CI_BOT_TOKEN }} +# RELEASE_VERSION: ${{ steps.tag.outputs.tag }}