Copy the the frontend e2e folder to the docker container so that it is also checked with linters
Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
Refactor make variables for build tags to allow multiple tags to be
enabled in the Makefile.
Allow custom build tags to be defined with respective make variables.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This patch changes the default value of
`common.Repository.ConformMaximumOfOneCommit` from `false` to `true`.
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
By setting a default as `scratch` we silence the docker annoying warnings, this also ensures that an override is set from makefile.
Signed-off-by: Noel Georgi <git@frezbo.dev>
Using `needsOverride`, we can now define a custom dependency graph in the gh workflow jobs of custom steps.
An example: an integration test takes a long time, occupies a build runner: do not run them in parallel with `unit-tests` and `lint`, and make it depend on them instead.
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
Add a custom condition to limit push-latest.
Kres-generated push-latest is already correctly limited to main branch.
Signed-off-by: Andrey Smirnov <andrey.smirnov@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>
It might be that we create the target, but never consume it.
Ensure that the context is only enforced if lint is active.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
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>
Previously it was attached to the `base`, so it got into steps like
`golangci-lint` which don't care about it, but also it gets exported
back to the source tree via `make lint-golangci-lint-fmt`.
Re-attach it to the build step (where we actually need it).
Another solution is to make it part of `make generate` and keep it part
of the source tree.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Extend remote URL regex to handle generic git hosts, not only github.com.
Now DetectGit works for any host with a standard URL format,
while still restricting config generation to GitHub repos when required.
Signed-off-by: Misha Chichvarin <desertfury@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
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>