diff --git a/.github/services/go-tests/docker-compose.yml b/.github/services/go-tests/docker-compose.yml index 109b5eb..f55254c 100644 --- a/.github/services/go-tests/docker-compose.yml +++ b/.github/services/go-tests/docker-compose.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: "3.9" services: localstack: diff --git a/Dockerfile b/Dockerfile index 09dce2b..07c074c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,7 @@ # syntax = docker.mirror.hashicorp.services/docker/dockerfile:experimental +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM docker.mirror.hashicorp.services/golang:alpine AS builder diff --git a/cmd/waypoint-hzn/main.go b/cmd/waypoint-hzn/main.go index 5aadacf..cdfb161 100644 --- a/cmd/waypoint-hzn/main.go +++ b/cmd/waypoint-hzn/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/docker-compose.yml b/docker-compose.yml index 33c6713..338725b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: '3' services: diff --git a/internal/pkg/golang-petname/debian/update-wordlists.sh b/internal/pkg/golang-petname/debian/update-wordlists.sh index 55ef7ee..df36037 100755 --- a/internal/pkg/golang-petname/debian/update-wordlists.sh +++ b/internal/pkg/golang-petname/debian/update-wordlists.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This script only needs to be run by the upstream package maintainer (Dustin Kirkland) # if the upstream petname wordlists change diff --git a/internal/testsql/testsql.go b/internal/testsql/testsql.go index 2781d14..478bbab 100644 --- a/internal/testsql/testsql.go +++ b/internal/testsql/testsql.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package testsql provides helpers for working with PostgreSQL databases in // unit tests, from creating per-test DBs to also running the migrations. // diff --git a/kubernetes/waypoint-hzn.yml b/kubernetes/waypoint-hzn.yml index 38177c2..0bf5712 100644 --- a/kubernetes/waypoint-hzn.yml +++ b/kubernetes/waypoint-hzn.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/migrations/20200521162525_initial.down.sql b/migrations/20200521162525_initial.down.sql index e69de29..6bb3a5a 100644 --- a/migrations/20200521162525_initial.down.sql +++ b/migrations/20200521162525_initial.down.sql @@ -0,0 +1,3 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + diff --git a/migrations/20200521162525_initial.up.sql b/migrations/20200521162525_initial.up.sql index 326c007..c4cc552 100644 --- a/migrations/20200521162525_initial.up.sql +++ b/migrations/20200521162525_initial.up.sql @@ -1,3 +1,6 @@ +-- Copyright (c) HashiCorp, Inc. +-- SPDX-License-Identifier: MPL-2.0 + CREATE TABLE IF NOT EXISTS registrations ( id SERIAL PRIMARY KEY, account_id bytea NOT NULL UNIQUE, diff --git a/pkg/models/models.go b/pkg/models/models.go index cdf11dd..a44761a 100644 --- a/pkg/models/models.go +++ b/pkg/models/models.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package models import ( diff --git a/pkg/pb/gen.go b/pkg/pb/gen.go index 76db245..36a0aab 100644 --- a/pkg/pb/gen.go +++ b/pkg/pb/gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pb //go:generate sh -c "protoc -I../../proto --go_out=plugins=grpc:. --validate_out=\"lang=go:.\" ../../proto/*.proto" diff --git a/pkg/server/auth.go b/pkg/server/auth.go index 915f568..fca9972 100644 --- a/pkg/server/auth.go +++ b/pkg/server/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/grpc.go b/pkg/server/grpc.go index 8fa6177..2424c5b 100644 --- a/pkg/server/grpc.go +++ b/pkg/server/grpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/grpc_log.go b/pkg/server/grpc_log.go index 1036d8b..d4262b4 100644 --- a/pkg/server/grpc_log.go +++ b/pkg/server/grpc_log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/grpc_log_test.go b/pkg/server/grpc_log_test.go index be2ce7c..f0c6238 100644 --- a/pkg/server/grpc_log_test.go +++ b/pkg/server/grpc_log_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/server.go b/pkg/server/server.go index c85d472..f9da603 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/service.go b/pkg/server/service.go index 9964490..b1295db 100644 --- a/pkg/server/service.go +++ b/pkg/server/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/service_account.go b/pkg/server/service_account.go index 804486d..0e84041 100644 --- a/pkg/server/service_account.go +++ b/pkg/server/service_account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/service_account_test.go b/pkg/server/service_account_test.go index 37b78c2..e102420 100644 --- a/pkg/server/service_account_test.go +++ b/pkg/server/service_account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/service_hostname.go b/pkg/server/service_hostname.go index c7ef2f7..14887a2 100644 --- a/pkg/server/service_hostname.go +++ b/pkg/server/service_hostname.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/service_hostname_test.go b/pkg/server/service_hostname_test.go index 9f7ae88..4bd8f3e 100644 --- a/pkg/server/service_hostname_test.go +++ b/pkg/server/service_hostname_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/pkg/server/testing.go b/pkg/server/testing.go index d4fc632..7795517 100644 --- a/pkg/server/testing.go +++ b/pkg/server/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package server import ( diff --git a/proto/defs/validate.proto b/proto/defs/validate.proto index 7767f0a..4f63eab 100644 --- a/proto/defs/validate.proto +++ b/proto/defs/validate.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto2"; package validate; diff --git a/proto/server.proto b/proto/server.proto index 4747a37..2d14b05 100644 --- a/proto/server.proto +++ b/proto/server.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package hashicorp.waypoint_hzn;