diff --git a/common.sh b/common.sh index 81eca53..ba1bf66 100644 --- a/common.sh +++ b/common.sh @@ -1,5 +1,19 @@ #!/bin/bash -e +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # get the build environment variables from the special build.vars target in the main makefile eval $(make --no-print-directory -C ${scriptdir}/.. build.vars) diff --git a/cross/Dockerfile b/cross/Dockerfile index 6769224..f3ba694 100644 --- a/cross/Dockerfile +++ b/cross/Dockerfile @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + FROM ubuntu:16.04 # ------------------------------------------------------------------------------------------------ diff --git a/cross/Makefile b/cross/Makefile index 35dfa7d..edb6876 100644 --- a/cross/Makefile +++ b/cross/Makefile @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Setup Project diff --git a/cross/rsyncd.sh b/cross/rsyncd.sh index 6790891..35ff953 100755 --- a/cross/rsyncd.sh +++ b/cross/rsyncd.sh @@ -1,5 +1,19 @@ #!/bin/bash -e +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + VOLUME=${VOLUME:-/volume} ALLOW=${ALLOW:-192.168.0.0/16 172.16.0.0/12 10.0.0.0/8} OWNER=${OWNER:-nobody} diff --git a/cross/run.sh b/cross/run.sh index 3529fe4..27b9aba 100755 --- a/cross/run.sh +++ b/cross/run.sh @@ -1,5 +1,19 @@ #!/bin/bash -e +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + ARGS="$@" if [ $# -eq 0 ]; then ARGS=/bin/bash diff --git a/cross/xvfb-chrome b/cross/xvfb-chrome index 375042f..ae88a91 100755 --- a/cross/xvfb-chrome +++ b/cross/xvfb-chrome @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + _kill_procs() { kill -TERM $chrome wait $chrome diff --git a/makelib/common.mk b/makelib/common.mk index ca4d4cd..c8fda9f 100644 --- a/makelib/common.mk +++ b/makelib/common.mk @@ -1,4 +1,4 @@ -# Copyright 2016 The Rook Authors. All rights reserved. +# Copyright 2016 The Upbound Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/makelib/docs.mk b/makelib/docs.mk index 109d424..7bdc574 100644 --- a/makelib/docs.mk +++ b/makelib/docs.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/makelib/golang.mk b/makelib/golang.mk index eaad270..d86bb4b 100644 --- a/makelib/golang.mk +++ b/makelib/golang.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/makelib/helm.mk b/makelib/helm.mk index fbe087c..b7b3f4d 100644 --- a/makelib/helm.mk +++ b/makelib/helm.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + ifeq ($(HELM_CHARTS),) $(error the variable HELM_CHARTS must be set prior to including helm.mk) endif diff --git a/makelib/image.mk b/makelib/image.mk index 7e09ebd..fcf778c 100644 --- a/makelib/image.mk +++ b/makelib/image.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/makelib/kubebuilder.mk b/makelib/kubebuilder.mk index e8ba290..5a38344 100644 --- a/makelib/kubebuilder.mk +++ b/makelib/kubebuilder.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/makelib/nodejs.mk b/makelib/nodejs.mk index a336823..6c30c6d 100644 --- a/makelib/nodejs.mk +++ b/makelib/nodejs.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/makelib/output.mk b/makelib/output.mk index c80b734..53b9803 100644 --- a/makelib/output.mk +++ b/makelib/output.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/makelib/yarnjs.mk b/makelib/yarnjs.mk index bc673fb..648a599 100644 --- a/makelib/yarnjs.mk +++ b/makelib/yarnjs.mk @@ -1,3 +1,17 @@ +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + # ==================================================================================== # Options diff --git a/reset b/reset index 832dc19..a5904ef 100755 --- a/reset +++ b/reset @@ -1,5 +1,19 @@ #!/bin/bash -e +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "${scriptdir}/common.sh" diff --git a/run b/run index db80ab1..290bb9b 100755 --- a/run +++ b/run @@ -1,5 +1,19 @@ #!/bin/bash -e +# Copyright 2016 The Upbound Authors. All rights reserved. +# +# 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. + scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "${scriptdir}/common.sh"