Update third_party files with skip license headers

Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
This commit is contained in:
James Munnelly 2018-08-13 15:49:46 +01:00
parent 1c2380f7b4
commit 813996b07d
18 changed files with 40 additions and 210 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
# +skip_license_check
# Copyright 2015 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@ -1,4 +1,7 @@
#!/bin/bash
# +skip_license_check
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");

View File

@ -1,5 +1,7 @@
#!/bin/bash
# +skip_license_check
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@ -71,16 +73,16 @@ for file in ${mdFiles}; do
ref=${ref%)*}
# An external href (ie. starts with http)
if [ "${ref:0:4}" == "http" ]; then
if [ "${ref:0:4}" == "http" ]; then
if ! curl --connect-timeout 10 -o /dev/null ${ref} > /dev/null 2>&1 ; then
echo $file: Can\'t load: url ${ref} | tee -a ${tmp}3
fi
continue
fi
# Local file href - skip for now.
# Local file href - skip for now.
# TODO add support for checking these
if [ "${ref:0:1}" == "#" ]; then
if [ "${ref:0:1}" == "#" ]; then
ref=${ref:1}
if ! grep "^$ref$" ${tmp}anchors1 > /dev/null 2>&1 ; then
echo $file: Can\'t find anchor \'\#${ref}\' | tee -a ${tmp}3

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,18 +1,4 @@
/*
Copyright 2018 The Jetstack cert-manager contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +skip_license_check
/*
This file contains portions of code directly taken from the 'xenolf/lego' project.

View File

@ -1,17 +1,6 @@
#!/usr/bin/env bash
## This script has been taken from https://github.com/kubernetes-helm/chart-testing
## It has the same dependencies as described in that repo, and should ideally be run
## within the docker image published by that same repository in order to make sure
## the correct dependencies are included.
##
## Run from within the root of the repository with:
##
## docker run --rm -v "$(pwd):/workdir" --workdir /workdir \
## gcr.io/kubernetes-charts-ci/chart-testing:v1.0.2 \
## /workdir/test/chart_test.sh \
## --no-install \
## --config test/.testenv
# +skip_license_check
# Copyright 2018 The Helm Authors. All rights reserved.
#
@ -27,6 +16,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.
## This script has been taken from https://github.com/kubernetes-helm/chart-testing
## It has the same dependencies as described in that repo, and should ideally be run
## within the docker image published by that same repository in order to make sure
## the correct dependencies are included.
##
## Run from within the root of the repository with:
##
## docker run --rm -v "$(pwd):/workdir" --workdir /workdir \
## gcr.io/kubernetes-charts-ci/chart-testing:v1.0.2 \
## /workdir/test/chart_test.sh \
## --no-install \
## --config test/.testenv
set -o errexit
set -o nounset
set -o pipefail

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
# +skip_license_check
# Copyright 2018 The Helm Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");