This repository has been archived by the owner on May 10, 2024. It is now read-only.
fix: `/bin/bash: line 8: go-junit-report: command not found
#193
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
jobs: | |
build: | |
uses: riotkit-org/.github/.github/workflows/build.go.yaml@release-1 | |
with: | |
binaryName: backup-maker | |
sonarCloudEnabled: true | |
testReportEnabled: true | |
coverageReportEnabled: false | |
secrets: | |
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}" | |
release-binary: | |
needs: ["build"] | |
uses: riotkit-org/.github/.github/workflows/release.binary.yaml@release-1 | |
with: | |
binaryName: backup-maker | |
intermediateArtifactsPath: ".build/" | |
release-container: | |
needs: ["build"] | |
uses: riotkit-org/.github/.github/workflows/release.container.yaml@release-1 | |
with: | |
dockerImage: ghcr.io/riotkit-org/br-backup-maker | |
intermediateArtifactsPath: ".build/" | |
# ----------------------------------------------------------------------- | |
# Bumps br-backup-maker dependency in backup-maker-controller repository | |
# So the most recent version of backup-maker-controller will use the most | |
# recent version of br-backup-maker | |
# ----------------------------------------------------------------------- | |
bump-operator: | |
needs: ["build"] | |
runs-on: ubuntu-22.04 | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Bump dependency in backup-maker operator repository | |
uses: convictional/trigger-workflow-and-wait@v1.6.5 | |
with: | |
owner: riotkit-org | |
repo: backup-maker-operator | |
github_token: ${{ secrets.GH_RW_TOKEN }} | |
github_user: blackandred | |
workflow_file_name: bump-backup-maker.yaml | |
ref: main | |
wait_interval: 5 | |
client_payload: '{"revision": "${{ github.sha }}", "dependencyName": "github.com/riotkit-org/br-backup-maker", "targetBranch": "main"}' | |
propagate_failure: true | |
trigger_workflow: true | |
wait_workflow: true |