Skip to content

Commit

Permalink
chore(deps): bump github.com/cloudbase/garm from 0.1.3 to 0.1.4 (#103)
Browse files Browse the repository at this point in the history
Bumps [github.com/cloudbase/garm](https://github.com/cloudbase/garm)
from 0.1.3 to 0.1.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cloudbase/garm/releases">github.com/cloudbase/garm's
releases</a>.</em></p>
<blockquote>
<h2>garm v0.1.4</h2>
<p>Welcome to GARM version v0.1.4!</p>
<p>Before we dive into the highlights, there are a couple of things we
need to mention.</p>
<h2>Breaking change warning ⚠️</h2>
<p>This version removes the LXD internal provider in favor of two new
external providers:</p>
<ul>
<li><a
href="https://github.com/cloudbase/garm-provider-lxd">garm-provider-lxd</a></li>
<li><a
href="https://github.com/cloudbase/garm-provider-incus">garm-provider-incus</a></li>
</ul>
<p>This was done mainly due to the <a
href="https://redirect.github.com/canonical/lxd/pull/12663">licensing
change</a> of LXD. If you're using LXD and are upgrading from previous
versions, you <strong>must</strong> download the <a
href="https://github.com/cloudbase/garm-provider-lxd">LXD external
provider</a> and <a
href="https://github.com/cloudbase/garm-provider-lxd/blob/main/testdata/garm-provider-lxd.toml">configure
it</a>.</p>
<p>Another breaking (sort of) change is in the <code>garm-cli</code>.
The <code>--force</code> flag in the <code>runner remove</code> command,
is no longer mandatory when removing a runner. Moreover, the
<code>--force</code> flag now ignores provider errors. In previous
versions, if a provider erred when removing a runner, GARM would keep
trying until it succeeded. The problem was that if a provider was
misconfigured, we would be stuck with a runner in error state until re
manually removed it from the database. The <code>--force</code> flag
allows us to remove a runner from GARM even if the provider returns an
error.</p>
<h2>Database upgrade ⚠️</h2>
<p>This version will execute a database migration. While we try not to
break anything when making database migrations, it's always a good idea
to create a backup of your DB as well as any configuration files. If
anything goes wrong, you can revert the changes.</p>
<p>To safely create a backup of you DB, you can use the
<code>sqlite3</code> CLI:</p>
<pre lang="bash"><code># Change the path to your DB to the one
configured in your config.toml
sqlite3 /etc/garm/garm.db
.backup /path/to/backup/location/garm-backup.db
</code></pre>
<h1>Highlights</h1>
<p>This release is packed with optimizations, changes and a couple of
nice features.</p>
<h2>JIT runners</h2>
<p>The main highlight of this release is the ability to use <a
href="https://github.blog/changelog/2023-06-02-github-actions-just-in-time-self-hosted-runners/">just-in-time
self-hosted runners</a>. To accommodate this change, GARM now has more
robust metadata endpoints that can serve the needed JIT files. This will
most likely be expanded in the future to include setup scripts for
clouds where we have userdata size constraints.</p>
<p>JIT runners allows us to avoid sending a runner registration token
over the wire. Registration tokens can be used to register multiple
runners and have a validity of one hour. A bad actor may intercept this
token and use it to register their own runners. With JIT runners, only
one runner may use the credentials at any given point in time. The
credentials are fetched from GARM by the runner when it spins up.</p>
<p>This feature can be disabled in the provider config by
specifying:</p>
<pre lang="toml"><code>[[provider]]
disable_jit_config = true
</code></pre>
<h2>easily access controller info</h2>
<p>We now have the ability to gain more insight into how GARM is
configured. We've added a new command which can show us some info about
the controller:</p>
<pre lang="bash"><code>&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cloudbase/garm/commit/747604ebfa5b7c8ca72e772e653763e0c786211a"><code>747604e</code></a>
Merge branch 'up-main' into release/v0.1</li>
<li><a
href="https://github.com/cloudbase/garm/commit/e575053f7c4a18eaa26cbb6cd17727437c1236bf"><code>e575053</code></a>
Merge pull request <a
href="https://redirect.github.com/cloudbase/garm/issues/210">#210</a>
from gabriel-samfira/add-new-providers</li>
<li><a
href="https://github.com/cloudbase/garm/commit/342ed8e9904fe978ecf9e0b9f69c994a2fb1df0f"><code>342ed8e</code></a>
Add new providers</li>
<li><a
href="https://github.com/cloudbase/garm/commit/c44f02c90fb7175f922457be6fa9fa5e8867a962"><code>c44f02c</code></a>
Merge branch 'up-main' into release/v0.1</li>
<li><a
href="https://github.com/cloudbase/garm/commit/96208bb3c234317fa2d7ec0d2db5ed2df24e7ce6"><code>96208bb</code></a>
Merge pull request <a
href="https://redirect.github.com/cloudbase/garm/issues/209">#209</a>
from gabriel-samfira/fix-typos</li>
<li><a
href="https://github.com/cloudbase/garm/commit/eb729320f9c86bbd4c95564324594547da8bfb11"><code>eb72932</code></a>
Fix typos in garm-cli</li>
<li><a
href="https://github.com/cloudbase/garm/commit/6ca50dc4b20581f527d538e5fb7f74736c0e8a16"><code>6ca50dc</code></a>
Merge pull request <a
href="https://redirect.github.com/cloudbase/garm/issues/208">#208</a>
from gabriel-samfira/update-readme</li>
<li><a
href="https://github.com/cloudbase/garm/commit/803f7afd7058e4eb2cadba7f55440aaf582ccd78"><code>803f7af</code></a>
Add GCP to the list of providers</li>
<li><a
href="https://github.com/cloudbase/garm/commit/3b9e822ee0efbcdcdba8182250e5d45bce86c33d"><code>3b9e822</code></a>
Merge pull request <a
href="https://redirect.github.com/cloudbase/garm/issues/207">#207</a>
from gabriel-samfira/update-readme</li>
<li><a
href="https://github.com/cloudbase/garm/commit/8efdcba359521db8027c4c1631bec0998d7c5ead"><code>8efdcba</code></a>
Update README</li>
<li>Additional commits viewable in <a
href="https://github.com/cloudbase/garm/compare/v0.1.3...v0.1.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/cloudbase/garm&package-manager=go_modules&previous-version=0.1.3&new-version=0.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 5, 2024
1 parent 7d8d7ae commit c31022f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 103 deletions.
38 changes: 18 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module github.com/mercedes-benz/garm-operator
go 1.21.5

require (
github.com/cloudbase/garm v0.1.3
github.com/cloudbase/garm v0.1.4
github.com/cloudbase/garm-provider-common v0.1.1
github.com/go-openapi/runtime v0.26.2
github.com/go-playground/validator/v10 v10.17.0
Expand All @@ -31,41 +31,39 @@ require (
)

require (
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/errors v0.20.4 // indirect
github.com/go-openapi/jsonpointer v0.20.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/loads v0.21.2 // indirect
github.com/go-openapi/spec v0.20.11 // indirect
github.com/go-openapi/strfmt v0.21.8 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-openapi/validate v0.22.3 // indirect
github.com/go-openapi/analysis v0.21.5 // indirect
github.com/go-openapi/errors v0.21.0 // indirect
github.com/go-openapi/jsonpointer v0.20.1 // indirect
github.com/go-openapi/jsonreference v0.20.3 // indirect
github.com/go-openapi/loads v0.21.3 // indirect
github.com/go-openapi/spec v0.20.12 // indirect
github.com/go-openapi/strfmt v0.21.10 // indirect
github.com/go-openapi/swag v0.22.5 // indirect
github.com/go-openapi/validate v0.22.4 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-github/v53 v53.2.0 // indirect
github.com/google/go-github/v57 v57.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/gorilla/handlers v1.5.2 // indirect
github.com/imdario/mergo v0.3.6 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
Expand All @@ -87,9 +85,9 @@ require (
github.com/prometheus/procfs v0.12.0 // indirect
github.com/teris-io/shortid v0.0.0-20220617161101-71ec9f2aa569 // indirect
go.mongodb.org/mongo-driver v1.13.1 // indirect
go.opentelemetry.io/otel v1.17.0 // indirect
go.opentelemetry.io/otel/metric v1.17.0 // indirect
go.opentelemetry.io/otel/trace v1.17.0 // indirect
go.opentelemetry.io/otel v1.21.0 // indirect
go.opentelemetry.io/otel/metric v1.21.0 // indirect
go.opentelemetry.io/otel/trace v1.21.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
golang.org/x/net v0.20.0 // indirect
Expand All @@ -99,7 +97,7 @@ require (
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.32.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
Expand Down
Loading

0 comments on commit c31022f

Please sign in to comment.