Commit 9361b7c
committed
ci: scan each published package as its own FOSSA project
Switch the FOSSA workflow from a single gooddata-python-sdk project (with
all 8 packages' deps merged) to one FOSSA project per PyPI artifact:
gooddata-sdk, gooddata-pandas, gooddata-dbt, gooddata-fdw,
gooddata-flight-server, gooddata-flexconnect, gooddata-pipelines, and
gooddata-api-client.
This aligns FOSSA's data model with how the artifacts are actually
shipped: each PyPI package has its own license inventory, attribution
report, and policy gate, and the FOSSA "branch" axis is freed up for
its intended purpose (tracking license drift across git branches over
time).
The legacy gooddata-python-sdk project keeps the historical
fossa_gd_* branch snapshots; new scans no longer write to it.
Local `fossa analyze` invocations still target the legacy project
via the committed .fossa.yml so ad-hoc runs cannot accidentally
pollute the per-package projects.
Implementation is a matrix workflow: each shard rewrites .fossa.yml
with its project id + paths.only, then runs fossa-action's analyze
and test steps. fail-fast is disabled so one package's policy
failure does not mask the others. The branch label defaults to
github.ref_name (the dispatched git ref) with an optional manual
override input.
Prerequisites for the first dispatch to fully succeed:
- The seven new FOSSA project ids must be auto-creatable (or pre-
provisioned) by an admin if the org restricts project creation.
- Confirm with whoever owns the FOSSA contract that moving from 1 to
8 projects has no licensing/billing impact under the current plan.
JIRA: TRIVIAL
risk: nonprod1 parent 1c4dfe4 commit 9361b7c
2 files changed
Lines changed: 40 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
7 | 15 | | |
8 | 16 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | 41 | | |
26 | 42 | | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
30 | | - | |
| 46 | + | |
31 | 47 | | |
32 | 48 | | |
33 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
34 | 59 | | |
35 | 60 | | |
36 | 61 | | |
| |||
41 | 66 | | |
42 | 67 | | |
43 | 68 | | |
44 | | - | |
| 69 | + | |
45 | 70 | | |
46 | 71 | | |
47 | 72 | | |
48 | 73 | | |
49 | 74 | | |
50 | 75 | | |
| 76 | + | |
0 commit comments