Gabriel
5ef2dda31e
Use self-hosted for image build ( #528 )
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-23 17:17:55 +03:00
Gabriel
572ebbf2c7
Fix init redirect state ( #527 )
...
On init, we were redirected to the proper URL, but the page would not
render properly.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-23 17:15:04 +03:00
dependabot[bot]
b5ece196b9
Bump gorm.io/datatypes from 1.2.6 to 1.2.7 ( #526 )
...
Bumps [gorm.io/datatypes](https://github.com/go-gorm/datatypes ) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/go-gorm/datatypes/releases )
- [Commits](https://github.com/go-gorm/datatypes/compare/v1.2.6...v1.2.7 )
---
updated-dependencies:
- dependency-name: gorm.io/datatypes
dependency-version: 1.2.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-23 13:47:00 +03:00
Gabriel
23f92bc335
Add runner install template management ( #525 )
...
* Add template api endpoints
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Added template bypass
Pools and scale sets will automatically migrate to the new template
system for runner install scripts. If a pool or a scale set cannot be
migrate, it is left alone. It is expected that users set a runner install
template manually for scenarios we don't yet have a template for (windows
on gitea for example).
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Integrate templates with pool create/update
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Add webapp integration with templates
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Add unit tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Populate all relevant context fields
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Update dependencies
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Fix lint
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Validate uint
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Add CLI template management
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Some editor improvements and bugfixes
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Fix scale set return values post create
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Fix template websocket events filter
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
---------
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-23 13:46:27 +03:00
Gabriel
0ccb9741fe
Merge pull request #524 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.31.0
...
Bump gorm.io/gorm from 1.30.5 to 1.31.0
2025-09-18 18:49:42 +03:00
dependabot[bot]
bb064452d7
Bump gorm.io/gorm from 1.30.5 to 1.31.0
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.30.5 to 1.31.0.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.5...v1.31.0 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-version: 1.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 06:36:51 +00:00
Gabriel
57aff41b41
Merge pull request #523 from gabriel-samfira/simplify-logic
...
Simplify logic
2025-09-14 11:09:50 +03:00
Gabriel Adrian Samfira
616499e715
Simplify logic
...
This change simplifies the scale down logic a bit. It also make sure we
don't accidentally remove runners that are in the process of being created
when we try to consolidate.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-14 07:44:45 +00:00
Gabriel
7ae962b438
Merge pull request #522 from gabriel-samfira/build-webui
...
Rebuild webui
2025-09-10 09:41:42 +03:00
Gabriel Adrian Samfira
aa7021e67d
Rebuild webui
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-10 06:41:09 +00:00
Gabriel
8ea32df7dd
Merge pull request #521 from cloudbase/dependabot/npm_and_yarn/webapp/npm_and_yarn-f5c1666f0c
...
Bump vite from 7.1.1 to 7.1.5 in /webapp in the npm_and_yarn group across 1 directory
2025-09-10 00:05:47 +03:00
Gabriel
244baec288
Merge pull request #520 from gabriel-samfira/cleanup-and-improvements
...
Cache improvements, db list improvements, cleanup
2025-09-10 00:05:23 +03:00
dependabot[bot]
ed802b68a5
Bump vite in /webapp in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the /webapp directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ).
Updates `vite` from 7.1.1 to 7.1.5
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.1.5
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 20:56:32 +00:00
Gabriel Adrian Samfira
66fd0d51a6
Cache improvements, db list improvements, cleanup
...
This change adds some more cache helper functions, additional tests,
vastly improves memory usage when loading instances and cleans up some
code.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-09 20:52:01 +00:00
Gabriel
6cd687235f
Merge pull request #518 from cloudbase/dependabot/go_modules/golang.org/x/crypto-0.42.0
...
Bump golang.org/x/crypto from 0.41.0 to 0.42.0
2025-09-09 09:32:42 +03:00
Gabriel
08507ddbf9
Merge pull request #519 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.5
...
Bump gorm.io/gorm from 1.30.3 to 1.30.5
2025-09-09 09:32:18 +03:00
dependabot[bot]
63425a1c24
Bump gorm.io/gorm from 1.30.3 to 1.30.5
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.30.3 to 1.30.5.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.3...v1.30.5 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-version: 1.30.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 06:13:42 +00:00
dependabot[bot]
94bee21793
Bump golang.org/x/crypto from 0.41.0 to 0.42.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/crypto/compare/v0.41.0...v0.42.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 06:13:35 +00:00
Gabriel
237397657a
Merge pull request #516 from cloudbase/dependabot/go_modules/golang.org/x/mod-0.28.0
...
Bump golang.org/x/mod from 0.27.0 to 0.28.0
2025-09-08 11:21:49 +03:00
Gabriel
34046be3b9
Merge pull request #515 from cloudbase/dependabot/go_modules/golang.org/x/sync-0.17.0
...
Bump golang.org/x/sync from 0.16.0 to 0.17.0
2025-09-08 11:18:18 +03:00
dependabot[bot]
7a654a277b
Bump golang.org/x/mod from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/mod/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.28.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 08:09:50 +00:00
dependabot[bot]
80e79cff40
Bump golang.org/x/sync from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 08:09:43 +00:00
Gabriel
b45b2767db
Merge pull request #517 from cloudbase/dependabot/go_modules/golang.org/x/oauth2-0.31.0
...
Bump golang.org/x/oauth2 from 0.30.0 to 0.31.0
2025-09-08 11:06:18 +03:00
dependabot[bot]
b744fe6fa6
Bump golang.org/x/oauth2 from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-version: 0.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 06:24:36 +00:00
Gabriel
2c7b150a65
Merge pull request #514 from gabriel-samfira/fix-spa-validation
...
Fix validation for creds and endpoints
2025-09-05 13:07:25 +03:00
Gabriel Adrian Samfira
d6cc20a362
Fix validation for creds and endpoints
...
This change fixes validation for the add credentials and endpoints modals.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-05 09:57:47 +00:00
Gabriel
3612bea990
Merge pull request #513 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.3
...
Bump gorm.io/gorm from 1.30.2 to 1.30.3
2025-09-05 10:17:15 +03:00
dependabot[bot]
c8c1d47936
Bump gorm.io/gorm from 1.30.2 to 1.30.3
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.30.2 to 1.30.3.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.2...v1.30.3 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-version: 1.30.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 06:14:07 +00:00
Gabriel
9ada36f287
Merge pull request #511 from gabriel-samfira/add-runner-div
...
Add runner div to pools and scalesets
2025-09-04 19:42:06 +03:00
Gabriel Adrian Samfira
315601a171
Add runner div to pools and scalesets
...
When there are no runners in pools or scale sets, the runners div still needs
to be rendered and subscribed to runner events.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-09-04 16:25:10 +00:00
Gabriel
aea9126e59
Merge pull request #510 from cloudbase/dependabot/go_modules/github.com/spf13/cobra-1.10.1
...
Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
2025-09-03 09:36:52 +03:00
dependabot[bot]
f78ededb16
Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.9.1 to 1.10.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.9.1...v1.10.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 02:12:44 +00:00
Gabriel
7b0046b614
Merge pull request #509 from cloudbase/dependabot/go_modules/github.com/go-openapi/swag-0.24.1
...
Bump github.com/go-openapi/swag from 0.23.1 to 0.24.1
2025-09-01 21:17:24 +03:00
dependabot[bot]
2a72bc8689
Bump github.com/go-openapi/swag from 0.23.1 to 0.24.1
...
Bumps [github.com/go-openapi/swag](https://github.com/go-openapi/swag ) from 0.23.1 to 0.24.1.
- [Commits](https://github.com/go-openapi/swag/compare/v0.23.1...v0.24.1 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/swag
dependency-version: 0.24.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 11:24:03 +00:00
Gabriel
edbd77ff7a
Merge pull request #508 from gabriel-samfira/small-fixes
...
Some slight cleanup
2025-09-01 01:16:32 +03:00
Gabriel Adrian Samfira
64454f70f1
Some slight cleanup
...
Remove calls to github after creating a runner. It just adds overhead
for very little benefit.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-31 21:58:42 +00:00
Gabriel
468b16828d
Merge pull request #507 from gabriel-samfira/validate-update-modal
...
Validate update pool/scaleset
2025-08-28 21:26:20 +03:00
Gabriel Adrian Samfira
edb25c6fe8
Validate update pool/scaleset
...
Validate if min idle runners > max runners in the update forms.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-28 18:18:32 +00:00
Gabriel
9201f36121
Merge pull request #506 from gabriel-samfira/scaleset-fixes
...
Scale sets stability fixes
2025-08-28 15:03:07 +03:00
Gabriel Adrian Samfira
62a038f6a1
Scale sets stability fixes
...
This change adds a number of fixes for scale sets:
* Reset last message ID when we need to recreate the scale set in GitHub.
Message ID gets reset in github when this happens and we end up ignoring
messages because we see that they are older than we have recorded.
* Clean up deleted instances from state scale set state
* Properly stop instance handler in the provider worker when an update
operation comes in that signals that an instance has been marked as "deleted"
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-28 11:53:40 +00:00
Gabriel
d2ff2ab6e1
Merge pull request #504 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.2
...
Bump gorm.io/gorm from 1.30.1 to 1.30.2
2025-08-28 12:30:33 +03:00
Gabriel
fc63ed849b
Merge pull request #505 from cloudbase/dependabot/go_modules/github.com/stretchr/testify-1.11.1
...
Bump github.com/stretchr/testify from 1.11.0 to 1.11.1
2025-08-28 12:30:19 +03:00
dependabot[bot]
5e38b816e3
Bump github.com/stretchr/testify from 1.11.0 to 1.11.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-version: 1.11.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 08:42:01 +00:00
dependabot[bot]
5840a1bb11
Bump gorm.io/gorm from 1.30.1 to 1.30.2
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.30.1 to 1.30.2.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.1...v1.30.2 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-version: 1.30.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 07:53:16 +00:00
Gabriel
cef85036b1
Merge pull request #503 from gabriel-samfira/fix-update-scalesets
...
Fix scale set update
2025-08-28 00:08:25 +03:00
Gabriel Adrian Samfira
35e47aa2db
Fix scale set update
...
Same as previous commit made to fix pools, but this one addresses
scalesets.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 21:00:24 +00:00
Gabriel
f66c2ca01e
Merge pull request #502 from gabriel-samfira/fix-edit-pool
...
Fix pool edit from pool list
2025-08-27 22:57:32 +03:00
Gabriel Adrian Samfira
2f7526747d
Fix pool edit from pool list
...
When clicking on the edit button in the pools list, the modal would list
all the pool details except the extra specs. This is expected because when
listing the pools, we omit extra_specs. This can lead to accidentally overwriting
the extra specs for a pool.
This change fetches the entire pool data from the GARM API when clicking
on the edit button in the pools list.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 19:43:34 +00:00
Gabriel
a02cad769b
Merge pull request #500 from gabriel-samfira/update-devalue
...
Update dependency
2025-08-27 17:19:31 +03:00
Gabriel Adrian Samfira
4c7f471610
Update dependency
...
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 14:06:57 +00:00