diff --git a/helm/data_template.go b/helm/data_template.go index dbecef7f49..1d203b9e80 100644 --- a/helm/data_template.go +++ b/helm/data_template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/data_template_test.go b/helm/data_template_test.go index 6202616712..13331ee1b6 100644 --- a/helm/data_template_test.go +++ b/helm/data_template_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/manifest_json.go b/helm/manifest_json.go index aaa7086143..ffd6c62c13 100644 --- a/helm/manifest_json.go +++ b/helm/manifest_json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/manifest_json_test.go b/helm/manifest_json_test.go index be3f256bb5..63e2130244 100644 --- a/helm/manifest_json_test.go +++ b/helm/manifest_json_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/provider.go b/helm/provider.go index a80b74f6fc..f3d9f93a17 100644 --- a/helm/provider.go +++ b/helm/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/provider_test.go b/helm/provider_test.go index c7d5540994..0ed037afcc 100644 --- a/helm/provider_test.go +++ b/helm/provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/resource_release.go b/helm/resource_release.go index 1cc75bbe10..02136037b3 100644 --- a/helm/resource_release.go +++ b/helm/resource_release.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/resource_release_test.go b/helm/resource_release_test.go index b7d6af93ea..f449d643a2 100644 --- a/helm/resource_release_test.go +++ b/helm/resource_release_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/structure_kubeconfig.go b/helm/structure_kubeconfig.go index f86f74f37a..5e16b5ff81 100644 --- a/helm/structure_kubeconfig.go +++ b/helm/structure_kubeconfig.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helm import ( diff --git a/helm/test-infra/gke/kubeconfig-template.yaml b/helm/test-infra/gke/kubeconfig-template.yaml index 3cc55d3bd9..40e5b63060 100644 --- a/helm/test-infra/gke/kubeconfig-template.yaml +++ b/helm/test-infra/gke/kubeconfig-template.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + apiVersion: v1 kind: Config preferences: diff --git a/helm/test-infra/gke/main.tf b/helm/test-infra/gke/main.tf index 009d297a88..dc408a8f03 100644 --- a/helm/test-infra/gke/main.tf +++ b/helm/test-infra/gke/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "google" { version = "~> 2.0" // Provider settings to be provided via ENV variables diff --git a/helm/test-infra/install-helm-via-docker.sh b/helm/test-infra/install-helm-via-docker.sh index e52b5e2171..f21776cdf7 100755 --- a/helm/test-infra/install-helm-via-docker.sh +++ b/helm/test-infra/install-helm-via-docker.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e which docker > /dev/null diff --git a/main.go b/main.go index deee1e25b7..83a0c8c35b 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/scripts/changelog-links.sh b/scripts/changelog-links.sh index 459e7a31e0..4bf4b020d0 100755 --- a/scripts/changelog-links.sh +++ b/scripts/changelog-links.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This script rewrites [GH-nnnn]-style references in the CHANGELOG.md file to # be Markdown links to the given github issues. diff --git a/scripts/errcheck.sh b/scripts/errcheck.sh index 15464f5aa3..2589dc8569 100755 --- a/scripts/errcheck.sh +++ b/scripts/errcheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Check gofmt echo "==> Checking for unchecked errors..." diff --git a/scripts/get-version-matrix.sh b/scripts/get-version-matrix.sh index fb50710229..686e2f023d 100755 --- a/scripts/get-version-matrix.sh +++ b/scripts/get-version-matrix.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function get_latest_version() { curl -s https://api.github.com/repos/hashicorp/terraform/git/refs/tags | \ diff --git a/scripts/gofmtcheck.sh b/scripts/gofmtcheck.sh index 1c055815f8..26b3ff679f 100755 --- a/scripts/gofmtcheck.sh +++ b/scripts/gofmtcheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Check gofmt echo "==> Checking that code complies with gofmt requirements..." diff --git a/scripts/gogetcookie.sh b/scripts/gogetcookie.sh index 1d880a4d99..b7bb88cc8c 100755 --- a/scripts/gogetcookie.sh +++ b/scripts/gogetcookie.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + eval 'set +o history' 2>/dev/null || setopt HIST_IGNORE_SPACE 2>/dev/null touch ~/.gitcookies chmod 0600 ~/.gitcookies diff --git a/scripts/markdown-link-check.sh b/scripts/markdown-link-check.sh index d64aec163c..89dc8a473f 100755 --- a/scripts/markdown-link-check.sh +++ b/scripts/markdown-link-check.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Local script runner for recursive markdown-link-check. # Runs a dockerized version of this program: https://github.com/tcort/markdown-link-check # Based on: https://github.com/gaurav-nelson/github-action-markdown-link-check/blob/master/entrypoint.sh diff --git a/tools/tools.go b/tools/tools.go index f770edf2d3..307faf2a51 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build tools // +build tools