Skip to content

Commit ece4726

Browse files
committed
Test CI with bugfix in Helm
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
1 parent 809fda2 commit ece4726

File tree

1,967 files changed

+122846
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,967 files changed

+122846
-5
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ COPY api/ api/
1919
# copy modules manifests
2020
COPY go.mod go.mod
2121
COPY go.sum go.sum
22+
COPY helm/ helm/
2223

2324
# cache modules
2425
RUN go mod download

go.mod

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ replace (
1414
sigs.k8s.io/kustomize/kyaml => sigs.k8s.io/kustomize/kyaml v0.20.1
1515
)
1616

17+
// Just checking if CI passes with my bugfix: https://github.com/helm/helm/pull/31730
18+
replace helm.sh/helm/v4 => ./helm
19+
1720
require (
1821
github.com/Masterminds/semver/v3 v3.4.0
1922
github.com/fluxcd/cli-utils v0.37.0-flux.1
@@ -201,7 +204,7 @@ require (
201204
go.uber.org/multierr v1.11.0 // indirect
202205
go.yaml.in/yaml/v2 v2.4.3 // indirect
203206
go.yaml.in/yaml/v3 v3.0.4 // indirect
204-
golang.org/x/crypto v0.46.0 // indirect
207+
golang.org/x/crypto v0.47.0 // indirect
205208
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b // indirect
206209
golang.org/x/net v0.48.0 // indirect
207210
golang.org/x/oauth2 v0.33.0 // indirect

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
493493
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
494494
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
495495
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
496-
golang.org/x/crypto v0.46.0 h1:cKRW/pmt1pKAfetfu+RCEvjvZkA9RimPbh7bhFjGVBU=
497-
golang.org/x/crypto v0.46.0/go.mod h1:Evb/oLKmMraqjZ2iQTwDwvCtJkczlDuTmdJXoZVzqU0=
496+
golang.org/x/crypto v0.47.0 h1:V6e3FRj+n4dbpw86FJ8Fv7XVOql7TEwpHapKoMJ/GO8=
497+
golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A=
498498
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b h1:DXr+pvt3nC887026GRP39Ej11UATqWDmWuS99x26cD0=
499499
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4=
500500
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
@@ -570,8 +570,6 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
570570
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
571571
gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o=
572572
gotest.tools/v3 v3.4.0/go.mod h1:CtbdzLSsqVhDgMtKsx03ird5YTGB3ar27v0u/yKBW5g=
573-
helm.sh/helm/v4 v4.1.0-rc.1 h1:mX+aKugIiRixRAPoaRMU3bFrWNoCPr2WfRv6aKsDFUA=
574-
helm.sh/helm/v4 v4.1.0-rc.1/go.mod h1:yH4qpYvTNBTHnkRSenhi1m7oEFKoN6iK3/rYyFJ00IQ=
575573
k8s.io/api v0.35.0 h1:iBAU5LTyBI9vw3L5glmat1njFK34srdLmktWwLTprlY=
576574
k8s.io/api v0.35.0/go.mod h1:AQ0SNTzm4ZAczM03QH42c7l3bih1TbAXYo0DkF8ktnA=
577575
k8s.io/apiextensions-apiserver v0.35.0 h1:3xHk2rTOdWXXJM+RDQZJvdx0yEOgC0FgQ1PlJatA5T4=
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Bug Report
2+
description: Report a bug encountered in Helm
3+
labels: kind/bug
4+
body:
5+
- type: textarea
6+
id: problem
7+
attributes:
8+
label: What happened?
9+
description: |
10+
Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
id: expected
16+
attributes:
17+
label: What did you expect to happen?
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: repro
23+
attributes:
24+
label: How can we reproduce it (as minimally and precisely as possible)?
25+
description: |
26+
Please list steps someone can follow to trigger the issue.
27+
28+
For example:
29+
1. Run `helm install mychart ./path-to-chart -f values.yaml --debug`
30+
2. Observe the following error: ...
31+
32+
You can include:
33+
- a sample `values.yaml` block
34+
- a link to a chart
35+
- specific `helm` commands used
36+
37+
This helps others reproduce and debug your issue more effectively.
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: helmVersion
43+
attributes:
44+
label: Helm version
45+
value: |
46+
<details>
47+
48+
```console
49+
$ helm version
50+
# paste output here
51+
```
52+
</details>
53+
validations:
54+
required: true
55+
56+
- type: textarea
57+
id: kubeVersion
58+
attributes:
59+
label: Kubernetes version
60+
value: |
61+
<details>
62+
63+
```console
64+
$ kubectl version
65+
# paste output here
66+
```
67+
68+
</details>
69+
validations:
70+
required: true
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Documentation
2+
description: Report any mistakes or missing information from the documentation or the examples
3+
labels: kind/documentation
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
⚠️ **Note**: Most documentation lives in [helm/helm-www](https://github.com/helm/helm-www).
9+
If your issue is about Helm website documentation or examples, please [open an issue there](https://github.com/helm/helm-www/issues/new/choose).
10+
11+
- type: textarea
12+
id: feature
13+
attributes:
14+
label: What would you like to be added?
15+
description: |
16+
Link to the issue (please include a link to the specific documentation or example).
17+
Link to the issue raised in [Helm Documentation Improvement Proposal](https://github.com/helm/helm-www)
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: rationale
23+
attributes:
24+
label: Why is this needed?
25+
validations:
26+
required: true
27+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Enhancement/feature
2+
description: Provide supporting details for a feature in development
3+
labels: kind/feature
4+
body:
5+
- type: textarea
6+
id: feature
7+
attributes:
8+
label: What would you like to be added?
9+
description: |
10+
Feature requests are unlikely to make progress as issues.
11+
Initial discussion and ideas can happen on an issue.
12+
But significant changes or features must be proposed as a [Helm Improvement Proposal](https://github.com/helm/community/blob/main/hips/hip-0001.md) (HIP)
13+
validations:
14+
required: true
15+
16+
- type: textarea
17+
id: rationale
18+
attributes:
19+
label: Why is this needed?
20+
validations:
21+
required: true

helm/.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: 2
2+
3+
updates:
4+
- # Keep dev-v3 branch dependencies up to date, while Helm v3 is within support
5+
package-ecosystem: "gomod"
6+
target-branch: "dev-v3"
7+
directory: "/"
8+
schedule:
9+
interval: "daily"
10+
groups:
11+
k8s.io:
12+
patterns:
13+
- "k8s.io/api"
14+
- "k8s.io/apiextensions-apiserver"
15+
- "k8s.io/apimachinery"
16+
- "k8s.io/apiserver"
17+
- "k8s.io/cli-runtime"
18+
- "k8s.io/client-go"
19+
- "k8s.io/kubectl"
20+
- package-ecosystem: "gomod"
21+
target-branch: "main"
22+
directory: "/"
23+
schedule:
24+
interval: "daily"
25+
groups:
26+
k8s.io:
27+
patterns:
28+
- "k8s.io/api"
29+
- "k8s.io/apiextensions-apiserver"
30+
- "k8s.io/apimachinery"
31+
- "k8s.io/apiserver"
32+
- "k8s.io/cli-runtime"
33+
- "k8s.io/client-go"
34+
- "k8s.io/kubectl"
35+
- package-ecosystem: "github-actions"
36+
target-branch: "main"
37+
directory: "/"
38+
schedule:
39+
interval: "daily"

helm/.github/env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
GOLANG_VERSION=1.25
2+
GOLANGCI_LINT_VERSION=v2.5.0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- Thanks for sending a pull request! Here are some tips for you:
2+
1. Make sure to read the Contributing Guide before submitting your PR: https://github.com/helm/helm/blob/main/CONTRIBUTING.md
3+
2. If this PR closes another issue, add 'closes #<issue number>' somewhere in the PR summary. GitHub will automatically close that issue when this PR gets merged. Alternatively, adding 'refs #<issue number>' will not close the issue, but help provide the reviewer more context.-->
4+
5+
**What this PR does / why we need it**:
6+
7+
**Special notes for your reviewer**:
8+
9+
**If applicable**:
10+
- [ ] this PR contains user facing changes (the `docs needed` label should be applied if so)
11+
- [ ] this PR contains unit tests
12+
- [ ] this PR has been tested for backwards compatibility
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: build-test
2+
on:
3+
push:
4+
branches:
5+
- "main"
6+
- "dev-v3"
7+
- "release-**"
8+
pull_request:
9+
branches:
10+
- "main"
11+
- "dev-v3"
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout source code
21+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # pin@v6.0.1
22+
- name: Add variables to environment file
23+
run: cat ".github/env" >> "$GITHUB_ENV"
24+
- name: Setup Go
25+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # pin@6.2.0
26+
with:
27+
go-version: '${{ env.GOLANG_VERSION }}'
28+
check-latest: true
29+
- name: Test source headers are present
30+
run: make test-source-headers
31+
- name: Check if go modules need to be tidied
32+
run: go mod tidy -diff
33+
- name: Run unit tests
34+
run: make test-coverage
35+
- name: Test build
36+
run: make build

0 commit comments

Comments
 (0)