Documentation ¶
Index ¶
Constants ¶
View Source
const ( DATASET_DIR = "dataset" DA_JSON = "da.json" TRACKING_JSON = "tracking.json" INFO_JSON = "info.json" ADDITIONAL_REPOS = "additional-repos.json" BUILD_MVN = "MVN" BUILD_NPM = "NPM" )
Variables ¶
This section is empty.
Functions ¶
func Run ¶
*
- For each group build or normal build, generate folder structure as below. *
- dataset
- # for group build
- |--2836 => group build id
- |-- info.json => info about this test dataset, e.g, pnc base url, which is useful to orchestrator
- |-- group-build.json => Get by "/pnc-rest/v2/group-builds/2836"
- |-- dependency-graph.json => Get by "/pnc-rest/v2/group-builds/2836/dependency-graph"
- |-- builds
- |-- ...
- |-- AMJMVSDA5EAAE
- |-- da.json => metadata list, parsed from alignment log "/pnc-rest/v2/builds/AMJMVSDA5EAAE/logs/align"
- |-- tracking.json => indy tracking record, get by "http://<indy>/api/folo/admin/build-AMJMVSDA5EAAE/report" *
- # for normal build, we download similar files but ignore the dependencies
- |-- AMJMVSDA5EAAA => build id
- |-- info.json => same as above
- |-- build.json => Get by "/pnc-rest/v2/builds/AMJMVSDA5EAAA"
- |-- da.json => same as above
- |-- tracking.json => same as above
Types ¶
type BuildQueue ¶
type BuildQueue struct {
Builds []Build
}
Click to show internal directories.
Click to hide internal directories.