Skip to content

Commit 0557096

Browse files
fix: updated language DOC-1037 (#34)
* docs: updated language DOC-1037 * fix: applied license header
1 parent ec2dc31 commit 0557096

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+343
-182
lines changed

.copywrite.hcl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
schema_version = 1
2+
3+
project {
4+
copyright_holder = "Spectro Cloud"
5+
license = "Apache-2.0"
6+
copyright_year = 2024
7+
8+
# (OPTIONAL) A list of globs that should not have copyright/license headers.
9+
# Supports doublestar glob patterns for more flexibility in defining which
10+
# files or folders should be ignored
11+
header_ignore = [
12+
# "vendors/**",
13+
# "**autogen**",
14+
]
15+
}

.releaserc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Spectro Cloud
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
branches: [main]
25
repositoryUrl: https://github.com/spectrocloud/tutorials
36
plugins:

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Spectro Cloud
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
ARG PALETTE_VERSION
25

36
FROM gcr.io/spectro-images-public/release/spectro-registry:${PALETTE_VERSION} as server

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.PHONY: license
2+
13
init: ## Install dependencies and setup the project
24
@echo "initializing npm dependencies"
35
npm ci
@@ -17,4 +19,9 @@ build-docker: ## Build docker image
1719
--build-arg PACKER_VERSION=$(PACKER_VERSION) \
1820
--build-arg ORAS_VERSION=$(PACKER_VERSION) \
1921
--build-arg TERRAFORM_VERSION=$(TERRAFORM_VERSION) \
20-
-t tutorials .
22+
-t tutorials .
23+
24+
25+
license: ## Adds a license header to all files. Reference https://github.com/hashicorp/copywrite to learn more.
26+
@echo "Applying license headers..."
27+
copywrite headers

commitlint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (c) Spectro Cloud
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
module.exports = {
27
extends: [
38
'@commitlint/config-conventional'

edge/vmware/clone_vm_template/delete-edge-host.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# Copyright (c) Spectro Cloud
3+
# SPDX-License-Identifier: Apache-2.0
4+
25

36
source ./setenv.sh
47

edge/vmware/clone_vm_template/delete-packer-cache.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# Copyright (c) Spectro Cloud
3+
# SPDX-License-Identifier: Apache-2.0
4+
25

36
source /edge/vmware/clone_vm_template/setenv.sh
47

edge/vmware/clone_vm_template/deploy-edge-host.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# Copyright (c) Spectro Cloud
3+
# SPDX-License-Identifier: Apache-2.0
4+
25

36
source ./setenv.sh
47

edge/vmware/clone_vm_template/setenv.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# Copyright (c) Spectro Cloud
3+
# SPDX-License-Identifier: Apache-2.0
4+
25
# Number of VMs to provision
36
export NO_OF_VMS=3
47
export VM_PREFIX="demo"

edge/vmware/packer/build.pkr.hcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Spectro Cloud
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
packer {
25
required_plugins {
36
vsphere = {

0 commit comments

Comments
 (0)