Repository navigation
Expand file tree
/
Copy pathupdatecli-compose.yaml
More file actions
106 lines (97 loc) · 4.01 KB
/
Copy pathupdatecli-compose.yaml
File metadata and controls
106 lines (97 loc) · 4.01 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Updatecli runs on this repository too.
name: Updatecli skills
values:
- updatecli/values.d/scm.yaml
policies:
- name: Local pipelines
id: local
config:
- updatecli/updatecli.d/
# Syncs references/policies-catalogue.md from the policies repository's POLICIES.md.
- name: Sync the policy catalogue
id: policies-catalogue
policy: ghcr.io/updatecli/policies/file:0.4.0@sha256:3485163648cbe62f3be9a21fa2d4c145f286c5a11d2c4fb1ce5260a83d4e49ab
valuesinline:
title: "chore: sync the Updatecli policy catalogue"
pipelineid: policies-catalogue
src:
url: https://github.com/updatecli/policies.git
branch: main
files:
- src: POLICIES.md
dst: skills/updatecli/references/policies-catalogue.md
# Syncs references/schemas/ from the website, regenerated for every Updatecli release.
- name: Sync the Updatecli JSON schemas
id: schemas
policy: ghcr.io/updatecli/policies/file:0.4.0@sha256:3485163648cbe62f3be9a21fa2d4c145f286c5a11d2c4fb1ce5260a83d4e49ab
valuesinline:
title: "chore: sync the Updatecli JSON schemas"
pipelineid: schemas
src:
url: https://github.com/updatecli/website.git
branch: master
files:
- src: content/en/schema/latest/compose/config.json
dst: skills/updatecli/references/schemas/compose.json
- src: content/en/schema/latest/policy/manifest/config.json
dst: skills/updatecli/references/schemas/manifest.json
- src: content/en/schema/latest/policy/metadata/config.json
dst: skills/updatecli/references/schemas/policy-metadata.json
# Syncs references/deprecations.adoc from the website's deprecations page.
- name: Sync the Updatecli deprecations
id: deprecations
policy: ghcr.io/updatecli/policies/file:0.4.0@sha256:3485163648cbe62f3be9a21fa2d4c145f286c5a11d2c4fb1ce5260a83d4e49ab
valuesinline:
title: "chore: sync the Updatecli deprecations"
pipelineid: deprecations
src:
url: https://github.com/updatecli/website.git
branch: master
files:
- src: content/en/docs/help/deprecations.adoc
dst: skills/updatecli/references/deprecations.adoc
# Writes .github/workflows/updatecli*.yaml and keeps their Updatecli version
# and action digests current. Do not add the updatecli/githubaction policy:
# it edits the same files, and the two would revert each other.
- name: Updatecli workflows
id: updatecli-scaffold
policy: ghcr.io/updatecli/policies/updatecli/githubaction/scaffold:0.3.0@sha256:fd4a504b762f5b6493947985759f8be93f9bfc22175cddbdd4a41e77fc03b414
valuesinline:
pipelineid: updatecli-scaffold
gha:
udash:
enabled: true
update:
cron: "0 3 * * *"
matrix:
- target_name: "existing pipelines"
apply_args: "--existing-only=true"
- target_name: "monitored pipelines"
apply_args: "--labels=monitor:active"
pipeline:
labels:
ecosystem: "updatecli"
policy: scaffold
monitor: active
# Installs and maintains a zizmor workflow that scans the GitHub workflows.
- name: Zizmor workflow
id: zizmor
policy: ghcr.io/updatecli/policies/zizmor/githubaction/scaffold:0.9.0@sha256:8e9864db4f9eed64be25ec24ead1570b7a28074ecbe4e5e6dccba8d2dbd3752a
valuesinline:
pipelineid: zizmor
config:
rules:
secrets-outside-env:
disable: true
# Installs and maintains a typos workflow that checks spelling.
- name: Typos workflow
id: typos
policy: ghcr.io/updatecli/policies/typos/githubaction:0.2.0@sha256:95dc62b5a9205df58c39f4070af488d74e757fcf9df4c99a9bd22ce8b95e1b11
valuesinline:
pipelineid: typos
# Keeps the policy versions in this file up to date.
- name: Updatecli policies
id: updatecli
policy: ghcr.io/updatecli/policies/autodiscovery/updatecli:0.12.0@sha256:6b53297d62350862ce1205fc183539c985464b97678404f7da9c133a442b0576
valuesinline:
pipelineid: updatecli