Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 8 additions & 18 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,20 @@ tasks:
desc: build devsy CLI
env:
GITHUB_REPOSITORY_OWNER: devsy-org
cmd: |
export PATH="$(go env GOPATH)/bin:$PATH"
goreleaser build --id devsy --snapshot --clean
cmd: go tool goreleaser build --id devsy --snapshot --clean

cli:build:dev:
desc: build devsy CLI for development
env:
GITHUB_REPOSITORY_OWNER: devsy-org
DEVSY_CLI_VERSION: v0.0.0
cmd: |
export PATH="$(go env GOPATH)/bin:$PATH"
goreleaser build --id devsy-dev --snapshot --clean
cmd: go tool goreleaser build --id devsy-dev --snapshot --clean

cli:build:dev:pro:
desc: build devsy CLI for pro feature
vars:
NS: '{{.NS | default "default"}}'
cmd: |
export PATH="$(go env GOPATH)/bin:$PATH"
goreleaser build --id devsy-pro-dev --snapshot --clean
cmd: go tool goreleaser build --id devsy-pro-dev --snapshot --clean
env:
GITHUB_REPOSITORY_OWNER: devsy-org
DEVSY_PRO_NS: "{{.NS}}"
Expand All @@ -94,6 +88,7 @@ tasks:
dir: pkg/agent/tunnel
cmd: |
# sudo apt install protobuf-compiler
# protoc invokes protoc-gen-go and protoc-gen-go-grpc from PATH, so install the plugins to GOBIN first.
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.6.2
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11
export PATH="$(go env GOPATH)/bin:$PATH"
Expand All @@ -116,25 +111,20 @@ tasks:
desc: run e2e tests
deps:
- cli:test:e2e:build
- cli:test:e2e:ginkgo:install
dir: e2e
cmd: go run github.com/onsi/ginkgo/v2/ginkgo@latest
cmd: go tool ginkgo

cli:test:e2e:suite:
# usage: task cli:test:e2e:suite -- "test suite name"
desc: run e2e tests suite
deps:
- cli:test:e2e:ginkgo:install
dir: e2e
cmd: go run github.com/onsi/ginkgo/v2/ginkgo@latest --label-filter {{ .CLI_ARGS }}
cmd: go tool ginkgo --label-filter {{ .CLI_ARGS }}

cli:test:e2e:focus:
# usage: task cli:test:e2e:focus -- "test suite pattern"
desc: run focused e2e tests
deps:
- cli:test:e2e:ginkgo:install
dir: e2e
cmd: go run github.com/onsi/ginkgo/v2/ginkgo@latest --focus {{ .CLI_ARGS }}
cmd: go tool ginkgo --focus {{ .CLI_ARGS }}

cli:test:e2e:kind:setup:
desc: setup kind cluster for e2e tests
Expand All @@ -149,7 +139,7 @@ tasks:
env:
GOPROXY: direct
status: [command -v ginkgo >/dev/null 2>&1]
cmd: go install github.com/onsi/ginkgo/v2/ginkgo@latest
cmd: go install github.com/onsi/ginkgo/v2/ginkgo

cli:test:e2e:act:focus:
# usage: task cli:test:e2e:act:focus -- "test focus pattern"
Expand Down
41 changes: 24 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/devsy-org/devsy

go 1.26.3
go 1.26.5

