File tree Expand file tree Collapse file tree 2 files changed +29
-11
lines changed Expand file tree Collapse file tree 2 files changed +29
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const manifest = [
44] ;
55
66const dist = 'dist' ;
7- const bundle = dist + '/crontask .tgz' ;
7+ const bundle = dist + '/bundle .tgz' ;
88
99module . exports = function ( grunt ) {
1010
@@ -33,7 +33,10 @@ module.exports = function(grunt) {
3333
3434 compress : {
3535 dist : {
36- options : { archive : bundle } ,
36+ options : {
37+ archive : bundle ,
38+ mode : "tgz"
39+ } ,
3740 files : [ {
3841 expand : true ,
3942 //dot: true,
Original file line number Diff line number Diff line change 11{
22 "id" : " a-cron-task" ,
3- "args" : [
4- " -u" ,
5- " https://github.com/mesos-playground/crontask/releases/download/2017.09.16-1/crontask.tgz"
6- ],
3+ "description" : " A scheduled task" ,
4+ "labels" : {},
75 "run" : {
86 "cpus" : 0.01 ,
97 "mem" : 128 ,
108 "disk" : 0 ,
9+ "cmd" : " cd $MESOS_SANDBOX\n npm start\n " ,
10+ "env" : {},
11+ "placement" : {
12+ "constraints" : []
13+ },
14+ "artifacts" : [
15+ {
16+ "uri" : " https://github.com/mesos-playground/crontask/releases/download/2017.09.16-1/bundle.tgz" ,
17+ "extract" : true ,
18+ "executable" : false ,
19+ "cache" : false
20+ }
21+ ],
22+ "maxLaunchDelay" : 3600 ,
1123 "docker" : {
12- "image" : " mesosplayground/nsc"
24+ "image" : " node:boron"
25+ },
26+ "volumes" : [],
27+ "restart" : {
28+ "policy" : " NEVER"
1329 }
1430 },
1531 "schedules" : [
1632 {
1733 "id" : " default" ,
18- "enabled" : true ,
34+ "enabled" : false ,
1935 "cron" : " */5 * * * *" ,
2036 "timezone" : " America/Boise" ,
2137 "concurrencyPolicy" : " ALLOW" ,
22- "startingDeadlineSeconds" : 60
38+ "startingDeadlineSeconds" : 600
2339 }
24- ],
25- "description" : " a basic cron task"
40+ ]
2641}
You can’t perform that action at this time.
0 commit comments