Skip to content

Commit

Permalink
update(workflow): run more resource heavy cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
bkatsevych committed Apr 2, 2024
1 parent 79d2c67 commit 3c0ac2f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions workflow_fake.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
},
{
"name": "aod_1",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": [
"pvfinder_1",
"svfinder_1",
Expand Down Expand Up @@ -597,7 +597,7 @@
},
{
"name": "digicontext_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["linkGRP_2", "sgnsim_2"],
"resources": {
"cpu": 1,
Expand All @@ -610,7 +610,7 @@
},
{
"name": "tpcdigi_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": [
"digicontext_2",
"linkGRP_2",
Expand All @@ -627,7 +627,7 @@
},
{
"name": "trddigi_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["digicontext_2"],
"resources": {
"cpu": 8,
Expand All @@ -640,7 +640,7 @@
},
{
"name": "restdigi_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/zero of=tempfile bs=1M count=500; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["digicontext_2"],
"resources": {
"cpu": 1,
Expand All @@ -653,7 +653,7 @@
},
{
"name": "ft0fv0emcctp_digi_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["digicontext_2"],
"resources": {
"cpu": 1,
Expand All @@ -666,7 +666,7 @@
},
{
"name": "tpcclusterpart0_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["tpcdigi_2"],
"resources": {
"cpu": 2,
Expand All @@ -685,7 +685,7 @@
},
{
"name": "tpcclusterpart1_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["tpcdigi_2"],
"resources": {
"cpu": 2,
Expand All @@ -704,7 +704,7 @@
},
{
"name": "tpcclustermerge_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["tpcclusterpart0_2", "tpcclusterpart1_2"],
"resources": {
"cpu": 1,
Expand All @@ -717,7 +717,7 @@
},
{
"name": "tpcreco_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["tpcclustermerge_2"],
"resources": {
"cpu": 3.0,
Expand All @@ -730,7 +730,7 @@
},
{
"name": "itsreco_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["restdigi_2"],
"resources": {
"cpu": 1,
Expand All @@ -743,7 +743,7 @@
},
{
"name": "ft0reco_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["ft0fv0emcctp_digi_2"],
"resources": {
"cpu": 1,
Expand All @@ -756,7 +756,7 @@
},
{
"name": "itstpcMatch_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["tpcreco_2", "itsreco_2", "ft0reco_2"],
"resources": {
"cpu": 3.0,
Expand All @@ -769,7 +769,7 @@
},
{
"name": "trdreco_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["trddigi_2", "itstpcMatch_2", "tpcreco_2", "itsreco_2"],
"resources": {
"cpu": 1,
Expand All @@ -782,7 +782,7 @@
},
{
"name": "trdreco2_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["trdreco_2"],
"resources": {
"cpu": 1,
Expand All @@ -795,7 +795,7 @@
},
{
"name": "tofmatch_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["itstpcMatch_2", "restdigi_2"],
"resources": {
"cpu": 1,
Expand All @@ -808,7 +808,7 @@
},
{
"name": "toftpcmatch_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["tofmatch_2", "tpcreco_2", "trdreco2_2"],
"resources": {
"cpu": 1,
Expand All @@ -821,7 +821,7 @@
},
{
"name": "mftreco_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "dd if=/dev/urandom of=tempfile bs=1M count=500; cat tempfile > /dev/null; awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["restdigi_2"],
"resources": {
"cpu": 1,
Expand Down Expand Up @@ -1019,7 +1019,7 @@
},
{
"name": "aod_2",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": [
"pvfinder_2",
"svfinder_2",
Expand All @@ -1044,7 +1044,7 @@
},
{
"name": "aodmerge",
"cmd": "echo running ; sleep $((RANDOM % 2 + 1))",
"cmd": "awk 'BEGIN { for (i = 0; i < 1000000; ++i) print i^2.5 }'",
"needs": ["aod_1", "aod_2"],
"resources": {
"cpu": 1,
Expand Down

0 comments on commit 3c0ac2f

Please sign in to comment.