-
Notifications
You must be signed in to change notification settings - Fork 75
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 #1910 from OriginTrail/v6/prerelease/testnet
OriginTrail 6.0.0-beta.1.34 Testnet Release
- Loading branch information
Showing
60 changed files
with
5,751 additions
and
1,701 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
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 @@ | ||
* @branarakic @djordjekovac @kotlarmilos @NZT48 |
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,37 @@ | ||
--- | ||
name: Bug report for v6 ot-node | ||
about: Create an issue report | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Issue description | ||
|
||
## Expected behavior | ||
|
||
## Actual behavior | ||
|
||
## Steps to reproduce the problem | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
## Specifications | ||
|
||
- Node version: | ||
- Platform: | ||
- Node wallet: | ||
- Node libp2p identity: | ||
|
||
## Contact details | ||
- Email: | ||
|
||
## Error logs | ||
|
||
|
||
## Disclaimer | ||
|
||
Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to [[email protected]]([email protected]). |
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,21 @@ | ||
name-template: 'OriginTrail Release $NEXT_PATCH_VERSION' | ||
tag-template: "$NEXT_PATCH_VERSION" | ||
version-template: "v$MAJOR.$MINOR.$PATCH" | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
labels: | ||
- 'internal process' | ||
- title: '⚠️ Breaking changes' | ||
labels: | ||
- 'breaking change' | ||
change-template: '- $TITLE (#$NUMBER)' | ||
template: | | ||
# Changes | ||
$CHANGES |
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,33 @@ | ||
name: CHECK-lint | ||
|
||
#todo this test should be execute when opening PR to prerelease/release branches | ||
on: [pull_request] | ||
env: | ||
NODE_ENV: test | ||
ARTIFACTS_DIR: artifacts | ||
CUCUMBER_ARTIFACTS_DIR: artifacts/cucumber | ||
jobs: | ||
check-lint: | ||
#todo think about locking the version - version should be the same as the one in official documentation | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: mkdir -p $ARTIFACTS_DIR | ||
- run: cp .origintrail_noderc.tests .origintrail_noderc | ||
- run: sudo chmod -R 777 $ARTIFACTS_DIR | ||
- run: mkdir -p $CUCUMBER_ARTIFACTS_DIR | ||
- run: sudo chmod -R 777 $CUCUMBER_ARTIFACTS_DIR | ||
- run: npm run lint; | ||
- uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: my-artifact | ||
path: /home/runner/work/ot-node/ot-node/artifacts |
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,49 @@ | ||
name: TEST-release | ||
|
||
#todo this test should be execute when opening PR to prerelease/release branches | ||
on: [pull_request] | ||
env: | ||
NODE_ENV: test | ||
ARTIFACTS_DIR: artifacts | ||
CUCUMBER_ARTIFACTS_DIR: artifacts/cucumber | ||
jobs: | ||
|
||
test-release: | ||
#todo think about locking the version - version should be the same as the one in official documentation | ||
runs-on: ubuntu-latest | ||
services: | ||
mysql: | ||
image: mysql:5.7 | ||
env: | ||
MYSQL_DATABASE: operationaldb | ||
MYSQL_USER: node | ||
MYSQL_PASSWORD: password | ||
MYSQL_ROOT_PASSWORD: password | ||
ports: | ||
- 3306:3306 | ||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
graphdb: | ||
image: khaller/graphdb-free:latest | ||
ports: | ||
- 7200:7200 | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: mkdir -p $ARTIFACTS_DIR | ||
- run: cp .origintrail_noderc.tests .origintrail_noderc | ||
- run: sudo chmod -R 777 $ARTIFACTS_DIR | ||
- run: mkdir -p $CUCUMBER_ARTIFACTS_DIR | ||
- run: sudo chmod -R 777 $CUCUMBER_ARTIFACTS_DIR | ||
- run: npm run test:bdd:release; | ||
- uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: my-artifact | ||
path: /home/runner/work/ot-node/ot-node/artifacts |
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,49 @@ | ||
name: TEST-unit | ||
|
||
#todo this test should be execute when opening PR to prerelease/release branches | ||
on: [pull_request] | ||
env: | ||
NODE_ENV: test | ||
ARTIFACTS_DIR: artifacts | ||
CUCUMBER_ARTIFACTS_DIR: artifacts/cucumber | ||
jobs: | ||
|
||
test-unit: | ||
#todo think about locking the version - version should be the same as the one in official documentation | ||
runs-on: ubuntu-latest | ||
# services: | ||
# mysql: | ||
# image: mysql:5.7 | ||
# env: | ||
# MYSQL_DATABASE: operationaldb | ||
# MYSQL_USER: node | ||
# MYSQL_PASSWORD: password | ||
# MYSQL_ROOT_PASSWORD: password | ||
# ports: | ||
# - 3306:3306 | ||
# options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
# graphdb: | ||
# image: khaller/graphdb-free:latest | ||
# ports: | ||
# - 7200:7200 | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: mkdir -p $ARTIFACTS_DIR | ||
- run: cp .origintrail_noderc.tests .origintrail_noderc | ||
- run: sudo chmod -R 777 $ARTIFACTS_DIR | ||
- run: mkdir -p $CUCUMBER_ARTIFACTS_DIR | ||
- run: sudo chmod -R 777 $CUCUMBER_ARTIFACTS_DIR | ||
- run: npm run test:unit; | ||
- uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: my-artifact | ||
path: /home/runner/work/ot-node/ot-node/artifacts |
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,19 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
# branches to consider in the event; optional, defaults to all | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v6 | ||
with: | ||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | ||
config-name: release-drafter-template.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
_ |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
#npm run lint-staged |
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 @@ | ||
{ | ||
"*.{js, json}": ["prettier --write", "eslint"] | ||
} |
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,4 @@ | ||
{ | ||
"network": { | ||
} | ||
} |
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,9 @@ | ||
{ | ||
"semi": true, | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"arrowParens": "always", | ||
"tabWidth": 4, | ||
"bracketSpacing": true | ||
} |
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
Oops, something went wrong.