Skip to content

Commit

Permalink
fix: Align license headers validation. (#193)
Browse files Browse the repository at this point in the history
* fix: Align license headers validation.

Signed-off-by: Oleksandr Andriienko <[email protected]>
  • Loading branch information
AndrienkoAleksandr authored Nov 15, 2021
1 parent f5bea01 commit bd47a21
Show file tree
Hide file tree
Showing 69 changed files with 107 additions and 104 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: Code Coverage Report
on: [push]
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dependencies-md-check.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
# Copyright (c) 2019-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
# Copyright (c) 2019-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
# Contributors:
# Red Hat, Inc. - initial API and implementation
#
name: DEPENDENCIES.md file validation
on: pull_request
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gh_actions_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: Docker Build PR

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gh_actions_unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: Unit Tests

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: Che Machine Exec
on: [pull_request]
Expand All @@ -17,8 +18,13 @@ jobs:
name: License
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Checkout repo
uses: actions/checkout@v2
- name: Check Eclipse license headers
run: |
go get -u github.com/che-incubator/check-license-header@379ba18fdb906d341ae451ea155cc34f1c4b4f1a
/bin/bash scripts/license.sh check
1 change: 1 addition & 0 deletions .github/workflows/next-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: Machine Exec Next Build

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: Release Che Machine Exec

Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

language: go
go:
Expand Down
2 changes: 2 additions & 0 deletions .travis/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

set -e

#shellcheck disable=SC1073 disable=SC2066 disable=SC2153
Expand Down
1 change: 1 addition & 0 deletions activity/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package activity

Expand Down
1 change: 1 addition & 0 deletions api/events/event_bus.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package events

Expand Down
1 change: 1 addition & 0 deletions api/jsonrpc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package jsonrpc

Expand Down
1 change: 1 addition & 0 deletions api/jsonrpc/jsonrpc-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package jsonrpc

Expand Down
1 change: 1 addition & 0 deletions api/model/model_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package model

Expand Down
1 change: 1 addition & 0 deletions api/rest/activity.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package rest

Expand Down
1 change: 1 addition & 0 deletions api/rest/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package rest

Expand Down
1 change: 1 addition & 0 deletions api/rest/execInit.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package rest

Expand Down
1 change: 1 addition & 0 deletions api/rest/execKubeConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package rest

Expand Down
1 change: 1 addition & 0 deletions api/websocket/attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package websocket

Expand Down
1 change: 1 addition & 0 deletions api/websocket/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package websocket

Expand Down
1 change: 1 addition & 0 deletions auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package auth

Expand Down
1 change: 1 addition & 0 deletions auth/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package auth

Expand Down
1 change: 1 addition & 0 deletions auth/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package auth

Expand Down
1 change: 1 addition & 0 deletions cfg/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package cfg

Expand Down
1 change: 1 addition & 0 deletions cfg/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package cfg

Expand Down
1 change: 1 addition & 0 deletions client/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package client

Expand Down
1 change: 1 addition & 0 deletions client/kubernetes_client_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package client

Expand Down
1 change: 1 addition & 0 deletions common/rest/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package rest

Expand Down
1 change: 1 addition & 0 deletions common/rest/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package rest

Expand Down
2 changes: 2 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (c) 2019-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
Expand All @@ -8,6 +9,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

function compile() {

Expand Down
1 change: 1 addition & 0 deletions devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

apiVersion: 1.0.0
metadata:
Expand Down
1 change: 1 addition & 0 deletions exec-info/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec_info

Expand Down
1 change: 1 addition & 0 deletions exec-info/info-exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec_info

Expand Down
1 change: 1 addition & 0 deletions exec-info/kubernetes_info_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec_info

Expand Down
1 change: 1 addition & 0 deletions exec-info/kubernetes_info_exec_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec_info

Expand Down
1 change: 1 addition & 0 deletions exec/activity-connection-saver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/command_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/command_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/exec-manager-provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/health-watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/health-watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/kubernetes_exec_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/namespace_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions exec/pty_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package exec

Expand Down
1 change: 1 addition & 0 deletions filter/container_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// Contributors:
// Red Hat, Inc. - initial API and implementation
//

package filter

Expand Down
Loading

0 comments on commit bd47a21

Please sign in to comment.