Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update subcharts and release config #222

Merged
merged 1 commit into from
Sep 13, 2024
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
9 changes: 0 additions & 9 deletions Chart.lock

This file was deleted.

8 changes: 4 additions & 4 deletions charts/woodpecker/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: server
repository: ""
version: 1.0.0
version: 1.0.1
- name: agent
repository: ""
version: 0.3.0
digest: sha256:5f6be6fdc9fc5d2012bfa9f843f73faae901c8541fc07c713dff5ad2cc2dc75e
generated: "2024-02-15T20:14:00.795465+01:00"
version: 0.3.1
digest: sha256:814062a80d8b2fea1fede9b7cce3fd75204377fd96147e3e573e3fc0ce2136a4
generated: "2024-09-12T15:19:06.065499+02:00"
4 changes: 2 additions & 2 deletions charts/woodpecker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ sources:

dependencies:
- name: server
version: 1.0.0
version: 1.0.1
condition: server.enabled
- name: agent
version: 0.3.0
version: 0.3.1
condition: agent.enabled
2 changes: 1 addition & 1 deletion charts/woodpecker/charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: agent
description: A Helm chart for the Woodpecker agent
type: application
version: 0.3.0
version: 0.3.1
# renovate: datasource=github-releases depName=woodpecker-ci/woodpecker extractVersion=^v(?<version>.*)$
appVersion: 2.7.1
home: https://woodpecker-ci.org/
Expand Down
2 changes: 1 addition & 1 deletion charts/woodpecker/charts/server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: server
description: A Helm chart for the Woodpecker server
type: application
version: 1.0.0
version: 1.0.1
# renovate: datasource=github-releases depName=woodpecker-ci/woodpecker extractVersion=^v(?<version>.*)$
appVersion: 2.7.1
home: https://woodpecker-ci.org/
Expand Down
4 changes: 2 additions & 2 deletions release-config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export default {
commentOnReleasedPullRequests: false,
beforePrepare: async ({ exec, nextVersion }) => {
await exec(`apt update && apt-get install -y git curl`);
await exec(`apt update && apt-get install -y -q git curl`);
await exec(`curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash`);
await exec(`sed -i "s/^version:.*$/version: ${nextVersion}/g" charts/woodpecker/Chart.yaml`);
await exec('helm dependency update');
await exec('helm dependency update charts/woodpecker/');
await exec(
'git add charts/woodpecker/Chart.yaml charts/woodpecker/charts/agent/Chart.yaml charts/woodpecker/charts/server/Chart.yaml',
);
Expand Down