Logo
Explore Help
Sign In
mirrors/ceph-csi
1
0
Fork 0
You've already forked ceph-csi
mirror of https://github.com/ceph/ceph-csi.git synced 2025-06-02 11:56:41 +00:00
Code Issues Packages Projects Releases Wiki Activity
ceph-csi/e2e/vendor/go.uber.org/zap/checklicense.sh

18 lines
294 B
Bash
Raw Normal View History

build: move e2e dependencies into e2e/go.mod Several packages are only used while running the e2e suite. These packages are less important to update, as the they can not influence the final executable that is part of the Ceph-CSI container-image. By moving these dependencies out of the main Ceph-CSI go.mod, it is easier to identify if a reported CVE affects Ceph-CSI, or only the testing (like most of the Kubernetes CVEs). Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-03-04 08:57:28 +01:00
#!/bin/bash -e
ERROR_COUNT=0
while read -r file
do
case "$(head -1 "${file}")" in
*"Copyright (c) "*" Uber Technologies, Inc.")
# everything's cool
;;
*)
echo "$file is missing license header."
(( ERROR_COUNT++ ))
;;
esac
done < <(git ls-files "*\.go")
exit $ERROR_COUNT
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 94ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API