Skip to content

Commit

Permalink
feat: use Updatecli compose file
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Vernin <[email protected]>
  • Loading branch information
olblak committed Nov 20, 2024
1 parent 3ebd7ab commit 410d8c7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
private_key: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}
- name: "Run updatecli"
if: github.ref == 'refs/heads/main'
run: "updatecli apply --config ./updatecli/updatecli.d --experimental"
run: "updatecli compose apply"
env:
UPDATECLI_GITHUB_ACTOR: ${{ secrets.UPDATECLI_BOT_GITHUB_ACTOR }}
UPDATECLI_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
9 changes: 9 additions & 0 deletions updatecli-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
policies:
- name: Update Updatecli policies
policy: ghcr.io/updatecli/policies/updatecli/autodiscovery:0.5.0@sha256:947817644fb89e27f7b7121b822328c2d47364c7a3a08241e4d2ac1a5897020c
values:
- updatecli/values.d/scm.yaml
- name: Update Helm charts
policy: ghcr.io/updatecli/policies/autodiscovery/helm:0.6.0
values:
- updatecli/values.d/scm.yaml
31 changes: 0 additions & 31 deletions updatecli/updatecli.d/default.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions updatecli/values.d/scm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
scm:
commitusingapi: true
enabled: true
user: updatecli
email: [email protected]
owner: updatecli
repository: charts
username: "updatecli"
branch: main

0 comments on commit 410d8c7

Please sign in to comment.