Skip to content

Commit

Permalink
chore(ci): Add missing licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
gansheer committed Jun 18, 2024
1 parent 3824af0 commit 51babb1
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 70 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/licenses.yaml

This file was deleted.

26 changes: 18 additions & 8 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,24 @@ on:
branches:
- main
- "release-*"
paths:
- 'pkg/**'
- 'cmd/**'
- 'addons/**'
paths-ignore:
- 'proposals/**'
- '**.adoc'
- '**.md'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
push:
branches:
- main
- "release-*"
paths:
- 'pkg/**'
- 'cmd/**'
- 'addons/**'
paths-ignore:
- 'proposals/**'
- '**.md'
- '**.adoc'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
Expand All @@ -54,3 +60,7 @@ jobs:
shell: bash
run: |
make lint
- name: licenses
shell: bash
run: |
make check-licenses
17 changes: 17 additions & 0 deletions e2e/advanced/files/camel-k-tekton.yaml
Original file line number Diff line number Diff line change
@@ -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: ServiceAccount
Expand Down
2 changes: 2 additions & 0 deletions e2e/advanced/files/promote-route-edited.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# camel-k: language=yaml

# ---------------------------------------------------------------------------
# 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.
Expand All @@ -14,6 +15,7 @@
# 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:
uri: "timer:configmap"
Expand Down
2 changes: 2 additions & 0 deletions e2e/advanced/files/promote-route.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# camel-k: language=yaml

# ---------------------------------------------------------------------------
# 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.
Expand All @@ -14,6 +15,7 @@
# 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:
uri: "timer:configmap"
Expand Down
2 changes: 2 additions & 0 deletions e2e/advanced/files/timer-kamelet-usage.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ---------------------------------------------------------------------------
# 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.
Expand All @@ -12,6 +13,7 @@
# 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:
uri: "kamelet:my-own-timer-source?message=Hello+world"
Expand Down
2 changes: 2 additions & 0 deletions e2e/advanced/files/timer-source.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# camel-k: language=yaml

# ---------------------------------------------------------------------------
# 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.
Expand All @@ -14,6 +15,7 @@
# 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:
uri: "kamelet:timer-source?message=Magicstring!&period=3000"
Expand Down
2 changes: 2 additions & 0 deletions e2e/common/traits/files/PodTest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# camel-k: language=yaml

# ---------------------------------------------------------------------------
# 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.
Expand All @@ -14,6 +15,7 @@
# 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:
uri: "file:///var/log"
Expand Down

0 comments on commit 51babb1

Please sign in to comment.