Skip to content

Commit

Permalink
Merge pull request #272 from cumulus-nasa/cumulus-414-schemas-in-dist
Browse files Browse the repository at this point in the history
add schema dirs to dist dirs
  • Loading branch information
Alireza committed Mar 28, 2018
2 parents 58d4130 + 7e2c75c commit f0e7601
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 22 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- **CUMULUS-331:** Fix aws.downloadS3File to handle non-existent key
- Using test ftp provider for discover-granules testing [CUMULUS-427]
- **CUMULUS-304: "Add AWS API throttling to pdr-status-check task"** Added concurrency limit on SFN API calls. The default concurrency is 10 and is configurable through Lambda environment variable CONCURRENCY.
- **CUMULUS-414: "Schema validation not being performed on many tasks"** revised npm build scripts of tasks that use cumulus-message-adapter to place schema directories into dist directories.
- **CUMULUS-271: "Empty response body from rules PUT endpoint"** Added the updated rule to response body.
- Increased memory allotment for `CustomBootstrap` lambda function. Resolves failed deployments where `CustomBootstrap` lambda function was failing with error `Process exited before completing request`. This was causing deployments to stall, fail to update and fail to rollback. This error is thrown when the lambda function tries to use more memory than it is allotted.

Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/discover-granules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"scripts": {
"test": "ava",
"local": "node index.js | pino",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/discover-pdrs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"scripts": {
"test": "ava",
"build": "mkdir -p dist && cp cumulus.json dist/ && webpack --progress",
"watch": "mkdir -p dist && cp cumulus.json dist/ && webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/discover-s3-granules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"scripts": {
"test": "ava",
"local": "node index.js | pino",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"scripts": {
"test": "ava tests/*.js --serial --no-color",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/parse-pdr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"author": "Cumulus Authors",
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/pdr-status-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"author": "Cumulus Authors",
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/post-to-cmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/queue-granules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/queue-pdrs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/sf-sns-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"ava": {
Expand Down
4 changes: 2 additions & 2 deletions cumulus/tasks/sync-granule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"scripts": {
"test": "ava",
"build": "webpack --progress",
"watch": "webpack --progress -w",
"build": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress",
"watch": "rm -rf dist && mkdir dist && cp -R schemas dist/ && webpack --progress -w",
"postinstall": "npm run build"
},
"author": "Cumulus Authors",
Expand Down

0 comments on commit f0e7601

Please sign in to comment.