Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: "actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0

- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635" # v2.96.0
uses: "updatecli/updatecli-action@v3.0.0"
with:
version: "v0.115.0"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/updatecli_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Install Updatecli"
uses: "updatecli/updatecli-action@v2.96.0"
uses: "updatecli/updatecli-action@v3.0.0"
with:
version: "v0.115.0"

Expand All @@ -27,7 +27,7 @@ jobs:
uses: "updatecli/releasepost-action@v0.5.0"

- name: "Run updatecli only on release pipelines"
run: updatecli compose apply --clean-git-branches=true --labels="event:release" --experimental
run: updatecli compose apply --clean-git-branches=true --labels="release:updatecli" --experimental
env:
UPDATECLI_GITHUB_APP_CLIENT_ID: ${{ secrets.UPDATECLIBOT_APP_ID }}
UPDATECLI_GITHUB_APP_PRIVATE_KEY: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatecli_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: "actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0

- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635" # v2.96.0
uses: "updatecli/updatecli-action@v3.0.0"
with:
version: "v0.115.0"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/updatecli_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
uses: "actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3" # v6.0.0

- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635" # v2.96.0
uses: "updatecli/updatecli-action@v3.0.0"
with:
version: "v0.115.0"

- name: "Run updatecli only on monitored pipelines"
run: updatecli compose apply --clean-git-branches=true --labels="monitoring:enabled" --experimental
run: updatecli compose apply --clean-git-branches=true --labels="monitor:active" --experimental
env:
UPDATECLI_GITHUB_APP_CLIENT_ID: ${{ secrets.UPDATECLIBOT_APP_ID }}
UPDATECLI_GITHUB_APP_PRIVATE_KEY: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}
Expand Down
45 changes: 34 additions & 11 deletions updatecli-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,65 @@ policies:
- updatecli/updatecli.d/
values:
- updatecli/values.d/scm.yaml

- name: Handle Nodejs version in githubaction
policy: ghcr.io/updatecli/policies/nodejs/githubaction:0.11.1@sha256:812c245adc1f20767ca912baf3087022c78e8153a3f27d43729dd8931864f8e3
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/nodejs.yaml
valuesinline:
versionpattern: "~24"
automerge: true

- name: Handle Nodejs version in Netlify
policy: ghcr.io/updatecli/policies/nodejs/netlify:0.10.1@sha256:3bc908b4bfc7c44cb4a1ff9c1cad0c61c16f37b9c8e45b50bd632eb05f54521f
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/nodejs.yaml
- name: Update Updatecli policies
policy: ghcr.io/updatecli/policies/updatecli/autodiscovery:0.8.1@sha256:f8edda1a6cbf0d7274e2b847ede29fc4dc70dd5302ccb8575ae21b069cc0d8a0
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/compose.yaml
valuesinline:
versionpattern: "~24"
automerge: true

- name: Handle HUGO version in netlify
policy: ghcr.io/updatecli/policies/hugo/netlify:0.10.1@sha256:1f8e3c699605590da3f48ace142f46e10c21bbabbcf26864dcc7ad141dc359ab
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/hugo.yaml
valuesinline:
automerge: true

- name: Handle HUGO version in GitHub action
policy: ghcr.io/updatecli/policies/hugo/githubaction:0.11.1@sha256:44ced9f1f19b601502194b9c4d3400efb8cd54ea7ab5008b96902ad8ec931fee
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/hugo.yaml
valuesinline:
automerge: true

- name: Handle NPM version in netlify
policy: ghcr.io/updatecli/policies/npm/netlify:0.11.1@sha256:8fda888dd1e0ec3a4f855817529ece27472bbb77ab59f15dd2ee593df128e284
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/npm.yaml
valuesinline:
automerge: true

- name: NPM autodiscovery
policy: ghcr.io/updatecli/policies/npm/autodiscovery:0.12.1@sha256:ab02848169d584d7510ab974ec4a27309d9737068b1d888df6a8388a3dad26fc
values:
- updatecli/values.d/scm.yaml
- updatecli/values.d/npm.yaml
valuesinline:
automerge: true
groupby: individual
spec:
ignoreversionconstraints: true

- name: Handle Updatecli version in GitHub action
policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.8.1@sha256:48872bbf1a09cfff32ff5ffa07086c20b40d6888c19c36048b18f84bbdad37fe
values:
- updatecli/values.d/scm.yaml

- name: Update Updatecli policies
policy: ghcr.io/updatecli/policies/updatecli/autodiscovery:0.7.0@sha256:6890c4b4093a80063f518101881098fab8211c986481641faaf797a9ad5a31c3
values:
- updatecli/values.d/scm.yaml
valuesinline:
spec:
files:
- "updatecli-compose.yaml"
- "updatecli-compose-release.yaml"
6 changes: 2 additions & 4 deletions updatecli/updatecli.d/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: "docs: update Updatecli cli documentation"
pipelineid: cli_docs

labels:
event: release
monitoring: enable
release: updatecli
monitor: active

actions:
default:
Expand Down Expand Up @@ -39,5 +39,3 @@ targets:
environments:
- name: PATH
scmid: default

version: "0.109.0"
6 changes: 2 additions & 4 deletions updatecli/updatecli.d/installation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: "docs: update Updatecli version throughout the documentation"
pipelineid: updatecli/version

labels:
event: release
monitoring: enable
release: updatecli
monitor: active

actions:
default:
Expand Down Expand Up @@ -48,5 +48,3 @@ targets:
replacepattern: https://github.com/updatecli/updatecli/releases/download/{{ source "updatecli" }}/
scmid: default
sourceid: updatecli

version: 0.109.0
6 changes: 2 additions & 4 deletions updatecli/updatecli.d/jsonschema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ pipelineid: jsonschema
name: "docs: update Updatecli jsonschema"

labels:
event: release
monitoring: enable
release: updatecli
monitor: active

actions:
default:
Expand Down Expand Up @@ -50,5 +50,3 @@ targets:
environments:
- name: PATH
scmid: default

version: 0.109.0
4 changes: 0 additions & 4 deletions updatecli/values.d/compose.yaml

This file was deleted.

1 change: 0 additions & 1 deletion updatecli/values.d/hugo.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions updatecli/values.d/nodejs.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions updatecli/values.d/npm.yaml

This file was deleted.

Loading