dependabot[bot]
1882bc2cb0
Bump github.com/avast/retry-go/v4 from 4.3.3 to 4.6.1 ( #286 )
...
Bumps [github.com/avast/retry-go/v4](https://github.com/avast/retry-go ) from 4.3.3 to 4.6.1.
- [Release notes](https://github.com/avast/retry-go/releases )
- [Commits](https://github.com/avast/retry-go/compare/4.3.3...4.6.1 )
---
updated-dependencies:
- dependency-name: github.com/avast/retry-go/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 00:41:46 +04:00
dependabot[bot]
fa748ed3a1
Bump google.golang.org/protobuf from 1.36.5 to 1.36.6 ( #284 )
...
Bumps google.golang.org/protobuf from 1.36.5 to 1.36.6.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-03-25 00:41:38 +04:00
dependabot[bot]
5c20f7f900
Bump github.com/penglongli/gin-metrics from 0.1.10 to 0.1.13 ( #288 )
...
Bumps [github.com/penglongli/gin-metrics](https://github.com/penglongli/gin-metrics ) from 0.1.10 to 0.1.13.
- [Release notes](https://github.com/penglongli/gin-metrics/releases )
- [Commits](https://github.com/penglongli/gin-metrics/compare/v0.1.10...v0.1.13 )
---
updated-dependencies:
- dependency-name: github.com/penglongli/gin-metrics
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-03-25 00:35:15 +04:00
dependabot[bot]
46e5e73cb8
Bump golang.org/x/net from 0.36.0 to 0.37.0 ( #285 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 00:30:54 +04:00
dependabot[bot]
a2a35c9f6f
Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc ( #276 )
...
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://github.com/open-telemetry/opentelemetry-go ) from 1.27.0 to 1.35.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...v1.35.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 01:39:29 +04:00
dependabot[bot]
449ac61cd4
Bump github.com/coder/websocket from 1.8.12 to 1.8.13 ( #274 )
...
Bumps [github.com/coder/websocket](https://github.com/coder/websocket ) from 1.8.12 to 1.8.13.
- [Release notes](https://github.com/coder/websocket/releases )
- [Commits](https://github.com/coder/websocket/compare/v1.8.12...v1.8.13 )
---
updated-dependencies:
- dependency-name: github.com/coder/websocket
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-03-18 01:35:47 +04:00
dependabot[bot]
e05ca27313
Bump github.com/spf13/cobra from 1.6.0 to 1.9.1 ( #273 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 01:07:11 +04:00
dependabot[bot]
a5829db8ce
Bump howett.net/plist from 1.0.0 to 1.0.1 ( #277 )
...
Bumps [howett.net/plist](https://github.com/DHowett/go-plist ) from 1.0.0 to 1.0.1.
- [Commits](https://github.com/DHowett/go-plist/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: howett.net/plist
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-03-18 01:06:38 +04:00
dependabot[bot]
e12b7b9ae1
Bump github.com/deckarep/golang-set/v2 from 2.7.0 to 2.8.0 ( #275 )
...
Bumps [github.com/deckarep/golang-set/v2](https://github.com/deckarep/golang-set ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/deckarep/golang-set/releases )
- [Commits](https://github.com/deckarep/golang-set/compare/v2.7.0...v2.8.0 )
---
updated-dependencies:
- dependency-name: github.com/deckarep/golang-set/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 01:06:17 +04:00
dependabot[bot]
bfb7a1a752
Bump golang.org/x/net from 0.35.0 to 0.36.0 ( #271 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 15:52:59 +04:00
dependabot[bot]
cc53b7d7fd
Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp ( #270 )
...
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp](https://github.com/open-telemetry/opentelemetry-go ) from 1.27.0 to 1.35.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...v1.35.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 03:04:13 +04:00
dependabot[bot]
9e8395bc7c
Bump golang.org/x/crypto from 0.35.0 to 0.36.0 ( #267 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 23:16:22 +04:00
dependabot[bot]
cfdcb15077
Bump github.com/samber/lo from 1.38.1 to 1.49.1 ( #268 )
...
Bumps [github.com/samber/lo](https://github.com/samber/lo ) from 1.38.1 to 1.49.1.
- [Release notes](https://github.com/samber/lo/releases )
- [Commits](https://github.com/samber/lo/compare/v1.38.1...v1.49.1 )
---
updated-dependencies:
- dependency-name: github.com/samber/lo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 23:15:49 +04:00
dependabot[bot]
10096e8ecd
Bump google.golang.org/grpc from 1.64.1 to 1.70.0 ( #261 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.64.1 to 1.70.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.1...v1.70.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 22:01:04 +04:00
dependabot[bot]
c6745f0b84
Bump github.com/gofrs/flock from 0.8.1 to 0.12.1 ( #264 )
...
Bumps [github.com/gofrs/flock](https://github.com/gofrs/flock ) from 0.8.1 to 0.12.1.
- [Release notes](https://github.com/gofrs/flock/releases )
- [Commits](https://github.com/gofrs/flock/compare/v0.8.1...v0.12.1 )
---
updated-dependencies:
- dependency-name: github.com/gofrs/flock
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 21:54:55 +04:00
dependabot[bot]
eab3098265
Bump github.com/deckarep/golang-set/v2 from 2.1.0 to 2.7.0 ( #262 )
...
Bumps [github.com/deckarep/golang-set/v2](https://github.com/deckarep/golang-set ) from 2.1.0 to 2.7.0.
- [Release notes](https://github.com/deckarep/golang-set/releases )
- [Commits](https://github.com/deckarep/golang-set/compare/v2.1.0...v2.7.0 )
---
updated-dependencies:
- dependency-name: github.com/deckarep/golang-set/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 21:54:33 +04:00
dependabot[bot]
e936c3e8e2
Bump github.com/pterm/pterm from 0.12.79 to 0.12.80 ( #263 )
...
Bumps [github.com/pterm/pterm](https://github.com/pterm/pterm ) from 0.12.79 to 0.12.80.
- [Release notes](https://github.com/pterm/pterm/releases )
- [Commits](https://github.com/pterm/pterm/compare/v0.12.79...v0.12.80 )
---
updated-dependencies:
- dependency-name: github.com/pterm/pterm
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-03-03 21:54:16 +04:00
dependabot[bot]
2735a59f1f
Bump golang.org/x/crypto from 0.33.0 to 0.35.0 ( #260 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.33.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.33.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 21:53:18 +04:00
dependabot[bot]
c70eb068d4
Bump go.opentelemetry.io/otel/sdk/metric from 1.27.0 to 1.34.0 ( #257 )
...
* Bump go.opentelemetry.io/otel/sdk/metric from 1.27.0 to 1.34.0
Bumps [go.opentelemetry.io/otel/sdk/metric](https://github.com/open-telemetry/opentelemetry-go ) from 1.27.0 to 1.34.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...v1.34.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk/metric
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* opentelemetry: add TestConfigure
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
2025-02-20 02:19:11 +04:00
dependabot[bot]
adc77bc0f4
Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 ( #254 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 02:03:50 +04:00
dependabot[bot]
2dfdb40dea
Bump golang.org/x/net from 0.28.0 to 0.35.0 ( #255 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.28.0 to 0.35.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 01:59:40 +04:00
dependabot[bot]
e6fdf98db3
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ( #256 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 01:32:26 +04:00
dependabot[bot]
9f2be01a3e
Bump golang.org/x/crypto from 0.26.0 to 0.33.0 ( #258 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.26.0 to 0.33.0.
- [Commits](https://github.com/golang/crypto/compare/v0.26.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 01:32:00 +04:00
Nikolay Edigaryev
61d7d34ea4
RPC v2: fix Ping() hanging due to PONG not being processed ( #247 )
2025-02-07 22:05:09 +04:00
dependabot[bot]
6b3d64be96
Bump github.com/golang/glog from 1.2.0 to 1.2.4 ( #241 )
...
Bumps [github.com/golang/glog](https://github.com/golang/glog ) from 1.2.0 to 1.2.4.
- [Release notes](https://github.com/golang/glog/releases )
- [Commits](https://github.com/golang/glog/compare/v1.2.0...v1.2.4 )
---
updated-dependencies:
- dependency-name: github.com/golang/glog
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-30 17:34:23 +04:00
Tim Peeters
4c63cea062
Fix #221 by bumping Go. ( #223 )
...
* Fix #221 by bumping Go.
* CI: use golang:latest instead of GoReleaser's container image
* Add Go linker flag (-B gobuildid) to generate UUID.
---------
Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
2024-11-20 14:02:39 +04:00
Nikolay Edigaryev
1730eaf67c
orchard controller: make sure that output goes through the logger ( #207 )
...
...which emits JSON on the production for easier processing.
2024-09-17 22:54:43 +04:00
Nikolay Edigaryev
8aaf05c4f7
controller run: make bootstrap process more user-friendly ( #201 )
...
* controller run: make bootstrap process more user-friendly
* Badger: log to zap instead of standard error
2024-09-03 18:54:28 +04:00
dependabot[bot]
1bb00534f5
Bump google.golang.org/grpc from 1.64.0 to 1.64.1 ( #192 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-18 10:25:26 -04:00
Nikolay Edigaryev
ff0497b1d8
Produce OpenTelemetry metrics ( #185 )
...
* .golangci.yml: remove mentions of deprecated linters
* Fix "staticcheck" linter error by using grpc.NewClient
* Configure OpenTelemetry
Metrics only for now.
* Produce OpenTelemetry metrics
* Update DeploymentGuide.md
Co-authored-by: Fedor Korotkov <fedor.korotkov@gmail.com>
* Update DeploymentGuide.md
Co-authored-by: Fedor Korotkov <fedor.korotkov@gmail.com>
* Introduce "org.cirruslabs.orchard.controller.worker_status"
---------
Co-authored-by: Fedor Korotkov <fedor.korotkov@gmail.com>
2024-06-24 18:19:51 +04:00
Nikolay Edigaryev
d59bc7f8a7
Orchard Controller: implement an SSH server that acts as a jump host ( #179 )
...
* proxy.Connections(): require io.ReadWriteCloser instead of net.Conn
* Orchard Controller: implement an SSH server that acts as a jump host
* Issue a warning if the name used will be invalid in the future
* Further restrict uppercase characters in names in the future
The rationale is similar to https://github.com/kubernetes/kubernetes/issues/71140 .
We won't want to munge the user's input and introduce subtle bugs doing
lowercase comparisons.
2024-06-11 19:32:45 +04:00
dependabot[bot]
e6caf480de
Bump golang.org/x/net from 0.17.0 to 0.23.0 ( #167 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 04:08:35 -04:00
dependabot[bot]
5da967b88c
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 ( #150 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 12:55:53 +04:00
dependabot[bot]
7b49d506b2
Bump google.golang.org/grpc from 1.53.0 to 1.56.3 ( #147 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 14:21:16 +04:00
dependabot[bot]
7c2c466d65
Bump golang.org/x/net from 0.7.0 to 0.17.0 ( #143 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 11:55:24 +04:00
Nikolay Edigaryev
0ba7db1a70
orchard list vms: add "Created" row ( #106 )
2023-07-04 18:11:26 +04:00
Nikolay Edigaryev
6a325daf74
Switch from golang.org/x/net/websocket to nhooyr.io/websocket and handle NotFound errors ( #105 )
...
* Switch from golang.org/x/net/websocket to nhooyr.io/websocket
* Do not attach errors that we can handle to the Gin's context
* Add missing newline to "no credentials specified or found, ..." message
* Fix potential NPE in ChooseUsernameAndPassword()
* Fix type in PortForward() error message in "orchard ssh vm"
* Fix potential NPE in Connections()
* Use header.Set() for consistency's sake for Authorization header
2023-07-04 18:10:41 +04:00
dependabot[bot]
ece7c3dcc8
Bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0 ( #84 )
2023-05-05 07:19:12 -04:00
Nikolay Edigaryev
60e564da88
Implement restart policy for VMs ( #83 )
...
* Implement restart policy for VMs
* Do not update VM.Resource, we only use it as a read-only specification
* Err()/setErr(): use atomic.Pointer instead of sync.Mutex
2023-04-24 19:30:08 +04:00
Fedor Korotkov
010df300a3
Add basic Prometheus metrics ( #82 )
...
Fixes #71
2023-04-21 10:05:01 +04:00
Nikolay Edigaryev
4eafec99a5
Fail VMs if the worker had crashed/is unhealthy ( #70 )
...
* Fail VMs if the worker had crashed/is unhealthy
* OnDiskName: properly handle cases when VM's name contains hyphens
* Worker: introduce Offline() method and check it before scheduling
* tart.List(): use Tart's JSON output
* OnDiskName: remove empty parts check
* Scheduler: move health-checking logic to a separate function
* Only fail "running" VMs
* Only fail orphaned VMs if they're in terminal state
* Integration tests
* Run healthCheckingLoopIteration() before schedulingLoopIteration()
* Worker: sync on-disk VMs only once at start
2023-04-03 16:47:49 +04:00
Nikolay Edigaryev
cb39836ee0
Resources support ( #63 )
...
* Resources support
* Ability to provide VM and worker resources via the CLI
* orchard dev: always listen on :6120
* orchard dev: support --resources
* REST API: provide resource defaults when creating VM
* OpenAPI: document "resources" field
* orchard dev: serve Swagger API documentation on /v1/
* Integration guide
2023-03-27 17:30:54 +04:00
Fedor Korotkov
f42026824c
Configure workers to log to a file ( #59 )
...
* Configure workers to log to a file
As a best practice. Inspired by 845ca51d5b/FAQ.md (does-zap-support-log-rotation)
* Removed redundant error check
* Make log file optional
2023-03-24 18:03:27 +00:00
dependabot[bot]
67702edd59
Bump golang.org/x/net from 0.5.0 to 0.7.0 ( #50 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 13:31:11 -04:00
dependabot[bot]
1ebec7a268
Bump golang.org/x/crypto from 0.0.0-20211215153901-e495a2d5b3d3 to 0.1.0 ( #49 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20211215153901-e495a2d5b3d3 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 13:23:56 -04:00
Nikolay Edigaryev
af074f499d
Remove UID for now and use machine ID to differentiate workers ( #48 )
...
* Remove UID for now and use machine ID to differentiate workers
* Rename MetadataWorkerKey back to MetadataWorkerNameKey
2023-03-23 23:38:54 +04:00
Nikolay Edigaryev
10f56bb5e3
Introduce "orchard ssh" and "orchard vnc" commands ( #36 )
...
* proxy.Connections(): handle "use of closed network connection" error
* Controller: less strict timeouts that work nicely for WebSockets
* Worker: only attempt connect to the gRPC once our UID is known
* Introduce "orchard ssh" and "orchard vnc" commands
* Worker: prevent context leak by moving logic into a separate function
* Fix linter errors
* Port forwarding integration test
* Check for "uname -mo" output
2023-03-21 14:58:24 -04:00
Fedor Korotkov
bdc781214c
Prepare for release ( #37 )
...
* Prepare for release
Added LICENSE, set version and configured GoReleaser/Docker
* Updated LICENSE
2023-03-20 15:28:24 -04:00
Fedor Korotkov
3ecf98c039
Support `startup`/`shutdown` scripts ( #33 )
...
* Support `startup`/`shutdown` scripts
Fixes #26
* Fixed Go modules after rebase
* Fixes after rebase
2023-03-14 22:15:54 +04:00
Nikolay Edigaryev
47fef47d1c
Port forwarding support ( #30 )
...
* Port forwarding support
* .golangci.yml: remove and replace deprecated and archived linters
* Client: pass credentials when calling WebSocket API methods
* API: require ServiceAccountRoleComputeWrite role for port forwarding
* Use Buf
* Rename Poll() RPC method to Watch()
* Split Rendezvous into two parts: Watcher and Proxy (#32 )
* Split Rendezvous into two parts: Watcher and Proxy
* Implement Proxy cancellation
* Use Protocol Buffers structure directly in Watcher
* Fix TestWatcher after switching to Protocol Buffers structure
* portForwardVM(): ensure we also check for gin's context
2023-03-14 11:31:13 -04:00
Fedor Korotkov
0582108ea6
Events Entity ( #28 )
...
* Generic Events
We can try to use these generic events for script execution and storing of the output logs in events with `log` kind.
* Lint issues
* Cleanup events upon VM deletion
* Basic integration test
* Run an actual VM in tests
* Apply suggestions from code review
Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
* Use POST
* Make newEventKey private
* Append events in batches
* Lint issues
* Private `scopePrefix`
---------
Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
2023-03-13 08:04:17 -04:00
Nikolay Edigaryev
8df31f7c2d
Introduce service accounts and bootstrap tokens ( #22 )
2023-02-21 11:34:12 -05:00
Nikolay Edigaryev
0b9b96b8c9
Introduce "orchard context" ( #18 )
2023-02-07 19:48:31 +04:00
Nikolay Edigaryev
92e8732d46
Initial version of the Orchard orchestration system ( #3 )
...
* Initial version of the Orchard orchestration system
* Update README.md
Co-authored-by: Fedor Korotkov <fedor.korotkov@gmail.com>
Co-authored-by: Fedor Korotkov <fedor.korotkov@gmail.com>
2023-01-26 23:46:23 +04:00