Skip to content

Commit 6e0f3d7

Browse files
author
Alberto Gutierrez
committed
Set gh action
1 parent a8476db commit 6e0f3d7

File tree

2 files changed

+43
-4
lines changed

2 files changed

+43
-4
lines changed

.github/workflows/kiali-update.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Nightly yaml update
2+
3+
on:
4+
schedule:
5+
# Every night at 04:00 (UTC)
6+
- cron: "0 4 * * *"
7+
workflow_dispatch:
8+
inputs:
9+
release_branch:
10+
description: Branch to release
11+
required: true
12+
default: master
13+
type: string
14+
jobs:
15+
initialize:
16+
name: Initialize
17+
runs-on: ubuntu-20.04
18+
outputs:
19+
target_branch: ${{ github.ref_name }}
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
with:
24+
ref: ${{ github.event.inputs.release_branch || github.ref_name }}
25+
- name: Log information
26+
run: |
27+
echo "Updating"
28+
make update
29+
- name: Configure git
30+
run: |
31+
git config user.email '[email protected]'
32+
33+
git config user.name 'kiali-bot'
34+
- name: Update file
35+
run: |
36+
git add kiali.yaml
37+
38+
git commit -m "Update kiali.yaml to latest release"
39+
git push origin

kiali.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ global:
22
dynamic:
33
plugins:
44
- disabled: false
5-
integrity: sha512-WwG1cQbUHXhVZK+AG3HjzSHh+1CpFJq74ws8D/4pmlcpvoz9xsHta2AzR6D4VYQEGhxPsFWpTkG4JZEOWXKH1w==
6-
package: '@janus-idp/backstage-plugin-kiali@1.17.1'
5+
integrity: ${KIALI_CHECKSUM}
6+
package: '@janus-idp/backstage-plugin-kiali@${KIALI_VERSION}'
77
pluginConfig:
88
dynamicPlugins:
99
frontend:
@@ -18,8 +18,8 @@ global:
1818
text: Kiali
1919
path: /kiali
2020
- disabled: false
21-
integrity: sha512-MIB9iDlgWhYi//MZm52Z8/mNWX6xR2bqp9WwaGk6VVLTRTDGfj5JNNT7mzwy4NdX8p3JIBjbmHhcxQFNNaFg2A==
22-
package: '@janus-idp/backstage-plugin-kiali-backend-dynamic@1.10.12'
21+
integrity: ${KIALI_BACKEND_CHECKSUM}
22+
package: '@janus-idp/backstage-plugin-kiali-backend-dynamic@${KIALI_BACKEND_VERSION}'
2323
pluginConfig:
2424
catalog:
2525
providers:

0 commit comments

Comments
 (0)