Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4367 commits
Select commit Hold shift + click to select a range
0a00e6f
git actions added to run the tests
gleb-urvanov Aug 21, 2020
1e14caa
moved test runner to separate workflow triggered by label
gleb-urvanov Aug 21, 2020
0364c8e
commit to trigger the workflow
gleb-urvanov Aug 21, 2020
e8ef4fb
commit to test branch where workflow is triggered
gleb-urvanov Aug 21, 2020
5e14813
altered trigger condition
gleb-urvanov Aug 21, 2020
0b1eafd
debug output removed, manual dispatch added
gleb-urvanov Aug 21, 2020
2306aa9
added execution rights to create chainspec script
gleb-urvanov Aug 21, 2020
ac3a655
job condition modified
gleb-urvanov Aug 21, 2020
ac956fc
condition altered, debug added
gleb-urvanov Aug 21, 2020
e2ca117
added version for debug
gleb-urvanov Aug 21, 2020
cf8ae46
set proper version for debug
gleb-urvanov Aug 21, 2020
48bd1da
workflow fixed
gleb-urvanov Aug 21, 2020
668f7bb
run condition altered
gleb-urvanov Aug 21, 2020
817a541
removed debug output
gleb-urvanov Aug 21, 2020
b2f97f4
merged iznik
gleb-urvanov Aug 21, 2020
86f354d
log output fixed
gleb-urvanov Aug 22, 2020
7fa601b
Merge pull request #1156 from Lezek123/joy-members-upgrage
mnaamani Aug 24, 2020
c102f54
travis: run joystream-node to confirm build
mnaamani Aug 24, 2020
882ba89
joystream-node: comment out unit tests in chainspec and service
mnaamani Aug 24, 2020
81ad157
Merge pull request #1072 from iorveth/cont_dir_substrate_2_0
shamil-gadelshin Aug 24, 2020
03bd123
joy-media upgrade
Aug 25, 2020
51f382b
Linter autofix
Aug 25, 2020
9628c88
import genesis members
mnaamani Aug 26, 2020
7f7ef7d
Revert "travis: use latest nightly"
mnaamani Aug 26, 2020
13257e2
travis: remove target var
mnaamani Aug 26, 2020
813ccbd
Merge pull request #1163 from mnaamani/iznik-substrate-version-upgrade
shamil-gadelshin Aug 26, 2020
a09a6c5
Linter: manual fixes
Aug 26, 2020
48ecb1c
storage-node: Fix dev-init command
shamil-gadelshin Aug 25, 2020
d31a385
storage-node: Fix dev-check command.
shamil-gadelshin Aug 25, 2020
83a225c
Merge branch 'iznik' into joy-media-upgrade
Aug 26, 2020
0f3f707
storage-node: Global yarn.lock update.
shamil-gadelshin Aug 26, 2020
d67bcb3
import members: handle Moment
mnaamani Aug 26, 2020
dd0f310
import members: validate at genesis
mnaamani Aug 26, 2020
b33b3da
node chainspec update forum import code
mnaamani Aug 27, 2020
7b28e26
Merge branch 'iznik' into chainspec-import-members-forum-versioned-store
mnaamani Aug 27, 2020
0ef00e2
import members: cleanup
mnaamani Aug 27, 2020
ad0377e
Upgrade joy-forum
Aug 27, 2020
00ce336
Linter autofix
Aug 27, 2020
177a0d4
Linter - manual fixes
Aug 27, 2020
5ce833f
Minor style fixes
Aug 27, 2020
c448740
Enable storybook
Aug 27, 2020
dafee37
fix import of forum
mnaamani Aug 27, 2020
ca98879
refactoring
mnaamani Aug 27, 2020
b2f8e24
Setting a memo
Aug 27, 2020
897bea9
chainspec-builder: optional arg to specify initial members
mnaamani Aug 28, 2020
3abd0e0
chainspec-builder: take initial-forum-path arg
mnaamani Aug 28, 2020
ed523bb
Bring back potentially useful JoyEasyForms
Aug 28, 2020
18dba85
Directory cleanup
Aug 28, 2020
76a3cf6
Buttons styles
Aug 28, 2020
ea47357
node: refactor chain_spec
mnaamani Aug 28, 2020
66f0b6a
RuntimeUpgrade details type workaround
Aug 28, 2020
0cb5ec9
Minor configuration adjustments
Aug 28, 2020
0ee23ea
Merge branch 'types-augment' into cli-upgrade
Aug 28, 2020
2e3a7d3
import versioned-store
mnaamani Aug 28, 2020
3126291
Merge pull request #1076 from iorveth/cont_dir_2_high_level_documenta…
bedeho Aug 28, 2020
f7dd96f
Merge pull request #1079 from iorveth/schema_refactoring
bedeho Aug 28, 2020
44533c2
generate versioned_store_permissions config
mnaamani Aug 29, 2020
1a2f87b
data directory: configured at genesis
mnaamani Aug 29, 2020
20ae0f4
refactor forum_config
mnaamani Aug 29, 2020
a70697d
fix some clippy warnings
mnaamani Aug 29, 2020
e079377
merged iznik
gleb-urvanov Aug 31, 2020
b0c90ab
resolve json module option added
gleb-urvanov Aug 31, 2020
40321c9
chainspec: prepare to import channels
mnaamani Aug 31, 2020
5c38699
CLI upgrade
Aug 31, 2020
bcd2d0e
Linter autofix
Aug 31, 2020
d7c349d
Linter - manual fixes
Aug 31, 2020
897a48f
Version bump + readme fix
Aug 31, 2020
25dcf14
finish importing channels
mnaamani Aug 31, 2020
d2d4378
queryMultiOnce fix
Aug 31, 2020
e979fb6
fix channel id deserialization
mnaamani Aug 31, 2020
33cb84e
Video sorting fix
Aug 31, 2020
bbede5c
Member preview ID minor fix
Aug 31, 2020
a622e6a
Merge branch 'iznik' into types-augment
Sep 1, 2020
c87bb64
Update with generate:all
Sep 1, 2020
8f303e7
Fix tsconfig paths in pioneer and api-examples
Sep 1, 2020
01c8b4a
Merge pull request #1177 from Lezek123/types-augment
mnaamani Sep 1, 2020
940657b
Merge branch 'iznik' into pioneer-upgrade-final
Sep 1, 2020
00e09d9
Update yarn.lock
Sep 1, 2020
c446545
Merge branch 'iznik' into cli-upgrade
Sep 1, 2020
6081788
storage-node: Fix linter errors.
shamil-gadelshin Sep 1, 2020
c2115da
storage-node: Review fixes.
shamil-gadelshin Sep 1, 2020
e88b6a2
Merge pull request #1189 from shamil-gadelshin/storage_node_conversion
mnaamani Sep 2, 2020
f8a1dad
removed separate dockerfile for tesing, added testing export data
gleb-urvanov Sep 2, 2020
4da98e4
Merge branch 'chainspec-import-members-forum-versioned-store' of http…
gleb-urvanov Sep 2, 2020
7a3afd1
Use .keys() to retrieve ids in media transport
Sep 2, 2020
1fa5f3e
Merge branch 'iznik' into pioneer-upgrade-final
Sep 2, 2020
525dc6d
RuntimeUpgrade and Text proposal - get limits from runtime consts
Sep 2, 2020
b62f2cb
node chainspec: allow non contiguous entity ids in entities map
mnaamani Sep 2, 2020
c71d820
Merge branch 'content_directory_second_try' into iznik
iorveth Sep 2, 2020
040e90a
added playbook for testing with exported state
gleb-urvanov Sep 2, 2020
1593bab
changed playbook for testing workflow
gleb-urvanov Sep 2, 2020
d27fc14
chainspec renamed
gleb-urvanov Sep 2, 2020
1d7d84d
createMock and mockRegistry rename
Sep 3, 2020
fad4b2b
Pioneer's tsconfig paths: minor fix
Sep 3, 2020
7edff5e
Always use the same registry instance in Pioneer
Sep 3, 2020
728bb4c
createType('u128') => createType('Balance')
Sep 3, 2020
cccc002
Merge pull request #1223 from iorveth/iznik
bedeho Sep 3, 2020
c8f2d1f
Drop EditForumSudo
Sep 3, 2020
8b2b484
Make Fields.explicit a dropdown
Sep 3, 2020
ab76031
Fix @polkadot/keyring dependencies/resolutions
Sep 3, 2020
55a1f1e
worker payout test fixed
gleb-urvanov Sep 3, 2020
c0ad2d1
returned upgrade runtime to the testset
gleb-urvanov Sep 3, 2020
6e3ebf6
node: re-org Cargo.toml
mnaamani Sep 3, 2020
a498fef
runtime-modules: Cargo.toml tweak
mnaamani Sep 3, 2020
9d3d637
additional Cargo.toml tweaks
mnaamani Sep 3, 2020
2957b71
runtime: members module remove redundant ensure_unique_handle calls
mnaamani Sep 3, 2020
3a01b78
node: doc public methods
mnaamani Sep 3, 2020
14abbc4
membership module: update docs for methods on GenesisConfigBuilder
mnaamani Sep 3, 2020
ee78fe5
Merge pull request #1195 from Lezek123/pioneer-upgrade-final
mnaamani Sep 3, 2020
5692090
Merge pull request #1226 from Lezek123/resolutions-fix
mnaamani Sep 3, 2020
1cfeed8
Merge pull request #1204 from Lezek123/video-sort-hotfix
mnaamani Sep 3, 2020
65cf1e1
Merge pull request #1190 from mnaamani/chainspec-import-members-forum…
shamil-gadelshin Sep 3, 2020
8659f3d
chainspec builder can specify chain type argument
mnaamani Sep 3, 2020
673b826
validators reward curve tweak
mnaamani Sep 3, 2020
39815a3
increase max spending proposal limit
mnaamani Sep 3, 2020
69f9db9
pioneer: fix working group max mint capacity to match runtime
mnaamani Sep 3, 2020
97c0855
runtime: forum increase post_text_constraint max len to 2990
mnaamani Sep 3, 2020
ae1657e
adjust initial council election parameters
mnaamani Sep 3, 2020
45b395c
duration increased
gleb-urvanov Sep 3, 2020
1906f30
runtime upgrade temporary removed
gleb-urvanov Sep 3, 2020
d21b2fb
node: remove cents dollars names
mnaamani Sep 4, 2020
b33ad3a
Merge pull request #1228 from mnaamani/genesis-and-runtime-parameter-…
bwhm Sep 4, 2020
fd2a936
chain spec: initial balances
mnaamani Sep 4, 2020
f9fec10
Merge branch 'iznik' into genesis-initial-balances
mnaamani Sep 4, 2020
956fe35
fix too many args in chain-spec-builder method
mnaamani Sep 4, 2020
39ee2e2
initial_member use serialized json instead of codec encoding for simp…
mnaamani Sep 4, 2020
c13d573
added console output for ci flow
gleb-urvanov Sep 4, 2020
6b94b85
runtime: increase RuntimeUpgradeWasmProposalMaxLength
mnaamani Sep 4, 2020
0d45512
storage liasison selection includes lead
mnaamani Sep 4, 2020
a253e1d
Merge pull request #1233 from mnaamani/runtime-proposal-upgrade-limit
shamil-gadelshin Sep 4, 2020
b2636f5
working group: update test for get_all/regular_worker_ids
mnaamani Sep 4, 2020
2020ff3
Merge pull request #1234 from mnaamani/storage-lead-can-be-liaison
shamil-gadelshin Sep 4, 2020
441f4bd
minor code refactor and comments about refactoring needed for method …
mnaamani Sep 4, 2020
7b9c2f5
chainspec-builder: code refactor to functional style for clarity
mnaamani Sep 4, 2020
334a65a
Merge pull request #1231 from mnaamani/genesis-initial-balances
shamil-gadelshin Sep 4, 2020
d07a2d7
council: create mint at genesis
mnaamani Sep 4, 2020
aff17e3
runtime: council refactor mint to not be an Option create it at genesis
mnaamani Sep 4, 2020
423b4ad
Proposal error message hotfix
Sep 4, 2020
5f19646
Change proposal error type to Text
Sep 4, 2020
d4c9a9b
worker payout fixed
gleb-urvanov Sep 4, 2020
d6f6eb5
Merge pull request #1236 from Lezek123/proposal-error-hotfix
mnaamani Sep 5, 2020
3495312
Merge branch 'master' into update-from-master
mnaamani Sep 5, 2020
d316116
working group: initial capacity 0
mnaamani Sep 5, 2020
fa3f1bb
chainspec: set minimum_validator_count to number of initial authorities
mnaamani Sep 5, 2020
f52fc0b
council: fix comment
mnaamani Sep 5, 2020
da3243f
build scripts: use correct rust nightly toolchain
mnaamani Sep 5, 2020
b158fef
node: bump minor version to trigger travis build
mnaamani Sep 5, 2020
617db8f
Merge pull request #1238 from mnaamani/update-from-master
bedeho Sep 5, 2020
2603ef4
travis: clippy still needs BUILD_DUMMY_WASM_BINARY=1 to work correctl…
mnaamani Sep 5, 2020
1e048ff
rust-builder: update Dockerfile to use latest stable rust
mnaamani Sep 5, 2020
e02835b
Merge pull request #1239 from mnaamani/correct-min-validators
bwhm Sep 5, 2020
85945e6
travis: use travis_wait to workaround seemingly stalled build
mnaamani Sep 5, 2020
88c8247
docker files: update to use correct rust toolchain
mnaamani Sep 5, 2020
88a3a23
travis: use travis_wait only for build and allow 45min
mnaamani Sep 5, 2020
f5c7751
travis: use release build for all
mnaamani Sep 5, 2020
a97876d
pre-push, yarn cargo-checks clippy before tests, using release build
mnaamani Sep 5, 2020
e0aae4b
pioneer: linter fix
mnaamani Sep 5, 2020
9cb0ae5
Merge pull request #1243 from mnaamani/fix-pioneer-lint-error
bedeho Sep 6, 2020
1860dd3
Merge pull request #1240 from mnaamani/fix-build-toolchain
bedeho Sep 6, 2020
7d0adca
Merge branch 'iznik' into create-council-mint-at-genesis
mnaamani Sep 6, 2020
b0548c9
node: re-enabled sc-service-test unit tests
mnaamani Sep 7, 2020
8288e51
merged iznik
gleb-urvanov Sep 7, 2020
11c79ba
Merge pull request #1237 from mnaamani/create-council-mint-at-genesis
shamil-gadelshin Sep 7, 2020
c0cac61
Merge branch 'iznik' into cli-upgrade-fix-types
mnaamani Sep 7, 2020
d805993
merged iznik and fixed conflicts
mnaamani Sep 7, 2020
fc93799
Merge branch 'iznik' into re-enable-node-tests
mnaamani Sep 7, 2020
a2094ff
travis: pass `--ignored` argument correctly
mnaamani Sep 7, 2020
a8eb75f
Merge pull request #1250 from mnaamani/cli-upgrade-fix-types
bwhm Sep 7, 2020
3945467
Merge pull request #1246 from mnaamani/re-enable-node-tests
shamil-gadelshin Sep 7, 2020
5772cf5
altered path to augment types
gleb-urvanov Sep 7, 2020
c04f3ee
linter fixed
gleb-urvanov Sep 7, 2020
4be2ae7
chain-spec-builder: Add authority_discovery_key.
shamil-gadelshin Sep 7, 2020
0ceb236
Merge pull request #1 from Joystream/content_directory_second_try
iorveth Sep 8, 2020
7b1d49c
yarn.lock updated
gleb-urvanov Sep 8, 2020
3cb5be7
typo fixed
gleb-urvanov Sep 8, 2020
f43bb36
nonce clearing for transaction expected to failure added
gleb-urvanov Sep 8, 2020
1f9b8c9
Refactoring: remove debug trait inheritance
iorveth Sep 8, 2020
7e2ba82
refactoring: simplify
iorveth Sep 8, 2020
ef075f6
fix typo
iorveth Sep 8, 2020
883e559
Add content directory dependency
iorveth Sep 8, 2020
ed03e80
Cont dir initial runtime integration work
iorveth Sep 8, 2020
38845e7
reverted nonce changes
gleb-urvanov Sep 9, 2020
8c6761f
Merge branch 'iznik' into feature/devops-update
gleb-urvanov Sep 9, 2020
8c641e1
removed docker-compose dependency for testing purposes
gleb-urvanov Sep 9, 2020
f1b0220
Merge pull request #1253 from shamil-gadelshin/chain_spec_new_key
mnaamani Sep 9, 2020
9cf9c97
typo fixed
gleb-urvanov Sep 9, 2020
6e0b505
reward relationship for leader issue fixed
gleb-urvanov Sep 9, 2020
3b9ef6b
Replace manual Debug traits implementation with macro, when possible,…
iorveth Sep 9, 2020
533bfdc
Implement Debug trait only with std feature condition
iorveth Sep 9, 2020
39ef577
Merge branch 'cont_directory_debug_trait_implementation' into runtime…
iorveth Sep 9, 2020
a345a2b
Merge pull request #1259 from iorveth/cont_directory_debug_trait_impl…
bedeho Sep 9, 2020
af305a8
make MaxNumber type public
iorveth Sep 10, 2020
59fc8d0
Bug/worker payout (#9)
gleb-urvanov Sep 10, 2020
e99d095
runtime: Update the chain constants.
shamil-gadelshin Sep 10, 2020
f643c0e
chainspec and runtime upgrade removal (#11)
gleb-urvanov Sep 10, 2020
aadb581
runtime: Fix uncle rewards.
shamil-gadelshin Sep 11, 2020
0f73dc2
Merge pull request #1279 from shamil-gadelshin/change_chain_constants
mnaamani Sep 11, 2020
8ec202f
runtime: Bump runtime & node versions.
shamil-gadelshin Sep 11, 2020
081069f
Rename Accounts to My Keys, rename Staking to Validators, move Memo i…
DzhideX Sep 11, 2020
a3e8c56
Fix linting and build
DzhideX Sep 11, 2020
42e1f44
Merge pull request #1299 from shamil-gadelshin/fix-uncle-rewards
mnaamani Sep 11, 2020
4c2c0d6
Execution time improvement (#14)
gleb-urvanov Sep 11, 2020
70bf5e8
added execute permission for new script
gleb-urvanov Sep 11, 2020
afd7f8d
Merge pull request #1304 from DzhideX/edvin/iznik-fixes
mnaamani Sep 12, 2020
c87276e
runtime: add pallet-runtime for doing batch staking payouts
mnaamani Sep 13, 2020
825ae53
Merge pull request #1313 from mnaamani/runtime-add-utility-pallet
bwhm Sep 13, 2020
33a8c89
Remove redundant traits from content directory trait associated types
iorveth Sep 13, 2020
35165d2
Add content directory config
iorveth Sep 13, 2020
04ae232
Chainspec: Remove unnecessary import
iorveth Sep 13, 2020
ad5511b
storage-node: proxy /asset/v1/ to IPFS HTTP Gateway
mnaamani Sep 14, 2020
656a48a
storage-node: docker compose config ipfs gateway before launch
mnaamani Sep 14, 2020
6beeea3
Merge pull request #1225 from gleb-urvanov/feature/devops-update
mnaamani Sep 14, 2020
48d4e30
Remove class_by_id & entity_by_id from chainspec config
iorveth Sep 14, 2020
ae2ef29
content_directory integration - initial implementation
iorveth Sep 14, 2020
5202cba
Add content_directory integration file
iorveth Sep 14, 2020
3cdada7
storage-node: drop nonce caching and use api.rpc.system.accountNextIndex
mnaamani Sep 15, 2020
0544d08
cli: fix dependency to correct version of polkadot/api package
mnaamani Sep 15, 2020
905fe9e
content_directory integration: fix is_lead implementation
iorveth Sep 15, 2020
f5293c3
Merge pull request #1353 from mnaamani/publish-alexandria-types-and-cli
mnaamani Sep 15, 2020
06b4dd8
Merge branch 'iznik' into colossus/route-to-ipfs-gateway
mnaamani Sep 15, 2020
b9c741e
Introduce ContentDirectoryWorkingGroup - Instance3
iorveth Sep 15, 2020
9d6bbb0
WorkingGroup: Add missing comment
iorveth Sep 15, 2020
d993a64
Content directory refactoring: remove unnecessary spaces
iorveth Sep 15, 2020
1afb546
Merge pull request #1352 from mnaamani/colossus/nonces-use-accountNex…
shamil-gadelshin Sep 15, 2020
6445771
proposals_codex: Remove SetLead proposal type
iorveth Sep 15, 2020
bf8c282
proposals_codex: Remove set_content_working_group_mint_capacity prop…
iorveth Sep 15, 2020
d63ea35
proposals_codex: Remove set_content_working_group_mint_capacity prop…
iorveth Sep 15, 2020
e7a6103
Remove content-working-group from proposals_pallet
iorveth Sep 15, 2020
3ac97aa
storage-node: refactor ipfs gateway proxy to be under the openapi paths
mnaamani Sep 16, 2020
4133c7b
storage-node: fix openapi doc for /discover
mnaamani Sep 16, 2020
95ddc4e
proposals_codex: remove old dev dependencies
iorveth Sep 16, 2020
5876f37
proposals_codex: implement working_group trait for mock runtime
iorveth Sep 16, 2020
531abfa
Merge pull request #1273 from iorveth/runtime_integration
bedeho Sep 16, 2020
84871f2
Merge pull request #1343 from mnaamani/colossus/route-to-ipfs-gateway
shamil-gadelshin Sep 16, 2020
c74df4f
Merge pull request #3 from Joystream/content_directory_second_try
iorveth Sep 16, 2020
571878f
Merge pull request #7 from Joystream/iznik
iorveth Sep 16, 2020
4d15ae3
Merge latest iznik changes, resolve chain_spec merge conflict
iorveth Sep 16, 2020
e0fde1a
Merge remote-tracking branch 'origin/content_directory_second_try' in…
iorveth Sep 16, 2020
a3e59df
Merge pull request #1384 from iorveth/content_directory_second_try
shamil-gadelshin Sep 16, 2020
5abe287
Fix ensure_entities_creation_limits_are_valid function
iorveth Sep 21, 2020
8550b27
fix type name in proposal_codex_module
iorveth Sep 21, 2020
907dc0d
Add WorkingGroup::Content enum variant, refactor integration tests
iorveth Sep 21, 2020
64faa21
Content directory refactoring: move property related logic to separat…
iorveth Sep 22, 2020
0212262
Split up working_group StakingEventsHandler into ContentDirectoryWGSt…
iorveth Sep 22, 2020
5062696
working_group proposals integration coverage initial work
iorveth Sep 24, 2020
f16bb21
integration/working_group_proposals: Fix broken tests
iorveth Sep 25, 2020
caf2590
integration/working_group_proposal: Upgrade remaining tests to generi…
iorveth Sep 28, 2020
d0842cb
Merge remote-tracking branch 'origin/proposal_codex_upgrade' into con…
iorveth Sep 28, 2020
d8bba20
Merge pull request #1366 from iorveth/proposal_codex_upgrade
bedeho Sep 28, 2020
f7fab5c
Merge pull request #1436 from iorveth/content_directory_schema_refact…
bedeho Sep 28, 2020
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
  •  
  •  
  •  
16 changes: 7 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# In case prettier plugin or eslint with autofix is not enabled in IDE
# The fallback settings here should match with our prettierrc config
# so we get consistency!
root = true

[*]
indent_style=tab
indent_size=tab
tab_width=4
indent_style=space
indent_size=2
tab_width=2
end_of_line=lf
charset=utf-8
trim_trailing_whitespace=true
max_line_length=120
insert_final_newline=true

[*.yml]
indent_style=space
indent_size=2
tab_width=8
end_of_line=lf
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
extends: [
'@joystream/eslint-config'
]
}
47 changes: 47 additions & 0 deletions .github/workflows/joystream-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: joystream-cli
on: [pull_request, push]

jobs:
cli_build_ubuntu:
name: Ubuntu Checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile
yarn workspace @joystream/cli checks
- name: yarn pack test
run: |
yarn workspace @joystream/cli pack --filename cli-pack-test.tgz
tar zxvf ./cli/cli-pack-test.tgz -C cli
cd ./cli/package && yarn link

cli_build_osx:
name: MacOS Checks
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile --network-timeout 120000
yarn workspace @joystream/cli checks
- name: yarn pack test
run: |
yarn workspace @joystream/cli pack --filename cli-pack-test.tgz
tar zxvf ./cli/cli-pack-test.tgz -C cli
cd ./cli/package && yarn link
49 changes: 49 additions & 0 deletions .github/workflows/joystream-types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: joystream-types
on: [pull_request, push]

jobs:
types_checks_ubuntu:
name: Ubuntu Checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile
yarn workspace @joystream/types checks
- name: npm pack test
run: |
cd types
npm pack | tail -1 | xargs tar xzf
cd package && npm install
node ./index.js

types_checks_osx:
name: MacOS Checks
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile --network-timeout 120000
yarn workspace @joystream/types checks
- name: npm pack test
run: |
cd types
npm pack | tail -1 | xargs tar xzf
cd package && npm install
node ./index.js
37 changes: 37 additions & 0 deletions .github/workflows/network-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: network-tests
on: [pull_request, push]

jobs:
network_build_ubuntu:
name: Ubuntu Checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile
yarn workspace joystream-testing checks

network_build_osx:
name: MacOS Checks
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile --network-timeout 120000
yarn workspace joystream-testing checks
71 changes: 0 additions & 71 deletions .github/workflows/pioneer-pr.yml

This file was deleted.

71 changes: 71 additions & 0 deletions .github/workflows/pioneer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Pioneer
on: [pull_request, push]

jobs:
pioneer_build_ubuntu:
name: Ubuntu Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
yarn install --frozen-lockfile
yarn workspace pioneer build

pioneer_build_osx:
name: MacOS Build
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
yarn install --frozen-lockfile --network-timeout 120000
yarn workspace pioneer build

pioneer_lint_ubuntu:
name: Ubuntu Linting
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: lint
run: |
yarn install --frozen-lockfile
yarn workspace pioneer lint

pioneer_lint_osx:
name: MacOS Linting
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: lint
run: |
yarn install --frozen-lockfile --network-timeout 120000
yarn workspace pioneer lint
25 changes: 25 additions & 0 deletions .github/workflows/run-network-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: run-network-tests
on:
pull_request:
types: [labeled]
workflow_dispatch:

jobs:
run_ansible_tests:
if: github.event.label.name == 'run-network-tests' || github.event.action == null
name: run network tests using ansible
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install toolchain
run: curl https://getsubstrate.io -sSf | bash -s -- --fast
- name: ansible build and tests
run: |
cd ./devops/ansible
ansible-playbook -i hosts build-and-run-tests-single-node-playbook.yml --become -v
37 changes: 37 additions & 0 deletions .github/workflows/storage-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: storage-node
on: [pull_request, push]

jobs:
storage_node_build_ubuntu:
name: Ubuntu Checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile
yarn workspace storage-node checks

storage_node_build_osx:
name: MacOS Checks
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: checks
run: |
yarn install --frozen-lockfile --network-timeout 120000
yarn workspace storage-node checks
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ yarn*
.*.sw*

# Visual Studio Code
.vscode
.vscode/

# Compiled WASM code
*.wasm
Expand Down
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('@joystream/prettier-config'),
}
Loading