Skip to content

feat: Add encryption keys secret to Galasa service (#51) #5

feat: Add encryption keys secret to Galasa service (#51)

feat: Add encryption keys secret to Galasa service (#51) #5

Workflow file for this run

#
# Copyright contributors to the Galasa project
#
# SPDX-License-Identifier: EPL-2.0
#
name: Trigger Helm workflow in Automation repository
on:
workflow_dispatch:
push:
branches: [main]
jobs:
trigger-workflow:
name: Trigger Helm workflow
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Trigger Helm workflow using GitHub CLI call
run: |
gh workflow run build-helm.yaml --repo https://github.com/galasa-dev/automation
env:
GH_TOKEN: ${{ secrets.GALASA_TEAM_GITHUB_TOKEN }}
report-failure:
name: Report failure in workflow
runs-on: ubuntu-latest
needs: trigger-workflow
if: failure()
steps:
- name: Report failure in workflow to Slack
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run : |
docker run --rm -v ${{ github.workspace }}:/var/workspace ghcr.io/galasa-dev/galasabld-ibm:main slackpost workflows --repo "helm" --workflowName "${{ github.workflow }}" --workflowRunNum "${{ github.run_id }}" --ref "${{ env.BRANCH }}" --hook "${{ env.SLACK_WEBHOOK }}"