Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 1.3.0 #283

Closed
wants to merge 158 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
e574755
update pdr stats
jennyhliu Mar 6, 2018
c796810
Merge branch 'master' of https://github.com/cumulus-nasa/cumulus into…
jennyhliu Mar 9, 2018
ca5634d
update pdr stats
jennyhliu Mar 9, 2018
8934787
Add eslint-ratchet
Mar 9, 2018
1326f36
Fix eslint-ratchet
Mar 9, 2018
e5edd4f
Print number of errors in eslint-ratchet
Mar 9, 2018
51b22ee
Merge branch 'master' into eslint-ratchet
Mar 9, 2018
ff23e5d
remove update pdr stats from pdr-status-check
jennyhliu Mar 9, 2018
1237272
Fix eslint-ratchet
Mar 9, 2018
f9f3f17
Re-enable tests in Circle CI
Mar 9, 2018
1f3a8ab
use cumulus-message-adapter
jennyhliu Mar 13, 2018
76cad35
Merge branch 'master' into pdrstats
jennyhliu Mar 13, 2018
cd14fd0
update readme
jennyhliu Mar 13, 2018
1601eca
Merge branch 'pdrstats' of https://github.com/cumulus-nasa/cumulus in…
jennyhliu Mar 13, 2018
091e9d4
Merge branch 'master' into pdrstats
Mar 13, 2018
d939030
fixes
jennyhliu Mar 13, 2018
853c835
Merge branch 'pdrstats' of https://github.com/cumulus-nasa/cumulus in…
jennyhliu Mar 13, 2018
0edd3da
pr updates
jennyhliu Mar 14, 2018
f3f3d93
Merge branch 'master' into pdrstats
jennyhliu Mar 14, 2018
a835a3e
Merge branch 'master' into pdrstats
Mar 14, 2018
14a957e
Merge branch 'master' into eslint-ratchet
Mar 14, 2018
96d3bba
Update error messages in eslint-ratchet
Mar 14, 2018
e17b6cb
Update README to describe eslint-ratchet
Mar 14, 2018
d4901cb
Updating .eslint-ratchet score
Mar 14, 2018
9e40fcb
Update README with git hook information
Mar 14, 2018
f0e87d5
Update github PR template to mention eslint-ratchet
Mar 14, 2018
c153dc3
Merge branch 'master' into eslint-ratchet
Mar 14, 2018
1f49b95
Merge branch 'master' into eslint-ratchet
Mar 14, 2018
2ab76f6
Merge branch 'master' into pdrstats
Mar 14, 2018
b2507ce
more fixes
jennyhliu Mar 15, 2018
68bc62e
Merge branch 'pdrstats' of https://github.com/cumulus-nasa/cumulus in…
jennyhliu Mar 15, 2018
4b49dcd
Merge branch 'pdrstats' of https://github.com/cumulus-nasa/cumulus in…
Mar 15, 2018
a9c446d
more fix
jennyhliu Mar 15, 2018
d51ed64
Merge branch 'pdrstats' of https://github.com/cumulus-nasa/cumulus in…
jennyhliu Mar 15, 2018
7307d5f
Merge branch 'master' into pdrstats
jennyhliu Mar 15, 2018
3f8a879
upgrade moment to fix known vulnerability
Mar 15, 2018
d672146
Merge branch 'master' into pdrstats
jennyhliu Mar 15, 2018
3e3faae
Merge branch 'master' into eslint-ratchet
Mar 15, 2018
449c0fb
Merge pull request #235 from cumulus-nasa/pdrstats
jennyhliu Mar 15, 2018
b122af8
update eslint and mocha
Mar 15, 2018
a36b5e7
Merge branch 'master' into fix_npm_vulnerabilities
Mar 15, 2018
b10f12e
Remove eslint packages that were causing test failures
Mar 15, 2018
6168372
Storing improved eslint score
Mar 15, 2018
bebae89
Merge branch 'master' into eslint-ratchet
Mar 15, 2018
55a1e38
Storing improved eslint score
Mar 15, 2018
32515c9
Merge pull request #239 from cumulus-nasa/eslint-ratchet
Mar 15, 2018
e67ef8d
moved to unreleased
jennyhliu Mar 15, 2018
d16453f
merge release to master
Mar 15, 2018
01c7e50
Merge pull request #253 from cumulus-nasa/merge_release_to_master
Mar 15, 2018
e269e72
Merge branch 'master' into fix_npm_vulnerabilities
Mar 15, 2018
95c390c
publish only on release
Mar 15, 2018
d3854c2
Merge branch 'only_publish_on_release' into fix_npm_vulnerabilities
Mar 15, 2018
bd8f395
update changelog
Mar 15, 2018
b299e7e
Merge pull request #254 from cumulus-nasa/only_publish_on_release
Mar 15, 2018
2a8ded9
Added concurrency limit on SFN API calls
jennyhliu Mar 15, 2018
e909624
Merge branch 'master' into pdrstatsplimit
jennyhliu Mar 15, 2018
a6ff637
CUMULUS-337 Use NODE_ENV=test instead of TEST=true
Mar 15, 2018
d033193
Storing improved eslint score
Mar 15, 2018
33ba698
CUMULUS-337 Move createQueue to common/aws to fix circular dependency
Mar 15, 2018
3b6df31
Fixed jsdoc for crypto's decrypt function
Mar 16, 2018
ea0a278
upgrade babel-eslint
Mar 16, 2018
5a104f0
increase rachet number
Mar 16, 2018
35f7818
change error number
Mar 16, 2018
46aeb8f
CUMULUS-423 Detect empty PDR file
Mar 16, 2018
087679d
Merge branch 'CUMULUS-423' into CUMULUS-337
Mar 16, 2018
30837b1
Merge branch 'master' into fix_npm_vulnerabilities
Mar 16, 2018
a53dfa6
Update eslint rules to match our existing style rules
Mar 16, 2018
2a4720c
Merge pull request #255 from cumulus-nasa/fix_npm_vulnerabilities
Mar 16, 2018
d9d14b0
Merge branch 'master' into FixCryptoDecryptComment
Mar 16, 2018
c76be7f
Merge branch 'master' into FixCryptoDecryptComment
Mar 16, 2018
6fbd1b1
Merge branch 'FixCryptoDecryptComment' of https://github.com/cumulus-…
Mar 16, 2018
efe0892
Merge branch 'master' into CUMULUS-337
abarciauskas-bgse Mar 16, 2018
e835aa4
Merge pull request #257 from cumulus-nasa/FixCryptoDecryptComment
Mar 16, 2018
5644e09
Merge branch 'master' into CUMULUS-337
Mar 16, 2018
29ee29c
Fix eslint high water mark
Mar 16, 2018
ace231f
Merge pull request #260 from cumulus-nasa/CUMULUS-337
Mar 16, 2018
d26efe4
Fix arrow-parens eslint errors
Mar 16, 2018
4384ab2
Automatically resolve eslint indent errors
Mar 16, 2018
566a429
CUMULUS-359 kinesis consumer users sf-scheduler (#262)
abarciauskas-bgse Mar 19, 2018
d50d17c
Merge branch 'master' into pdrstatsplimit
jennyhliu Mar 19, 2018
dfa3087
Merge branch 'master' into ResolveArrowParensErrors
Mar 19, 2018
acb7ede
Ratcheting down eslint score
Mar 19, 2018
5d9ad5d
Fix missed merge resolution
Mar 19, 2018
f34e2fd
Fix missed merge resolution
Mar 19, 2018
565c1ca
Merge pull request #261 from cumulus-nasa/ResolveArrowParensErrors
Mar 19, 2018
3bec839
Merge branch 'master' into ResolveIndentErrors
Mar 19, 2018
0d4e05c
Merge pull request #264 from cumulus-nasa/ResolveIndentErrors
Mar 19, 2018
db6214c
Merge release 1.2.0 to master (#270)
abarciauskas-bgse Mar 20, 2018
106489c
Merge branch 'master' into pdrstatsplimit
jennyhliu Mar 20, 2018
619a888
put rule response body
jennyhliu Mar 21, 2018
d27f418
remove duplicate entry
jennyhliu Mar 21, 2018
ee37f0b
Merge pull request #256 from cumulus-nasa/pdrstatsplimit
jennyhliu Mar 21, 2018
f9f580b
Merge branch 'master' into rule
jennyhliu Mar 21, 2018
46389ed
changelog
jennyhliu Mar 21, 2018
d116dc2
the number is different from local
jennyhliu Mar 21, 2018
519d19d
add schema dirs to dist dirs
sethvincent Mar 22, 2018
9d9bb24
update changelog
sethvincent Mar 22, 2018
c3c2e4f
Added fake provider
Mar 22, 2018
806c916
Updated changelog
Mar 22, 2018
d0ee350
Added bucket cleanup
Mar 22, 2018
bd23ab7
updated tests
jennyhliu Mar 22, 2018
658f954
Fix module dependency problems with eslint
Mar 22, 2018
f3c6d2d
Updating eslint ratchet to reflect more restrictive checks in updated…
Mar 22, 2018
c8859ab
Merge pull request #274 from cumulus-nasa/FixEslintDependencyIssues
Mar 22, 2018
28f45dd
Merge branch 'master' into Cumulus-427
Mar 22, 2018
a1d6fc6
Merge branch 'master' into cumulus-414-schemas-in-dist
sethvincent Mar 22, 2018
17671d3
Increase memory for CustomBootstrapLambdaFunction (#275)
abarciauskas-bgse Mar 22, 2018
d3abdf4
Merge branch 'master' into Cumulus-427
kkelly51 Mar 22, 2018
80d449d
Merge pull request #273 from cumulus-nasa/Cumulus-427
kkelly51 Mar 22, 2018
6906b8c
Merge branch 'master' into rule
jennyhliu Mar 22, 2018
b184ccd
Update .eslint-ratchet-high-water-mark
jennyhliu Mar 22, 2018
c81a58c
Merge pull request #271 from cumulus-nasa/rule
jennyhliu Mar 22, 2018
09d43d3
Merge branch 'master' into cumulus-414-schemas-in-dist
sethvincent Mar 23, 2018
aedf768
aws.downloadS3File: use pump to catch errors in both streams, add tests
sethvincent Mar 26, 2018
d42ec57
eslint-ratchet update
sethvincent Mar 26, 2018
23888b5
update changelog
sethvincent Mar 26, 2018
345488d
fix eslint-ratchet
sethvincent Mar 26, 2018
96fda69
fix eslint-ratchet
sethvincent Mar 26, 2018
8d55343
reorganize folders
Mar 27, 2018
4edcd19
update lerna paths
Mar 27, 2018
8061a40
update paths in tests
Mar 27, 2018
e0a2efb
update readme to include localstack requirement for tests
Mar 27, 2018
f25d974
update eslint number
Mar 27, 2018
58d4130
Merge pull request #276 from cumulus-nasa/cumulus-331-downloadS3File-…
Mar 28, 2018
7e2c75c
Merge branch 'master' into cumulus-414-schemas-in-dist
Mar 28, 2018
f0e7601
Merge pull request #272 from cumulus-nasa/cumulus-414-schemas-in-dist
Mar 28, 2018
8ec775c
merge with master
Mar 28, 2018
08e501a
update language
Mar 28, 2018
74323e4
change updated to changed
Mar 28, 2018
94ddc42
deprecate discover-s3-granules
Mar 28, 2018
5e57490
remove discover-s3-granules
Mar 28, 2018
8d1a938
update ratchet number
Mar 28, 2018
9adc96e
remove tmp-test-data
Mar 28, 2018
4590fa2
load html test data from test-data package
Mar 28, 2018
190d854
use data from test-data package
Mar 28, 2018
6ba3869
move changed to fixed
Mar 28, 2018
578b942
Merge pull request #278 from cumulus-nasa/simplify_folder_structure
Mar 28, 2018
91d3613
use test files in test-data packages
Mar 28, 2018
f6cba32
less eslint errors Yay!
Mar 28, 2018
73a89fc
Merge branch 'master' into CUMULUS-301
Mar 28, 2018
0a1b0a9
update changelog
Mar 28, 2018
c70cc42
Merge pull request #279 from cumulus-nasa/CUMULUS-301
Mar 29, 2018
6d884a5
add hello-world/schemas/output.json
sethvincent Mar 29, 2018
575cd6f
Merge pull request #280 from cumulus-nasa/missing-schemas-dir
sethvincent Mar 29, 2018
31a96f1
CUMULUS-436: Add activities support to @cumulus/integration-tests (#277)
abarciauskas-bgse Mar 29, 2018
c276e96
Update changelog
abarciauskas-bgse Mar 29, 2018
77c707f
Update packages to 1.3.0
abarciauskas-bgse Mar 29, 2018
0c50b40
Merge release into release-version-v1.3.0
abarciauskas-bgse Mar 29, 2018
d52730b
Merge branch 'release-version-v1.3.0' into release-version-1.3.0
abarciauskas-bgse Mar 29, 2018
b92de06
Minor changelog update
abarciauskas-bgse Mar 29, 2018
44661e2
Minor changelog update
abarciauskas-bgse Mar 29, 2018
955e9e8
Chage lambda step to lambda function
abarciauskas-bgse Mar 29, 2018
720573e
Minor changelog update
abarciauskas-bgse Mar 29, 2018
1e67973
Minor changelog update
abarciauskas-bgse Mar 29, 2018
593157b
Minor changelog update
abarciauskas-bgse Mar 29, 2018
dee9246
Fix some lint errors and update .eslint-ratchet-high-water-mark
abarciauskas-bgse Mar 30, 2018
3233094
test publishing from tag
Mar 30, 2018
c9dc2fb
update readme
Mar 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 17 additions & 55 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ jobs:
keys:
- cumulus-tasks-{{ checksum "global-hash" }}

- restore_cache:
keys:
- gitc-tasks-{{ checksum "global-hash" }}

- restore_cache:
keys:
- services-{{ checksum "global-hash" }}

- run:
name: Installing Dependencies
command: |
Expand All @@ -54,7 +46,7 @@ jobs:

# start http service
sudo rm -rf /var/www/html
sudo ln -s /home/circleci/project/.tmp-test-data /var/www/html
sudo ln -s /home/circleci/project/packages/test-data /var/www/html
sudo service apache2 start

# start sftp service
Expand All @@ -79,50 +71,16 @@ jobs:
- save_cache:
key: cumulus-tasks-{{ checksum "global-hash" }}
paths:
- ./cumulus/tasks/hello-world/node_modules
- ./cumulus/tasks/discover-granules/node_modules
- ./cumulus/tasks/discover-pdrs/node_modules
- ./cumulus/tasks/parse-pdr/node_modules
- ./cumulus/tasks/post-to-cmr/node_modules
- ./cumulus/tasks/pdr-status-check/node_modules
- ./cumulus/tasks/queue-granules/node_modules
- ./cumulus/tasks/queue-pdrs/node_modules
- ./cumulus/tasks/sync-granule/node_modules
- ./cumulus/tasks/discover-s3-granules/node_modules
- ./cumulus/tasks/sf-sns-report/node_modules

- save_cache:
key: gitc-tasks-{{ checksum "global-hash" }}
paths:
- ./cumulus/tasks/copy-idx-from-s3-to-efs/node_modules
- ./cumulus/tasks/delete-ingest-tracking-data/node_modules
- ./cumulus/tasks/delete-pdr-ftp/node_modules
- ./cumulus/tasks/delete-pdr-s3/node_modules
- ./cumulus/tasks/discover-cmr-granules/node_modules
- ./cumulus/tasks/discover-http-tiles/node_modules
- ./cumulus/tasks/dowload-activity-mock/node_modules
- ./cumulus/tasks/filter-payload/node_modules
- ./cumulus/tasks/generate-mrf/node_modules
- ./cumulus/tasks/generate-pan/node_modules
- ./cumulus/tasks/generate-pdrd/node_modules
- ./cumulus/tasks/run-gdal/node_modules
- ./cumulus/tasks/sync-http-urls/node_modules
- ./cumulus/tasks/sync-wms/node_modules
- ./cumulus/tasks/tee/node_modules
- ./cumulus/tasks/trigger-ingest/node_modules
- ./cumulus/tasks/trigger-mrf-gen/node_modules
- ./cumulus/tasks/trigger-process-pdrs/node_modules
- ./cumulus/tasks/validate-archives/node_modules
- ./cumulus/tasks/discover-pdr/node_modules
- ./cumulus/tasks/generate-pdr-file-list/node_modules
- ./cumulus/tasks/validate-pdr/node_modules

- save_cache:
key: services-{{ checksum "global-hash" }}
paths:
- ./cumulus/services/sfn-scheduler/node_modules
- ./cumulus/services/sfn-throttler/node_modules

- ./tasks/hello-world/node_modules
- ./tasks/discover-granules/node_modules
- ./tasks/discover-pdrs/node_modules
- ./tasks/parse-pdr/node_modules
- ./tasks/post-to-cmr/node_modules
- ./tasks/pdr-status-check/node_modules
- ./tasks/queue-granules/node_modules
- ./tasks/queue-pdrs/node_modules
- ./tasks/sync-granule/node_modules
- ./tasks/sf-sns-report/node_modules

- run:
name: Running Tests
Expand Down Expand Up @@ -181,7 +139,11 @@ jobs:
- checkout
- run:
name: Install Dependencies
command: yarn
command: |
# checkout the latest tag
LATEST_GIT_TAG=$(git describe --tags --abbrev=0 --match v*)
git checkout tags/$LATEST_GIT_TAG -b latest_git_tag
yarn

- run:
name: Publishing to NPM
Expand All @@ -201,4 +163,4 @@ workflows:
- build_and_test
filters:
branches:
only: release
only: release-version-1.3.0
2 changes: 1 addition & 1 deletion .eslint-ratchet-high-water-mark
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1576
1338
3 changes: 0 additions & 3 deletions .tmp-test-data/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .tmp-test-data/README

This file was deleted.

24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v1.3.0] - 2018-03-29

### Deprecated
- discover-s3-granules is deprecated. The functionality is provided by the discover-granules task
### Fixed
- **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-301:** Update all tests to use test-data package for testing data.
- **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.
- Cumulus repository folders structure updated:
- removed the `cumulus` folder altogether
- moved `cumulus/tasks` to `tasks` folder at the root level
- moved the tasks that are not converted to use CMA to `tasks/.not_CMA_compliant`
- updated paths where necessary

### Added
- `@cumulus/integration-tests` - Added support for testing the output of an ECS activity as well as a Lambda function.

## [v1.2.0] - 2018-03-20

### Fixed
Expand Down Expand Up @@ -99,7 +120,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [v1.0.0] - 2018-02-23

[Unreleased]: https://github.com/cumulus-nasa/cumulus/compare/v1.2.0...HEAD
[Unreleased]: https://github.com/cumulus-nasa/cumulus/compare/v1.3.0...HEAD
[v1.3.0]: https://github.com/cumulus-nasa/cumulus/compare/v1.2.0...v1.3.0
[v1.2.0]: https://github.com/cumulus-nasa/cumulus/compare/v1.1.4...v1.2.0
[v1.1.4]: https://github.com/cumulus-nasa/cumulus/compare/v1.1.3...v1.1.4
[v1.1.3]: https://github.com/cumulus-nasa/cumulus/compare/v1.1.2...v1.1.3
Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ If you prefer to run docker in detached mode (i.e. run containers in the backgro

Run the test commands next

$ export LOCALSTACK_HOST=localhost
$ yarn test

Run end to end tests by
Expand Down Expand Up @@ -168,6 +169,31 @@ Release PRs **MUST** be named with `release-` prefix. This will kick off the AWS

All packages on master branch are automatically published to NPM.

Follow the following steps to publish to NPM:

- Create a new branch from `master` and call it `release-version-<version_number>`
- Run `yarn update`
- Select the correct version upgrade type (e.g. major/minor/patch)

![](https://static.notion-static.com/13acbe0a-c59d-4c42-90eb-23d4ec65c9db/Screen_Shot_2018-03-15_at_12.21.16_PM.png)

- Update CHANGELOG.md
- Push to Github
- Create a new git tag

$ git tag -a v1.x.x -m "version 1.x.x release"

- Push the tag to github

$ git push origin v1.x.x

- Create a PR against the `master` branch
- After the PR is merged, update the (tag) and give a proper title and copy the release details from the CHANGELOG.md to the release

![](https://static.notion-static.com/def32886-040c-4df9-9462-8b2418cbb925/Release_v1_3_0__cumulus-nasa_cumulus.png)

![](https://static.notion-static.com/287c7d98-351a-446d-a7ff-45eef2b45d7c/New_release__cumulus-nasa_cumulus.png)

## Running command in all package folders

$ lerna exec -- rm -rf ./package-lock.json
Expand Down
85 changes: 0 additions & 85 deletions cumulus/lib/cf-template.js

This file was deleted.

15 changes: 0 additions & 15 deletions cumulus/lib/templates/defaults.yml

This file was deleted.

13 changes: 0 additions & 13 deletions cumulus/lib/templates/ecs-task-defaults.yml

This file was deleted.

35 changes: 0 additions & 35 deletions cumulus/lib/templates/service-defaults.yml

This file was deleted.

10 changes: 0 additions & 10 deletions cumulus/lib/templates/task-defaults.yml

This file was deleted.

15 changes: 0 additions & 15 deletions cumulus/services/provider-gateway/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions cumulus/services/provider-gateway/Dockerfile

This file was deleted.

Loading