Skip to content

Commit

Permalink
add property, github path
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmonteiro committed Jun 18, 2024
1 parent bd075c0 commit 285d154
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions operator.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"urls": ["https://github.com/tercen/workflow_runner_operator"],
"container":"tercen/workflow_runner_operator:latest",
"properties": [
{
"kind": "BooleanProperty",
"name": "Report Mode",
"defaultValue": false,
"description": ""
},
{
"kind": "DoubleProperty",
"name": "Memory",
Expand Down
10 changes: 4 additions & 6 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,12 @@ def run(argv):
outDf2 = pl.DataFrame()

for i in range(0, nRepos):

templateRepo = "https://github.com/" + df[i,0]
params["templateRepo"] = templateRepo
params["branch"] = df[i,1]
params["tag"] = df[i,2]
params["templateRepo"] = df[i,"repository"]
params["branch"] = df[i,"branch"]
params["tag"] = df[i,"tag"]
params["gitToken"] = gitToken
#FIXME Read this from parameters
params["report"] = True
params["report"] = False
params["tolerance"] = tolerance
params["toleranceType"] = toleranceType.lower()
# opMem = 500000000
Expand Down

0 comments on commit 285d154

Please sign in to comment.