Utku Ozdemir
2fe716d2c9
chore: enable go linting for build tags, fix linting errors
...
Add the build tags we were using, `integration` and `tools`, to be included in the linting/formatting of golangci-lint.
Rename the build tag `tools` to `sidero.tools` to avoid colliding with the same named build tag in `github.com/johannesboyne/gofakes3` package - otherwise the dependency was failing to compile due to having multiple package names in the same package.
Fix all the linting errors surfaced by this enablement.
Also, temporarily re-enabled `nolintlint` to find the nolint directives which were no longer necessary and removed them.
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2026-04-29 21:18:45 +02:00
Edward Sammut Alessi
a566261b91
feat(frontend): allow specifying date range for audit logs
...
Replace the audit log download button with a modal which includes a date range for filtering to keep file sizes down. Includes a warning if trying to download logs for longer than 7 days. Modal includes a bytes downloaded indicator to convey progres. Download is canceled if modal is closed.
Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
2026-03-10 11:23:21 +01:00
Utku Ozdemir
30d17dcf6d
chore: update Go to 1.26 in go.mod, rekres, fix linting issues
...
Update Go in go.mod to keep it consistent with the value in the Makefile (the actual Go version the project is built with).
It kicks in some new linters, causes linters to change behavior. Reformat and fix all those linting issues.
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2026-02-13 10:58:59 +01:00
Orzelius
aafc74f958
chore: update packages
...
* update client image-factory import
* update machinery package and fix test error assertions
* remove use of deprecated machineConfig.MachineEnv
Signed-off-by: Orzelius <33936483+Orzelius@users.noreply.github.com>
2026-01-26 22:54:54 +09:00
Pranav Patil
de6e2c66f7
refactor: make namespace implicit in omni resources
...
Refactor for code simplicity.
Signed-off-by: Pranav Patil <pranavppatil767@gmail.com>
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2026-01-12 12:54:11 +01:00
Pranav Patil
9503f850cc
refactor: make namespace implicit in siderolink resources
...
Refactor for code simplicity.
Signed-off-by: Pranav Patil <pranavppatil767@gmail.com>
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2026-01-12 10:42:29 +01:00
Edward Sammut Alessi
a973a7a3fa
fix: fix typos across the project
...
Fix typos across the project
Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
2025-11-17 10:35:16 +01:00
Andrey Smirnov
75a9f3ee9f
feat: use sqlite as secondary resource storage
...
This pulls in https://github.com/cosi-project/state-sqlite/pull/2
Fixes https://github.com/siderolabs/omni/issues/1770
See https://github.com/siderolabs/omni/issues/1768
Sample migration logs:
```
2025-11-05T11:18:47.340Z ESC[34mINFOESC[0m omni/state_sqlite.go:122 migrated resources from BoltDB to SQLite {"namespace": "metrics"
, "type": "EtcdBackupOverallStatuses.omni.sidero.dev", "count": 1}
2025-11-05T11:18:47.340Z ESC[34mINFOESC[0m omni/state_sqlite.go:122 migrated resources from BoltDB to SQLite {"namespace": "metrics"
, "type": "EtcdBackupStatuses.omni.sidero.dev", "count": 0}
2025-11-05T11:18:47.342Z ESC[34mINFOESC[0m omni/state_sqlite.go:122 migrated resources from BoltDB to SQLite {"namespace": "metrics"
, "type": "MachineStatusLinks.omni.sidero.dev", "count": 2}
2025-11-05T11:18:47.342Z ESC[34mINFOESC[0m omni/state_sqlite.go:67 removed old BoltDB database after migration {"path": "_out/secondary-storag
e/bolt.db"}
```
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-11-05 15:40:24 +04:00
Utku Ozdemir
d0c8b1666b
chore: bump Talos to 1.11.3, reorder CI workflow jobs
...
Make unit tests and lint run before the integration tests.
Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2025-10-17 13:30:35 +02:00
Oguz Kilcan
eaa97c6117
chore: move image package to client
...
chromatic / Run chromatic (push) Has been cancelled
default / default (push) Has been cancelled
default / e2e-backups (push) Has been cancelled
default / e2e-cluster-import (push) Has been cancelled
default / e2e-forced-removal (push) Has been cancelled
default / e2e-omni-upgrade (push) Has been cancelled
default / e2e-scaling (push) Has been cancelled
default / e2e-short (push) Has been cancelled
default / e2e-short-secureboot (push) Has been cancelled
default / e2e-templates (push) Has been cancelled
default / e2e-upgrades (push) Has been cancelled
default / e2e-workload-proxy (push) Has been cancelled
default / integration-test (push) Has been cancelled
default / lint (push) Has been cancelled
default / unit-tests (push) Has been cancelled
Move image package to client because it's now used both omni and omni/client
Signed-off-by: Oguz Kilcan <oguz.kilcan@siderolabs.com>
2025-10-15 16:49:02 +02:00
Oguz Kilcan
0d58ade7bf
feat: implement cluster import
...
Allow importing existing talos cluster to Omni using `omnictl cluster import`
Closes : #1315
Signed-off-by: Oguz Kilcan <oguz.kilcan@siderolabs.com>
2025-10-14 17:01:07 +02:00