forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Add a .fossa.yml configuration file for analyzing Maven, Java, Python, and JavaScript open-source dependencies. Test Plan: fossa Jenkins: skip Reviewers: steve.varnau Reviewed By: steve.varnau Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D10464
- Loading branch information
Showing
2 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright (c) Yugabyte, Inc. | ||
# | ||
# To analyze (without uploading to Fossa) -- for local debugging: | ||
# fossa analyze --debug --output | ||
# | ||
# To analyze and upload dependencies: | ||
# fossa analyze --debug | ||
|
||
version: 2 | ||
cli: | ||
server: https://app.fossa.com | ||
fetcher: custom | ||
project: [email protected]:yugabyte/yugabyte-db.git | ||
analyze: | ||
modules: | ||
- name: Yugabyte RPC Client | ||
type: mvn | ||
target: pom.xml | ||
path: java | ||
options: | ||
strategy: maven-tree | ||
cmd: | | ||
set -euo pipefail -x | ||
cd java | ||
mvn --batch-mode dependency:tree | ||
- name: Yugabyte Platform | ||
type: mvn | ||
target: pom.xml | ||
path: managed | ||
options: | ||
strategy: maven-tree | ||
cmd: | | ||
set -euo pipefail -x | ||
cd managed | ||
mvn --batch-mode dependency:tree -f "$( | ||
USE_MAVEN_LOCAL=true sbt -Dsbt.log.noformat=true make-pom | perl -n -e '/^\[info\] Wrote (.*[.]pom)$/ && print $1' | ||
)" | ||
- name: ui | ||
type: npm | ||
target: managed/ui | ||
path: managed/ui | ||
- name: opscli | ||
type: pip | ||
target: managed/devops | ||
path: managed/devops | ||
options: | ||
requirements: managed/devops/python_requirements_frozen.txt |