require (
al.essio.dev/pkg/shellescape v1.6.0
Expand Down Expand Up @@ -91,7 +91,7 @@ require (
charm.land/bubbletea/v2 v2.0.2 // indirect
cloud.google.com/go/compute/metadata v0.9.0 // indirect
code.gitea.io/sdk/gitea v0.23.2 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
filippo.io/edwards25519 v1.2.0 // indirect
filippo.io/hpke v0.4.0 // indirect
github.com/42wim/httpsig v1.2.4 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 // indirect
Expand Down Expand Up @@ -134,7 +134,7 @@ require (
github.com/charmbracelet/x/windows v0.2.2 // indirect
github.com/clipperhouse/displaywidth v0.11.0 // indirect
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
github.com/coder/websocket v1.8.12 // indirect
github.com/coder/websocket v1.8.14 // indirect
github.com/containerd/console v1.0.5 // indirect
github.com/containerd/containerd/api v1.11.1 // indirect
github.com/containerd/containerd/v2 v2.3.3 // indirect
Expand All @@ -148,7 +148,7 @@ require (
github.com/containers/storage v1.59.1 // indirect
github.com/coreos/go-semver v0.3.1 // indirect
github.com/coreos/go-systemd/v22 v22.7.0 // indirect
github.com/creachadair/msync v0.7.1 // indirect
github.com/creachadair/msync v0.8.1 // indirect
github.com/danieljoos/wincred v1.2.3 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/davidmz/go-pageant v1.0.2 // indirect
Expand All @@ -161,9 +161,9 @@ require (
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/gaissmai/bart v0.18.0 // indirect
github.com/gaissmai/bart v0.26.1 // indirect
github.com/go-fed/httpsig v1.1.0 // indirect
github.com/go-json-experiment/json v0.0.0-20250813024750-ebf49471dced // indirect
github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-openapi/jsonpointer v0.23.1 // indirect
Expand Down Expand Up @@ -203,10 +203,11 @@ require (
github.com/hashicorp/go-version v1.9.0 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/in-toto/attestation v1.2.0 // indirect
github.com/in-toto/in-toto-golang v0.11.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jsimonetti/rtnetlink v1.4.0 // indirect
github.com/jsimonetti/rtnetlink v1.4.1 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/compress v1.19.1 // indirect
Expand All @@ -215,8 +216,8 @@ require (
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-colorable v0.1.15 // indirect
github.com/mattn/go-isatty v0.0.23 // indirect
github.com/mattn/go-runewidth v0.0.23 // indirect
github.com/mattn/go-shellwords v1.0.12 // indirect
github.com/mdlayher/netlink v1.7.3-0.20250113171957-fbb4dce95f42 // indirect
Expand Down Expand Up @@ -247,10 +248,9 @@ require (
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
github.com/prometheus-community/pro-bing v0.4.0 // indirect
github.com/prometheus/client_golang v1.23.2 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/common v0.69.0 // indirect
github.com/prometheus/procfs v0.20.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/safchain/ethtool v0.3.0 // indirect
Expand All @@ -260,12 +260,11 @@ require (
github.com/segmentio/encoding v0.5.4 // indirect
github.com/shibumi/go-pathspec v1.3.0 // indirect
github.com/sirupsen/logrus v1.9.4 // indirect
github.com/tailscale/certstore v0.1.1-0.20231202035212-d3fa0460f47e // indirect
github.com/tailscale/certstore v0.1.1-0.20260409135935-3638fb84b77d // indirect
github.com/tailscale/go-winio v0.0.0-20231025203758-c4f33415bf55 // indirect
github.com/tailscale/goupnp v1.0.1-0.20210804011211-c64d0f06ea05 // indirect
github.com/tailscale/peercred v0.0.0-20250107143737-35a0c7bd7edc // indirect
github.com/tailscale/web-client-prebuilt v0.0.0-20250124233751-d4cd19a26976 // indirect
github.com/tailscale/wireguard-go v0.0.0-20250716170648-1d0488a3d7da // indirect
github.com/tailscale/wireguard-go v0.0.0-20260730222847-4affce44577c // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tklauser/go-sysconf v0.3.16 // indirect
Expand Down Expand Up @@ -301,7 +300,7 @@ require (
go4.org/mem v0.0.0-20240501181205-ae6ca9944745 // indirect
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect
golang.org/x/exp v0.0.0-20260603202125-055de637280b // indirect
golang.org/x/net v0.57.0 // indirect
golang.org/x/net v0.57.1-0.20260729233039-99c3b0a8f463 // indirect
golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/text v0.40.0 // indirect
golang.org/x/time v0.15.0 // indirect
Expand All @@ -313,7 +312,7 @@ require (
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gvisor.dev/gvisor v0.0.0-20250205023644-9414b50a5633 // indirect
gvisor.dev/gvisor v0.0.0-20260224225140-573d5e7127a8 // indirect
k8s.io/apiextensions-apiserver v0.36.2 // indirect
k8s.io/apiserver v0.36.3 // indirect
k8s.io/cli-runtime v0.36.3 // indirect
Expand All @@ -326,4 +325,12 @@ require (
sigs.k8s.io/structured-merge-diff/v6 v6.3.3 // indirect
)

replace tailscale.com => github.com/devsy-org/tailscale v1.92.2
replace tailscale.com => github.com/devsy-org/tailscale v1.102.2

tool (
github.com/goreleaser/goreleaser/v2
github.com/onsi/ginkgo/v2/ginkgo
golang.org/x/tools/cmd/goimports
google.golang.org/grpc/cmd/protoc-gen-go-grpc
google.golang.org/protobuf/cmd/protoc-gen-go
)
Loading
Loading