Skip to content

Commit 6cffb85

Browse files
authored
chore(github): replace sync-plugin-manager GitHub Action workflow by an updatecli manifest (#2232)
1 parent 541ccb9 commit 6cffb85

File tree

2 files changed

+60
-71
lines changed

2 files changed

+60
-71
lines changed

.github/workflows/sync-plugin-manager.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
name: Bump `plugin-installation-manager-tool` version
3+
4+
scms:
5+
default:
6+
kind: github
7+
spec:
8+
user: "{{ .github.user }}"
9+
email: "{{ .github.email }}"
10+
owner: "{{ .github.owner }}"
11+
repository: "{{ .github.repository }}"
12+
token: "{{ requiredEnv .github.token }}"
13+
username: "{{ .github.username }}"
14+
branch: "{{ .github.branch }}"
15+
16+
sources:
17+
lastReleaseVersion:
18+
kind: githubrelease
19+
name: Get latest `plugin-installation-manager-tool` release version
20+
spec:
21+
owner: jenkinsci
22+
repository: plugin-installation-manager-tool
23+
token: "{{ requiredEnv .github.token }}"
24+
username: "{{ .github.username }}"
25+
versionfilter:
26+
kind: semver
27+
transformers:
28+
- trimprefix: v
29+
30+
targets:
31+
updateDockerBake:
32+
name: Bump `plugin-installation-manager-tool` version for Linux images in the docker-bake.hcl file
33+
kind: hcl
34+
spec:
35+
file: docker-bake.hcl
36+
path: variable.PLUGIN_CLI_VERSION.default
37+
scmid: default
38+
updateDockerfiles:
39+
name: Bump `plugin-installation-manager-tool` version in Dockerfiles
40+
kind: dockerfile
41+
spec:
42+
files:
43+
- alpine/hotspot/Dockerfile
44+
- debian/Dockerfile
45+
- rhel/Dockerfile
46+
- windows/windowsservercore/hotspot/Dockerfile
47+
instruction:
48+
keyword: ARG
49+
matcher: PLUGIN_CLI_VERSION
50+
scmid: default
51+
52+
actions:
53+
default:
54+
kind: github/pullrequest
55+
title: Bump `plugin-installation-manager-tool` version to {{ source "lastReleaseVersion" }}
56+
scmid: default
57+
spec:
58+
labels:
59+
- dependencies
60+
- plugin-installation-manager-tool

0 commit comments

Comments
 (0)