Skip to content

Commit

Permalink
remove testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Mar 26, 2024
1 parent ab9ea67 commit 310eea1
Showing 1 changed file with 30 additions and 22 deletions.
52 changes: 30 additions & 22 deletions .github/workflows/docker-build-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]/kubeshop/helm-charts
cd ./helm-charts
git config user.name "kubeshop-bot"
git config user.email "[email protected]"
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:[email protected]/kubeshop/testkube-dashboard-chart
# cd ./testkube-dashboard-chart
# git config user.name "kubeshop-bot"
# git config user.email "[email protected]"
#
# 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 }}

0 comments on commit 310eea1

Please sign in to comment.