Skip to content

Commit

Permalink
Merge pull request #28 from nemgrouplimited/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AnthonyLaw authored Oct 27, 2020
2 parents 1d3c4c8 + ffb569c commit ab7155e
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
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
47 changes: 47 additions & 0 deletions .travis.yml
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
27 changes: 27 additions & 0 deletions CHANGELOG.md
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
1 change: 1 addition & 0 deletions travis
Submodule travis added at 522f45

0 comments on commit ab7155e

Please sign in to comment.