Skip to content

Commit

Permalink
Disable artifact in task
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Aufart <maufart@redhat.com>
  • Loading branch information
aufi committed Jun 7, 2024
1 parent ab7aaba commit 8e81582
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion analysis/analysis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ func TestApplicationAnalysis(t *testing.T) {
taskData["scope"] = *tc.Scope
}

taskData["mode"].(api.Map)["artifact"] = tc.Artifact
// Temporary disabling artifact / binary upload
//taskData["mode"].(api.Map)["artifact"] = tc.Artifact
tc.Task.Data = taskData
assert.Should(t, RichClient.Task.Create(&tc.Task))

Expand Down
7 changes: 3 additions & 4 deletions analysis/analyzer_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ var Analyze = api.Task{
var defaultAnalyzerData = api.Map{
"output": "/windup/report",
"mode": api.Map{
"Artifact": "",
"Binary": false,
"WithDeps": false,
// Diva: true,
"artifact": "",
"binary": false,
"withDeps": false,
},
"scope": api.Map{
"withKnown": false,
Expand Down

0 comments on commit 8e81582

Please sign in to comment.