-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from teamsnap/phanyzewski/create-engine
feat: support creating new engine paths via the api
- Loading branch information
Showing
17 changed files
with
1,728 additions
and
624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,37 @@ | ||
|
||
name: Build and run | ||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
pull_request: | ||
branches: [ main ] | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.19 | ||
- name: Set up Go 1.23.2 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.19 | ||
go-version: 1.23.2 | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
|
||
- name: go get | ||
run: | | ||
dirs=$(go list -f '{{.Dir}}' -m ) | ||
for dir in ${dirs[@]}; do | ||
cd "$dir" | ||
go mod tidy | ||
done | ||
find ./pkg -type d | while read -r dir; do | ||
if [ -f "$dir/go.mod" ]; then | ||
echo "Running go mod tidy for: $dir" | ||
(cd "$dir" && go mod tidy) | ||
fi | ||
done | ||
- name: test | ||
run: | | ||
echo secrets.GH_ACTIONS_GCP_SA_STAGING > staging-creds.json | ||
dirs=$(go list -f '{{.Dir}}' -m ) | ||
for dir in ${dirs[@]}; do | ||
go test -race -v -coverprofile=$dir/c.out $dir/... | ||
done | ||
echo secrets.GH_ACTIONS_GCP_SA_STAGING > staging-creds.json | ||
find ./pkg -type d | while read -r dir; do | ||
if [ -f "$dir/go.mod" ]; then | ||
echo "Running tests for: $dir" | ||
(cd "$dir" && go test -race -v -coverprofile=c.out ./...) | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,96 @@ | ||
module github.com/teamsnap/vault-init | ||
|
||
go 1.13 | ||
go 1.23.2 | ||
|
||
require ( | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/teamsnap/vault-key/pkg/vault v0.1.4 // indirect | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/teamsnap/vault-key/pkg/vault v0.4.8 | ||
) | ||
|
||
require ( | ||
cel.dev/expr v0.18.0 // indirect | ||
cloud.google.com/go v0.116.0 // indirect | ||
cloud.google.com/go/auth v0.9.9 // indirect | ||
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect | ||
cloud.google.com/go/compute/metadata v0.5.2 // indirect | ||
cloud.google.com/go/iam v1.2.2 // indirect | ||
cloud.google.com/go/kms v1.20.1 // indirect | ||
cloud.google.com/go/longrunning v0.6.2 // indirect | ||
cloud.google.com/go/monitoring v1.21.2 // indirect | ||
cloud.google.com/go/secretmanager v1.14.2 // indirect | ||
cloud.google.com/go/storage v1.45.0 // indirect | ||
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect | ||
github.com/GoogleCloudPlatform/berglas v1.0.3 // indirect | ||
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.24.3 // indirect | ||
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.3 // indirect | ||
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.3 // indirect | ||
github.com/cenkalti/backoff/v4 v4.3.0 // indirect | ||
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect | ||
github.com/envoyproxy/go-control-plane v0.13.1 // indirect | ||
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/gammazero/deque v0.2.1 // indirect | ||
github.com/gammazero/workerpool v1.1.3 // indirect | ||
github.com/go-jose/go-jose/v4 v4.0.4 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/google/s2a-go v0.1.8 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect | ||
github.com/googleapis/gax-go/v2 v2.13.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect | ||
github.com/hashicorp/go-hclog v1.6.3 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect | ||
github.com/hashicorp/go-rootcerts v1.0.2 // indirect | ||
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect | ||
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect | ||
github.com/hashicorp/go-sockaddr v1.0.7 // indirect | ||
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect | ||
github.com/hashicorp/vault/api v1.15.0 // indirect | ||
github.com/hashicorp/vault/sdk v0.14.0 // indirect | ||
github.com/jstemmer/go-junit-report v1.0.0 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/pierrec/lz4 v2.6.1+incompatible // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect | ||
github.com/ryanuber/go-glob v1.0.0 // indirect | ||
github.com/sethvargo/go-retry v0.3.0 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.opentelemetry.io/contrib/detectors/gcp v1.31.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect | ||
go.opentelemetry.io/otel v1.31.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.31.0 // indirect | ||
go.opentelemetry.io/otel/sdk v1.31.0 // indirect | ||
go.opentelemetry.io/otel/sdk/metric v1.31.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.31.0 // indirect | ||
golang.org/x/crypto v0.28.0 // indirect | ||
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect | ||
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect | ||
golang.org/x/net v0.30.0 // indirect | ||
golang.org/x/oauth2 v0.23.0 // indirect | ||
golang.org/x/sync v0.8.0 // indirect | ||
golang.org/x/sys v0.26.0 // indirect | ||
golang.org/x/text v0.19.0 // indirect | ||
golang.org/x/time v0.7.0 // indirect | ||
golang.org/x/tools v0.26.0 // indirect | ||
google.golang.org/api v0.203.0 // indirect | ||
google.golang.org/appengine v1.6.8 // indirect | ||
google.golang.org/genproto v0.0.0-20241021214115-324edc3d5d38 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect | ||
google.golang.org/grpc v1.67.1 // indirect | ||
google.golang.org/grpc/stats/opentelemetry v0.0.0-20241023165937-8212cf037683 // indirect | ||
google.golang.org/protobuf v1.35.1 // indirect | ||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect | ||
honnef.co/go/tools v0.5.1 // indirect | ||
) |
Oops, something went wrong.