Commit graph

1144 commits

Author SHA1 Message Date
Gabriel
daadad682b
Merge pull request #468 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.1
Bump gorm.io/gorm from 1.30.0 to 1.30.1
2025-07-24 09:55:44 +03:00
dependabot[bot]
f4892be193
Bump gorm.io/gorm from 1.30.0 to 1.30.1
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.30.0 to 1.30.1.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.0...v1.30.1)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-version: 1.30.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-24 06:47:05 +00:00
Gabriel
e687565671
Merge pull request #467 from cloudbase/dependabot/go_modules/github.com/cloudbase/garm-provider-common-0.1.6
Bump github.com/cloudbase/garm-provider-common from 0.1.5 to 0.1.6
2025-07-21 11:45:24 +03:00
dependabot[bot]
567c465ad7
Bump github.com/cloudbase/garm-provider-common from 0.1.5 to 0.1.6
Bumps [github.com/cloudbase/garm-provider-common](https://github.com/cloudbase/garm-provider-common) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/cloudbase/garm-provider-common/releases)
- [Commits](https://github.com/cloudbase/garm-provider-common/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: github.com/cloudbase/garm-provider-common
  dependency-version: 0.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 07:58:08 +00:00
Gabriel
f1fed3c462
Merge pull request #466 from gabriel-samfira/update-docs-and-defaults
Update docs and deprecate the --all flag
2025-07-20 23:38:50 +03:00
Gabriel Adrian Samfira
80735ac2eb Update docs and deprecate the --all flag
Update the docs to reflect the latest stable version and deprecate the
--all flag for runner list and pool list.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-20 20:31:56 +00:00
Gabriel
bb45324dcd
Merge pull request #459 from gabriel-samfira/account-for-job-id
Handle new jobID for scale sets
2025-07-18 11:39:06 +03:00
Gabriel Adrian Samfira
a984782fd7 Handle new jobID for scale sets
There seems to be a change in the scale set message. It now includes
a jobID and sets the runner request ID to 0. This change adds separate
job ID fields for workflow jobs and scaleset jobs.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-18 08:20:50 +00:00
Gabriel
d26973da2a
Merge pull request #458 from gabriel-samfira/fix-scaleset-param
Fix scale set param
2025-07-17 20:06:14 +03:00
Gabriel Adrian Samfira
69779a0a7d Fix scale set param
Do not look for a name when composing the scale set. Preload may not
have been called on an entity, but we still have the ID, which is the
only thing needed when GetEntity() is called.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-17 17:01:20 +00:00
Gabriel
c95252547e
Merge pull request #454 from gabriel-samfira/fix-encoding
Handle query args
2025-07-16 17:52:02 +03:00
Gabriel
d17b168b4e
Merge pull request #453 from cloudbase/dependabot/go_modules/github.com/golang-jwt/jwt/v5-5.2.3
Bump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.2.3
2025-07-16 10:36:26 +03:00
dependabot[bot]
a46c474640
Bump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.2.3
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.2...v5.2.3)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-version: 5.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 06:41:38 +00:00
Gabriel Adrian Samfira
65d6d1ae87 Handle query args
Merge any query args from both the GH url and the supplied URL.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-16 06:39:46 +00:00
Gabriel
78547fefaa
Merge pull request #450 from cloudbase/dependabot/go_modules/golang.org/x/mod-0.26.0
Bump golang.org/x/mod from 0.25.0 to 0.26.0
2025-07-11 14:48:26 +03:00
dependabot[bot]
0cc51e48ef
Bump golang.org/x/mod from 0.25.0 to 0.26.0
---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 09:34:59 +00:00
Gabriel
86b8ac9e94
Merge pull request #451 from cloudbase/dependabot/go_modules/golang.org/x/crypto-0.40.0
Bump golang.org/x/crypto from 0.39.0 to 0.40.0
2025-07-11 12:33:37 +03:00
dependabot[bot]
f9b1b26f80
Bump golang.org/x/crypto from 0.39.0 to 0.40.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 06:28:17 +00:00
Gabriel
19e025c2be
Merge pull request #448 from gabriel-samfira/fix-sleep
Fix sleepWithCancel and ensure closed channel
2025-07-07 08:02:32 +03:00
Gabriel Adrian Samfira
b23bca73bc Fix sleepWithCancel and ensure closed channel
* time.NewTicker will panic if the duration is 0. Make it return
early if duration is 0.
* Return a pre-closed channel in Wait() instead of nil. Ensures receiver
will not block forever.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-07 04:54:10 +00:00
Gabriel
20d4e68fd4
Merge pull request #447 from gabriel-samfira/fix-makefile
Use the -v flag on podman only
2025-07-07 00:26:46 +03:00
Gabriel Adrian Samfira
6ae3b25b4d Use the -v flag on podman only
Docker does not support the --volume flag at build time. This needs
to be done in the Dockerfile directly on the RUN stanza. Will update
in a future PR, until then, just set the flag for podman.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-06 21:17:31 +00:00
Gabriel
e14f3858ef
Merge pull request #446 from gabriel-samfira/fix-url-composition
Use JoinPath() and relative paths
2025-07-06 22:56:35 +03:00
Gabriel Adrian Samfira
18902f884a Use JoinPath() and relative paths
Use JoinPath() in newActionsRequest() and make sure we pass relative
paths to it. This should fix scale sets on GHES.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-06 19:22:43 +00:00
Gabriel
379c39095e
Merge pull request #444 from chickenkiller/fix-podman
improve usability of podman in Makefile
2025-07-02 15:15:16 +03:00
Lionel ORRY
3853f8bd94 improve usability of podman in Makefile 2025-07-02 14:04:41 +02:00
Gabriel
9f5cf64542
Merge pull request #441 from cloudbase/dependabot/go_modules/gorm.io/datatypes-1.2.6
Bump gorm.io/datatypes from 1.2.5 to 1.2.6
2025-07-01 12:50:30 +03:00
dependabot[bot]
7c8241579d
Bump gorm.io/datatypes from 1.2.5 to 1.2.6
Bumps [gorm.io/datatypes](https://github.com/go-gorm/datatypes) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/go-gorm/datatypes/releases)
- [Commits](https://github.com/go-gorm/datatypes/compare/v1.2.5...v1.2.6)

---
updated-dependencies:
- dependency-name: gorm.io/datatypes
  dependency-version: 1.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 09:02:05 +00:00
Gabriel
25e7befa08
Merge pull request #440 from gabriel-samfira/forward-port-439
Set http transport config
2025-06-27 11:27:48 +03:00
Gabriel Adrian Samfira
529ce8b7a8 Set http transport config
This change sets the github client http transport options to mirror those
of the default transport from Go, with the addition of the TLSClientConfig.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-06-27 08:19:45 +00:00
Gabriel
42839917f3
Merge pull request #437 from gabriel-samfira/several-fixes
Some cleanup
2025-06-21 20:54:03 +03:00
Gabriel Adrian Samfira
1ec99e8695 Some cleanup
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-06-21 17:31:26 +00:00
Gabriel
6c104b6ece
Merge pull request #432 from gabriel-samfira/use-friendly-names
Allow usage of friendly names in most commands
2025-06-21 20:15:14 +03:00
Gabriel Adrian Samfira
808af82e0d Add endpoint option to all relevant commands
In case of ambiguity when using the name of a repo, org or enterprise,
an --endpoint flag can be used to uniquely identify an entity against
an endpoint.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-06-21 17:05:22 +00:00
Gabriel
7c2086bc64
Merge pull request #436 from cloudbase/dependabot/go_modules/github.com/cloudbase/garm-provider-common-0.1.5
Bump github.com/cloudbase/garm-provider-common from 0.1.5-0.20250417155201-8ef03502d06e to 0.1.5
2025-06-20 14:08:02 +03:00
dependabot[bot]
ed924e8034
Bump github.com/cloudbase/garm-provider-common
Bumps [github.com/cloudbase/garm-provider-common](https://github.com/cloudbase/garm-provider-common) from 0.1.5-0.20250417155201-8ef03502d06e to 0.1.5.
- [Release notes](https://github.com/cloudbase/garm-provider-common/releases)
- [Commits](https://github.com/cloudbase/garm-provider-common/commits/v0.1.5)

---
updated-dependencies:
- dependency-name: github.com/cloudbase/garm-provider-common
  dependency-version: 0.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 07:08:08 +00:00
Gabriel Adrian Samfira
e92b2c1111 Allow usage of friendly names in most commands
This change adds the ability to use the repo/org/enterprise names
instead of UUID in most garm-cli commands, at the expense of an extra
list API call, leveraging the recently added filter options.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-06-19 09:27:18 +00:00
Gabriel
43a2343828
Merge pull request #431 from gabriel-samfira/add-filter-option
Add a rudimentary filter option when listing entities
2025-06-19 00:34:56 +03:00
Gabriel Adrian Samfira
499fbde60c Add a rudimentary filter option when listing entities
This change adds the ability to filter the list of entities returned
by the API by entity owner, name or endpoint, depending on the entity
type.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-06-18 21:23:34 +00:00
Gabriel
2fd0e720e6
Merge pull request #430 from gabriel-samfira/update-deps
Update dependencies
2025-06-18 00:15:19 +03:00
Gabriel Adrian Samfira
d42160cab2 Update dependencies
This change updates all dependencies.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-06-17 21:09:05 +00:00
Gabriel
e3833e5e48
Merge pull request #429 from tormath1/tormath1/doc
doc/gitea: remove 'version'
2025-06-12 20:17:43 +03:00
Mathieu Tortuyaux
98fa085bc7
doc/gitea: remove 'version'
This field is deprecated:
```
$ docker compose version
Docker Compose version v2.36.2
...
WARN[0000] /home/core/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
```

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-06-12 09:53:59 +02:00
Gabriel
d13ea92a54
Merge pull request #428 from tormath1/tormath1/linode
readme: add akamai/linode experimental external provider
2025-06-11 07:25:13 +03:00
Mathieu Tortuyaux
4c536f2584
readme: add Akamai/Linode external provider
The provider is quite new and awaits for feedback, let's mention the
"experimental" status.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-06-10 17:59:29 +02:00
Mathieu Tortuyaux
043359936b
readme: sort external providers
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-06-10 17:58:11 +02:00
Gabriel
1c2f349d56
Merge pull request #413 from cloudbase/dependabot/go_modules/gorm.io/gorm-1.30.0
Bump gorm.io/gorm from 1.26.1 to 1.30.0
2025-05-29 21:38:15 +03:00
Gabriel
be86709bdf
Merge pull request #419 from gabriel-samfira/enable-tests-in-release
Trigger tests on release branches
2025-05-29 20:15:00 +03:00
Gabriel Adrian Samfira
48c4ea7d15 Trigger tests on release branches
This change triggers tests for PRs created against release/* branches.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-05-29 17:07:46 +00:00
Gabriel
c19bf2f9f8
Merge pull request #416 from ChristopherHX/optional-forge-type-for-gitea
Create Repo / Org make --forge-type optional
2025-05-29 20:04:51 +03:00