This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (49 loc) · 2 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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/[email protected]
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