Commit graph

1249 commits

Author SHA1 Message Date
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]
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
Gabriel
29f2e2a2b9
Merge pull request #499 from gabriel-samfira/better-cli-log-formatting
Make the debug-log command more useful
2025-08-27 16:27:33 +03:00
Gabriel Adrian Samfira
0faeee703d Make the debug-log command more useful
The debug-log command now supports log level filtering and attribute
filtering. The log level filtering will only be able to set the minimum
log level as low as the server is configured to stream. If the server has
its log level set as INFO, then setting the log level in the CLI to DEBUG
will have no effect.

But anything above what the server sends, is within the control of the client
to filter. This is all done client side.

Attribute filters are useful if you need to watch the logs for a particular
worker, entity, etc.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 13:21:56 +00:00
Gabriel
e3a9fe7026
Merge pull request #498 from gabriel-samfira/preload-more-info
Preload more info for entity pools
2025-08-27 12:27:04 +03:00
Gabriel Adrian Samfira
9ef4566cae Preload more info for entity pools
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-27 09:14:45 +00:00
Gabriel
e79a5c1d50
Merge pull request #496 from cloudbase/dependabot/go_modules/github.com/stretchr/testify-1.11.0
Bump github.com/stretchr/testify from 1.10.0 to 1.11.0
2025-08-25 19:35:17 +03:00
Gabriel
89fecd9dcd
Merge pull request #497 from gabriel-samfira/fix-double-pool
Fix double creation of pools
2025-08-25 19:18:07 +03:00
Gabriel Adrian Samfira
6fee10c737 Fix double creation of pools
This change fixes the creation of pools though the UI. Both the modal and
the page were sending a request to create the pool, leading to double pool.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-25 16:12:01 +00:00
dependabot[bot]
642b3bbf92
Bump github.com/stretchr/testify from 1.10.0 to 1.11.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 11:54:27 +00:00
Gabriel
1fceec374d
Merge pull request #495 from gabriel-samfira/caching-and-fixes
Attempt to use the scalset API and caching
2025-08-25 01:45:46 +03:00
Gabriel Adrian Samfira
d05df36868 Attempt to use the scalset API and caching
On github, attempt to use the scaleset API to list all runners without
pagination. This will avoid missing runners and accidentally removing them.

Fall back to paginated API if we can't use the scaleset API.

Add ability to retrieve all instances from cache, for an entity.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-24 22:36:44 +00:00
Gabriel
5c703f310b
Merge pull request #494 from gabriel-samfira/small-fixes
Small fixes
2025-08-24 11:53:21 +03:00
Gabriel Adrian Samfira
86a0b0cf4f Small fixes
* Shut down the web server first to prevent errors caused by clients trying
to use functionality that has already been shut down, causing errors and
potentially delaying the shutdown process.
* remove write timeout from the websocket Write() function.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-24 08:35:17 +00:00
Gabriel
5a26614acf
Merge pull request #493 from gabriel-samfira/ensure-scale-set
Ensure scale set exists
2025-08-23 22:12:30 +03:00
Gabriel Adrian Samfira
39003f006a Ensure scale set exists
Github will remove inactive scale sets after 7 days. This change
ensures the scale set exists in github before spinning up the listener.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-23 18:55:08 +00:00
Gabriel
c48bb50f2a
Merge pull request #492 from gabriel-samfira/add-webui-tests
Add webui tests
2025-08-22 00:18:57 +03:00
Gabriel Adrian Samfira
54c6571ccd Update test workflow
Add steps to test the Web UI and to run go generate.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-21 21:00:27 +00:00
Gabriel Adrian Samfira
8d5c6b6738 Bump go version to 1.24.6 and run go generate
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-21 20:36:50 +00:00
Gabriel Adrian Samfira
48769587bb Add web UI tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-21 20:36:50 +00:00
Gabriel
9aa2e297b9
Merge pull request #491 from igrikus/main
fix(jobs): Correctly handle workflow job IDs from webhooks
2025-08-21 22:04:35 +03:00
Gabriel Adrian Samfira
4341b4869c Fix erroneous calls to Job related functions
Some functions were left behind when we added WorkflowJobID.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-08-21 18:57:42 +00:00