@cumulus/cumulus-ecs-task
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -65,3 +65,3 @@ 'use strict'; | ||
if (err) return callback(err); | ||
execSync(`unzip -o ${filepath} -d ${taskDir}`); | ||
@@ -93,3 +93,3 @@ const task = require(`${taskDir}/${moduleFileName}`); //eslint-disable-line global-require | ||
* @param {string} taskToken - the task token | ||
* @param {Object} taskError - the error | ||
* @param {Object} taskError - the error object returned by the handler | ||
* @returns {undefined} - no return value | ||
@@ -100,3 +100,4 @@ **/ | ||
taskToken: taskToken, | ||
error: taskError.toString() | ||
error: taskError.name, | ||
cause: taskError.message | ||
}, (err) => { | ||
@@ -103,0 +104,0 @@ if (err) { |
{ | ||
"name": "@cumulus/cumulus-ecs-task", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Run lambda functions in ECS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -76,3 +76,3 @@ # cumulus-ecs-task | ||
EcsTaskHelloWorld: | ||
image: cumuluss/cumulus-ecs-task:0.0.1 | ||
image: cumuluss/cumulus-ecs-task:1.0.0 | ||
cpu: 800 | ||
@@ -98,2 +98,10 @@ memory: 1500 | ||
Make sure the version on this line: | ||
``` | ||
image: cumuluss/cumulus-ecs-task:1.0.0 | ||
``` | ||
Is the latest version available on [Docker Hub](https://hub.docker.com/r/cumuluss/cumulus-ecs-task/tags/). | ||
Under `activities` we define the activity name `EcsTaskHelloWorld`, which can then be referenced to in the `ecs` section and in workflows.yml as `EcsTaskHelloWorldActivity`. | ||
@@ -100,0 +108,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33551
373
215