-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from nemgrouplimited/dev
Dev
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "travis"] | ||
path = travis | ||
url = https://github.com/nemgrouplimited/travis-functions.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
dist: bionic | ||
language: node_js | ||
node_js: | ||
- 10 | ||
- 12 | ||
services: | ||
- docker | ||
env: | ||
global: | ||
- DEV_BRANCH=dev | ||
- RELEASE_BRANCH=main | ||
- POST_RELEASE_BRANCH=main | ||
- RELEASE_MESSAGE=release | ||
cache: | ||
npm: true | ||
directories: | ||
- "node_modules" | ||
before_script: | ||
- . ./travis/node-functions.sh | ||
- VERSION="$(node_load_version)" | ||
- log_env_variables | ||
script: | ||
- npm run build | ||
jobs: | ||
include: | ||
- stage: test | ||
name: lint | ||
script: npm run lint | ||
- stage: test | ||
name: docker test build | ||
script: /bin/bash travis/docker-functions.sh docker_build $VERSION | ||
node_js: 10 | ||
- stage: publish | ||
name: docker publish alpha | ||
script: /bin/bash travis/docker-functions.sh docker_build $VERSION publish | ||
if: branch = env(DEV_BRANCH) AND type = push | ||
node_js: 10 | ||
- stage: release | ||
name: docker publish release | ||
script: /bin/bash travis/docker-functions.sh docker_build $VERSION release | ||
if: branch = env(RELEASE_BRANCH) AND type = api AND commit_message = env(RELEASE_MESSAGE) | ||
node_js: 10 | ||
- stage: post release | ||
name: tag and version upgrade | ||
script: /bin/bash travis/node-functions.sh node_post_release | ||
if: branch = env(RELEASE_BRANCH) AND type = api AND commit_message = env(RELEASE_MESSAGE) | ||
node_js: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# CHANGELOG | ||
All notable changes to this project will be documented in this file. | ||
|
||
The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## [v0.1.0][v0.1.0] - 26-Oct-2020 | ||
|
||
### Milestone: [[email protected]](https://github.com/nemtech/catapult-server/releases/tag/v0.10.0.3) | ||
|
||
Package | Version | Link | ||
---|---|--- | ||
REST Core| v2.1.0 | [catapult-rest](https://github.com/nemtech/catapult-rest/releases/tag/v2.1.0) | ||
|
||
### Added | ||
- Support docker images build. [#2](https://github.com/nemgrouplimited/symbol-statistics-service/issues/2) | ||
- Support mongodb services. [#9](https://github.com/nemgrouplimited/symbol-statistics-service/issues/9) [#3](https://github.com/nemgrouplimited/symbol-statistics-service/issues/3) | ||
- Support error handling. [#15](https://github.com/nemgrouplimited/symbol-statistics-service/issues/15) | ||
- Support route to get specific node infomation. [#14](https://github.com/nemgrouplimited/symbol-statistics-service/issues/14) | ||
- Support tcp port checking on node. [#7](https://github.com/nemgrouplimited/symbol-statistics-service/issues/7) | ||
- Support checking node location module. [#5](https://github.com/nemgrouplimited/symbol-statistics-service/issues/5) | ||
- Support node monitor module. [#1](https://github.com/nemgrouplimited/symbol-statistics-service/issues/1) [#8](https://github.com/nemgrouplimited/symbol-statistics-service/issues/8) [#6](https://github.com/nemgrouplimited/symbol-statistics-service/issues/6) | ||
- Support logger. [#4](https://github.com/nemgrouplimited/symbol-statistics-service/issues/4) | ||
|
||
### Fixes | ||
- Cors error. [#13](https://github.com/nemgrouplimited/symbol-statistics-service/issues/13) | ||
|
||
[v0.1.0]: https://github.com/nemfoundation/symbol-statistics-service/releases/tag/v0.1.0 |