Skip to content

Commit ae1c4c9

Browse files
Merge pull request #6932 from DataDog/spencergilbert/use-dd-pkg-for-package-linting
Lint produced deb and rpm packages
2 parents e971604 + 1237bc7 commit ae1c4c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,14 @@ package:
9494
when: on_success # this can't use 'needs: [build]', since build is not available in the scheduled pipeline
9595
script:
9696
- ../.gitlab/build_java_package.sh
97+
- find . -iregex '.*\.\(deb\|rpm\)' -printf '%f\0' | xargs -0 dd-pkg lint
9798

9899
package-arm:
99100
extends: .package-arm
100101
when: on_success # this can't use 'needs: [build]', since build is not available in the scheduled pipeline
101102
script:
102103
- ../.gitlab/build_java_package.sh
104+
- find . -iregex '.*\.\(deb\|rpm\)' -printf '%f\0' | xargs -0 dd-pkg lint
103105

104106
package-oci:
105107
stage: package

0 commit comments

Comments
 (0)