File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ win_vm_definition: &WINDOWS_VM_DEFINITION
33
33
type : n1-standard-8
34
34
use_ssd : true
35
35
36
- build_task :
36
+ build_container_definition : &BUILD_CONTAINER_DEFINITION
37
37
gke_container :
38
38
dockerfile : .cirrus/python-env.Dockerfile
39
39
builder_image_project : language-team
@@ -43,6 +43,9 @@ build_task:
43
43
namespace : default
44
44
cpu : 2
45
45
memory : 2G
46
+
47
+ build_task :
48
+ << : *BUILD_CONTAINER_DEFINITION
46
49
env :
47
50
GITHUB_TOKEN : ENCRYPTED[!f458126aa9ed2ac526f220c5acb51dd9cc255726b34761a56fc78d4294c11089502a882888cef0ca7dd4085e72e611a5!]
48
51
# analysis on next
@@ -76,10 +79,7 @@ build_win_task:
76
79
ws_scan_task :
77
80
depends_on :
78
81
- build
79
- gke_container :
80
- << : *CONTAINER_DEFINITION
81
- cpu : 2
82
- memory : 2G
82
+ << : *BUILD_CONTAINER_DEFINITION
83
83
# run only on master and long-term branches
84
84
only_if : $CIRRUS_USER_COLLABORATOR == 'true' && ($CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*")
85
85
env :
Original file line number Diff line number Diff line change @@ -15,3 +15,14 @@ wss.url=https://saas-eu.whitesourcesoftware.com/agent
15
15
forceUpdate=true
16
16
checkPolicies=true
17
17
forceUpdate.failBuildOnPolicyViolation=true
18
+
19
+ # Python dependencies https://whitesource.atlassian.net/wiki/spaces/WSK/pages/2446229505/Configuring+the+Unified+Agent+for+Python
20
+ python.resolveDependencies = true
21
+
22
+ python.installVirtualenv = true
23
+
24
+ python.resolveHierarchyTree = true
25
+
26
+ python.ignorePipInstallErrors = false
27
+
28
+ python.resolvePipEditablePackages = true
You can’t perform that action at this time.
0 commit comments