Skip to content

Commit 28c7fb8

Browse files
committed
Merge branch 'main' of https://github.com/apache/cloudstack-go into fix-vm-usage-history
2 parents 74a5a52 + 161e222 commit 28c7fb8

29 files changed

+84413
-81439
lines changed

.github/workflows/rat.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525

2626
- name: Download Apache RAT
2727
run: |
28-
curl -L -O https://downloads.apache.org/creadur/apache-rat-0.16.1/apache-rat-0.16.1-bin.tar.gz
29-
tar -xzf apache-rat-0.16.1-bin.tar.gz
28+
curl -L -O https://downloads.apache.org/creadur/apache-rat-0.17/apache-rat-0.17-bin.tar.gz
29+
tar -xzf apache-rat-0.17-bin.tar.gz
3030
3131
- name: Run RAT
3232
run: |
33-
java -jar apache-rat-0.16.1/apache-rat-0.16.1.jar -d . -E .rat-excludes > rat-report.txt
33+
java -jar apache-rat-0.17/apache-rat-0.17.jar -d . -E .rat-excludes > rat-report.txt
3434
cat rat-report.txt
3535
# Fail if unapproved licenses are found
36-
grep -qe '^0 Unknown Licenses' rat-report.txt && exit 0 || exit 1
36+
grep -qe '^\s*Unapproved:\s*0\s*A count of unapproved licenses.$' rat-report.txt && exit 0 || exit 1

.rat-excludes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
go.mod
33
go.sum
44
rat-report.txt
5-
apache-rat-0.16.1
5+
apache-rat-0.17

0 commit comments

Comments
 (0)