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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COMPLIANCE] Add Copyright and License Headers #22

Merged
merged 1 commit into from Dec 12, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

self-hosted-runner:
# Labels of self-hosted runner in array of string
labels: []
3 changes: 3 additions & 0 deletions action.yml
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

name: Go Build
author: Release Engineering <team-rel-eng@hashicorp.com>
description: Define a reproducible build. Currently only supports Go builds.
Expand Down
3 changes: 3 additions & 0 deletions dev/docs/markdown_table.bash
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

# Bash library

markdown_table_rows() {
Expand Down
3 changes: 3 additions & 0 deletions internal/config/config.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/config/config_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/config/envvars.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/config/envvars_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/log/log.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package log

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/unzipper/unzipper.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package unzipper

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/zipper/zipper.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package zipper

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/zipper/zipper_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package zipper

import (
Expand Down
3 changes: 3 additions & 0 deletions main.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/build.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/config.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/env.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/hashes.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/localverification.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/manager.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/manager_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/parameters.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/parameters_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/paths.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/primary.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

// Primary is the primary build. This is run in the current working
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/remotebuild.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/result.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/runner.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/runner_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/settings.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/tempdirs.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/testdata/product1/main.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package main

import "fmt"
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/verificationresult.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/build/verifier.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package build

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/build.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/buildflags.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/buildish.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/buildish_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/config.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/helptexts.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

const buildInstructionsHelp = `
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/inspect.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/logopts.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/outputopts.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/primarybuild.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/root.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/verify.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/verifyish.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/commands/version.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package commands

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/file.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

// File is a file produced during the build.
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/filehashes.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/filepair.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

// FilePair represents a pair of files that should be identical.
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/filesethashes.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/hashpair.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import "github.com/hashicorp/actions-go-build/pkg/digest"
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/product.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/product_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/productversion.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/productversion_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/repocontext.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/crt/repocontext_test.go
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package crt

import (
Expand Down