From 0873135b423bb17c4d7b15254192f8bc6afe9c99 Mon Sep 17 00:00:00 2001 From: Wilfred Spiegelenburg Date: Mon, 2 Aug 2021 15:29:11 +1000 Subject: [PATCH] [YUNIKORN-768] Add missing license header (addendum) --- .github/workflows/main.yml | 3 --- .../predicates/pod-with-toleration.yaml | 17 +++++++++++++++++ scripts/kind.yaml | 19 ++++++++++++++++++- test/e2e/predicates/predicates_suite_test.go | 18 ++++++++++++++++++ 4 files changed, 53 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0c834403..878078eb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,6 +45,3 @@ jobs: - run: ./scripts/run-e2e-tests.sh -a "test" -n "yk8s" -v "kindest/node:${KIND_NODE_IMAGE}" env: KIND_NODE_IMAGE: ${{ matrix.k8s }} - - - diff --git a/deployments/examples/predicates/pod-with-toleration.yaml b/deployments/examples/predicates/pod-with-toleration.yaml index 1619c544b..a57c1ceda 100644 --- a/deployments/examples/predicates/pod-with-toleration.yaml +++ b/deployments/examples/predicates/pod-with-toleration.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + apiVersion: v1 kind: Pod metadata: diff --git a/scripts/kind.yaml b/scripts/kind.yaml index 38a47e585..a50484355 100644 --- a/scripts/kind.yaml +++ b/scripts/kind.yaml @@ -1,6 +1,23 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - role: worker - - role: worker \ No newline at end of file + - role: worker diff --git a/test/e2e/predicates/predicates_suite_test.go b/test/e2e/predicates/predicates_suite_test.go index 87609071b..18dc1205d 100644 --- a/test/e2e/predicates/predicates_suite_test.go +++ b/test/e2e/predicates/predicates_suite_test.go @@ -1,3 +1,21 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/ + package predicates_test import (