mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-10-22 18:08:11 +00:00
ci: Introduce workflow for compliance
It includes jobs for checking DCO and reuse. The latter is set to allow fails as the repository is not yet reuse compliant. When that is done, we can switch it. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
This commit is contained in:
1 parent
3786353f51
commit
637393827d
6 files changed
+146
No files matched your search
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
_log() {
|
||||
_level="$1"
|
||||
_msg="$2"
|
||||
echo "[$_level] $_msg"
|
||||
}
|
||||
|
||||
error() {
|
||||
_msg="$1"
|
||||
_log "ERR" "$1"
|
||||
exit 1
|
||||
}
|
||||
|
||||
warn() {
|
||||
_msg="$1"
|
||||
_log "WRN" "$1"
|
||||
exit 1
|
||||
}
|
||||
|
||||
log() {
|
||||
_msg="$1"
|
||||
_log "LOG" "$1"
|
||||
}
|
||||
Reference in new issue
Block a user