- Add valuesFiles option to HelmTemplate config for passing additional values files to helm template command
- Remove redundant -f values.yaml flag from helm template (chart's default values.yaml is used automatically)
- Remove --template-files flag with typo from helm-docs (default README.md.gotmpl is correct)
- Add buildx setup step to helm workflow to fix CI hang (was missing remote buildkit driver)
- Extract SetupBuildxStep() to avoid code duplication
- Add test helm chart to validate helm CI flow
- Fix the workdir of helm-docs
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
Allow defining GH Action Workflow jobs as dispatchable
meaning they will run only on a workflow_dispatch event.
Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
Support `workflow_dispatch` trigger for GitHub actions.
Allow overriding `on` for custom jobs.
Also bump dependencies.
Signed-off-by: Noel Georgi <git@frezbo.dev>
Use runner groups for GitHub action to work with GHA runner scale sets.
Support `string`, `array` and `object` types for `runs-on` github action workflow syntax.
Signed-off-by: Noel Georgi <git@frezbo.dev>
Rollback `kenchan0130/actions-system-info` to v1.3.1 from v1.4.0.
Reason for this is: with v1.4.0 this action started using `node` 24 and this was causing intermittent issues on CI runs.
Signed-off-by: Oguz Kilcan <oguz.kilcan@siderolabs.com>
Bump deps:
- Go to 1.25.0
- golangci-lint to 2.4.0
- goimports to 0.36.0
- node container image to 24-alpine
- oven/bun container image to 1.2.20-alpine
- google.golang.org/protobuf/cmd/protoc-gen-go to v1.36.7
- golang.org/x/mod to v0.27.0
- github.com/siderolabs/deep-copy to v0.5.8
- github.com/siderolabs/gen to v0.8.5
- github.com/siderolabs/pkgs to v1.11.0
- actions/checkout to v5
- kenchan0130/actions-system-info to v1.4.0
Signed-off-by: Oguz Kilcan <oguz.kilcan@siderolabs.com>
* Report failed CI runs for main and scheduled jobs to a customizable slack channel
* Validate slack notify payload structure
* kres self
Signed-off-by: Oguz Kilcan <oguz.kilcan@siderolabs.com>
There was a missing `cd _out` which breaks it.
Also use `--output-signature` flag, as `--output` got deprecated.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Borrow the configuration/flow from Talos repo, where these flows run for
a long time and pretty successfully manage stale issues/discussions/PRs.
To disable it, use the following in `.kres.yaml`:
```yaml
kind: common.Repository
spec:
skipStaleWorkflow: true
```
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Only set `BUILDKIT_MULTI_PLATFORM` when an image is being generated.
Revert all other hacks.
Also fix renovate config to ignore github action yamls and `Dockerfile`
since it's managed by kres.
Signed-off-by: Noel Georgi <git@frezbo.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Support managing only GitHub workflows.
This still handles SOPS, conform and repository checks.
Can be enabled with:
```yaml
---
kind: auto.CI
spec:
compileGHWorkflowsOnly: true
```
Signed-off-by: Noel Georgi <git@frezbo.dev>
Use the official codecov action, since the bash script is deprecated.
Also set a timeout on upload so we don't block other steps for too long.
Signed-off-by: Noel Georgi <git@frezbo.dev>
- buildkit to v0.13.1
- github.com/siderolabs/gen to v0.4.8
- golangci-lint to v1.57.0
- run golangci-lint config verify before linting to ensure that we have proper schema
- fix sections in .golangci.yml
- remove `skip-***` from `run` section
- redo `run.format` to `run.formats`
- removed disabled linters configuration
- fix `gci` configuration
- fix `unused` configuration
- small fixes
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
Looking logs I suspect this is just something to do with IPv6. So
explicitly use IPv4 address when connecting.
Signed-off-by: Noel Georgi <git@frezbo.dev>
The GH action step "Set up Docker Buildx" sometimes hangs. As it is either instantaneous or hangs forever, better fail if it does not complete in 1 minute.
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>