Skip to content

Commit

Permalink
try to run licenses on gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Jan 10, 2025
1 parent f16bd0c commit 36b3335
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ stages:
- maintenance_jobs
- deps_build
- deps_fetch
- lint
- source_test
- source_test_stats
- software_composition_analysis
Expand Down
11 changes: 11 additions & 0 deletions .gitlab/lint/technical_linters.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
.lint:
stage: lint
image: registry.ddbuild.io/ci/datadog-agent-buildimages/deb_x64$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES
Expand All @@ -8,3 +9,13 @@ validate_modules:
needs: []
script:
- inv -e modules.validate

lint_licenses:
extends: .lint
script:
- !reference [.retrieve_linux_go_deps]
- !reference [.retrieve_linux_go_tools_deps]
- inv -e install-tools
- inv -e lint-licenses
needs: ["go_tools_deps", "go_deps"]

0 comments on commit 36b3335

Please sign in to comment.