From 67ec6304301399d9510d369896a2e56475beafd6 Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Thu, 21 Jun 2018 18:23:55 -0700 Subject: [PATCH] Job json using docker-compose executor. Used https://github.com/paypal/dce-go/blob/develop/examples/client.go#L50 to create a json file for a job that uses the docker-compose executor. The current job json file (examples/job.json) uses an outdated version of docker-compose executor. Once examples/client.go has been modified to use examples/job_dce.json, it should be okay to get rid of examples/job.json. --- examples/job_dce.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/job_dce.json diff --git a/examples/job_dce.json b/examples/job_dce.json new file mode 100644 index 0000000..48d7595 --- /dev/null +++ b/examples/job_dce.json @@ -0,0 +1,21 @@ +{ + "name": "sampleapp", + "cpu": 0.25, + "ram_mb": 256, + "disk_mb": 100, + "executor": "docker-compose-executor", + "service": true, + "ports": 4, + "instances": 1, + "uris": [ + { + "uri": "http://192.168.33.8/app.tar.gz", + "extract": true, + "cache": false + } + ], + "labels":{ + "fileName":"sampleapp/docker-compose.yml,sampleapp/docker-compose-healthcheck.yml" + } + +} \ No newline at end of file