Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation and example clound function for shared vpcs. #2674

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Docs and example cloud function

5548de7
Select commit
Loading
Failed to load commit list.
Open

Documentation and example clound function for shared vpcs. #2674

Docs and example cloud function
5548de7
Select commit
Loading
Failed to load commit list.
Google Cloud Build / PR-Go-1-21-build-test (hpc-toolkit-dev) succeeded Jun 11, 2024 in 3m 17s

Summary

Build Information

Trigger PR-Go-1-21-build-test
Build dcf3c5d5-2e5e-4426-8395-f43c086c1429
Start 2024-06-10T17:39:28-07:00
Duration 3m13.46s
Status SUCCESS

Steps

Step Status Duration
golang:1.21 SUCCESS 3m9.17s

Details

starting build "dcf3c5d5-2e5e-4426-8395-f43c086c1429"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/GoogleCloudPlatform/hpc-toolkit
 * branch            5548de75e0503a08fa6649aa538d81a71851d73e -> FETCH_HEAD
HEAD is now at 5548de7 Docs and example cloud function
BUILD
Pulling image: golang:1.21
1.21: Pulling from library/golang
c6cf28de8a06: Already exists
891494355808: Already exists
6582c62583ef: Already exists
37b0b56537d7: Pulling fs layer
b97939c8aa5b: Pulling fs layer
ab6648701d05: Pulling fs layer
4f4fb700ef54: Pulling fs layer
4f4fb700ef54: Waiting
ab6648701d05: Verifying Checksum
ab6648701d05: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
b97939c8aa5b: Verifying Checksum
b97939c8aa5b: Download complete
37b0b56537d7: Verifying Checksum
37b0b56537d7: Download complete
37b0b56537d7: Pull complete
b97939c8aa5b: Pull complete
ab6648701d05: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:a8edec58ba598e2f1259f4ec4ca1b06358468214225e73d7c841ab0980c12367
Status: Downloaded newer image for golang:1.21
docker.io/library/golang:1.21
Makefile:128: WARNING: terraform not installed and deployments will not work in this machine, visit https://learn.hashicorp.com/tutorials/terraform/install-cli
Makefile:176: WARNING: packer not installed, visit https://learn.hashicorp.com/tutorials/packer/get-started-install-cli
**************** building ghpc ************************
go: downloading github.com/hashicorp/go-getter v1.7.4
go: downloading github.com/fatih/color v1.16.0
go: downloading github.com/go-git/go-git/v5 v5.12.0
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/zclconf/go-cty v1.14.4
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/otiai10/copy v1.14.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading cloud.google.com/go/storage v1.39.1
go: downloading github.com/aws/aws-sdk-go v1.44.122
go: downloading cloud.google.com/go v0.112.2
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/hashicorp/go-version v1.6.0
go: downloading github.com/klauspost/compress v1.17.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/mitchellh/go-testing-interface v1.14.2-0.20210821155943-2d9075ca8770
go: downloading github.com/ulikunitz/xz v0.5.10
go: downloading golang.org/x/oauth2 v0.19.0
go: downloading google.golang.org/api v0.177.0
go: downloading dario.cat/mergo v1.0.0
go: downloading github.com/ProtonMail/go-crypto v1.0.0
go: downloading github.com/go-git/go-billy/v5 v5.5.0
go: downloading golang.org/x/sys v0.20.0
go: downloading github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/hashicorp/hcl/v2 v2.20.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
go: downloading github.com/hashicorp/terraform-exec v0.20.0
go: downloading golang.org/x/sync v0.7.0
go: downloading cloud.google.com/go/compute/metadata v0.3.0
go: downloading cloud.google.com/go/iam v1.1.6
go: downloading github.com/googleapis/gax-go/v2 v2.12.3
go: downloading github.com/google/uuid v1.6.0
go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de
go: downloading google.golang.org/grpc v1.63.2
go: downloading google.golang.org/protobuf v1.34.0
go: downloading cloud.google.com/go/auth v0.3.0
go: downloading github.com/pjbgf/sha1cd v0.3.0
go: downloading golang.org/x/crypto v0.22.0
go: downloading github.com/cyphar/filepath-securejoin v0.2.4
go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376
go: downloading github.com/emirpasic/gods v1.18.1
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/apparentlymart/go-textseg/v15 v15.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/hashicorp/terraform-config-inspect v0.0.0-20230925220900-5a6f8d18746d
go: downloading golang.org/x/text v0.14.0
go: downloading github.com/hashicorp/terraform-json v0.19.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c
go: downloading go.opencensus.io v0.24.0
go: downloading go.opentelemetry.io/otel v1.24.0
go: downloading go.opentelemetry.io/otel/trace v1.24.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6
go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.2
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
go: downloading golang.org/x/net v0.24.0
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/google/s2a-go v0.1.7
go: downloading github.com/cloudflare/circl v1.3.7
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/kevinburke/ssh_config v1.2.0
go: downloading github.com/skeema/knownhosts v1.2.2
go: downloading github.com/xanzy/ssh-agent v0.3.3
go: downloading github.com/go-logr/logr v1.4.1
go: downloading go.opentelemetry.io/otel/metric v1.24.0
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0
go: downloading golang.org/x/time v0.5.0
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/go-logr/stdr v1.2.2
**************** vetting go code **********************
**************** running ghpc unit tests **************
go vet ./cmd/... ./pkg/...
go: downloading github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/spf13/afero v1.11.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.11.0
go test -cover ./cmd/... ./pkg/... 2>&1 |  perl tools/enforce_coverage.pl
ok  	hpc-toolkit/cmd	0.110s	coverage: 42.5% of statements
ok  	hpc-toolkit/pkg/config	0.127s	coverage: 87.4% of statements
ok  	hpc-toolkit/pkg/deploymentio	0.010s	coverage: 88.2% of statements
?   	hpc-toolkit/pkg/logging	[no test files]
ok  	hpc-toolkit/pkg/inspect	0.595s	coverage: 83.3% of statements
ok  	hpc-toolkit/pkg/modulereader	0.121s	coverage: 87.6% of statements
ok  	hpc-toolkit/pkg/modulewriter	0.067s	coverage: 81.0% of statements
ok  	hpc-toolkit/pkg/shell	0.045s	coverage: 12.5% of statements
ok  	hpc-toolkit/pkg/sourcereader	2.124s	coverage: 89.4% of statements
ok  	hpc-toolkit/pkg/validators	0.060s	coverage: 13.7% of statements
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/dcf3c5d5-2e5e-4426-8395-f43c086c1429?project=508417052821