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

v0.3.0 rc.2 #736

Merged
merged 728 commits into from
Jul 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
728 commits
Select commit Hold shift + click to select a range
2e85d76
feat: cleanup schemas and add docker-compose env generation support
HenryNguyen5 Apr 26, 2021
d66769c
chore: remove unused scripts
HenryNguyen5 Apr 26, 2021
67d1bd1
refactor: remove unused swagger defs
HenryNguyen5 Apr 27, 2021
6c6e5da
refactor: remove unused oas.json files
HenryNguyen5 Apr 27, 2021
d6609d9
chore: remove fragments of oas scripts
HenryNguyen5 Apr 27, 2021
2982915
fix: address PR feedback
HenryNguyen5 Apr 28, 2021
e9e24aa
test(scripts): update env snapshots
HenryNguyen5 Apr 29, 2021
243ca43
fix: burst connection handling (#476)
RodrigoAD Apr 30, 2021
1e9324d
perf: removed message in subscription payload (#479)
RodrigoAD Apr 30, 2021
e039a9c
style: wS impl style tweaks
krebernisak May 1, 2021
7143455
refactor(ws): clean up WS logging
krebernisak May 1, 2021
6dda409
refactor(ws): Move WS handlers to adapter.ts
krebernisak May 1, 2021
d4f1cb2
refactor(ws): remove heartbeat ws action
krebernisak May 1, 2021
bf06136
fix: validator does not mutate its input values (#482)
RodrigoAD May 3, 2021
ff0c1a8
fix: connecting status if no active connection exists
RodrigoAD May 3, 2021
8329844
refactor: improved readability
RodrigoAD May 3, 2021
844bf1a
fix: unsubscribe due to unresponsive channel only on active subscript…
RodrigoAD May 3, 2021
10b243a
fix(boostrap-metrics): fixed parameter for metrics on ubuntu
aalu1418 May 3, 2021
c54f06f
Update packages/core/bootstrap/prometheus.yml
krebernisak May 4, 2021
6fc7961
perf: added metrics at unresponsive subscriptions (#488)
RodrigoAD May 4, 2021
05556bc
fix: subscription loading check added
RodrigoAD May 4, 2021
f7436eb
fix: unsubscription metric happens only if the subs was active (#493)
RodrigoAD May 5, 2021
5ec1df1
fix(tradingeconomics): fix missing overrides for websocket
aalu1418 May 5, 2021
64debd2
feat(augur): augur adapters and changes (#492)
boxhock May 6, 2021
3ce2c2e
feat: warmer and ws play together (#500)
RodrigoAD May 7, 2021
8674056
fix(bootstrap-ws): handle state + metrics when TTL parameter is too s…
aalu1418 May 7, 2021
5070259
feat(eod): added support for EOD close prices (#507)
boxhock May 7, 2021
e771f62
fix(therundown): fix date formatting when requesting events for a dat…
boxhock May 9, 2021
7989f93
fix(augur): fix nonce management (#514)
boxhock May 10, 2021
4b7068f
fix(augur): use normalized team ids (#519)
boxhock May 10, 2021
06f9247
fix(augur): fix typo (#520)
boxhock May 10, 2021
6a41056
Adapter for expert car broker (#516)
boxhock May 10, 2021
ebb11e4
docs: additional docs for EAEE & EAs directories (#517)
justinkaseman May 10, 2021
ad34f63
fix: unsubscriptions metrics when ws disconnection happens (#522)
RodrigoAD May 11, 2021
1480eb4
Refactor connections state to be similar to subscriptions state (#509)
aalu1418 May 11, 2021
5b9f073
chore(yarn): update yarn cache and lockfile
HenryNguyen5 May 11, 2021
d8b81b2
feat(scripts): add healthcheck payload generation script
HenryNguyen5 May 11, 2021
3f4c5c5
feat: add test payloads
HenryNguyen5 May 11, 2021
f96c618
feat: add health endpoint implementation for adapters
HenryNguyen5 May 11, 2021
f2ac07e
fix(intrinio): calling destroy in SDK to prevent zombie connections (…
aalu1418 May 12, 2021
254d4bd
Switch out logging package (#524)
aalu1418 May 12, 2021
51ee098
Fix augur encoding (#529)
boxhock May 12, 2021
921cf4d
Batch requests (#460)
justinkaseman May 12, 2021
b4a4494
fix(augur): expect `getEventMarkets()` to return BigNumbers (#530)
boxhock May 12, 2021
f7d5317
Feature/coins calls (#487)
justinkaseman May 12, 2021
2c6e60c
conflux send tx optimization (#533)
Pana May 13, 2021
235af2c
Chore/prep v0.3.0 rc.1 (#535)
justinkaseman May 13, 2021
4896622
fix(bootstrap): add missing provider limits config (#537)
justinkaseman May 14, 2021
2ec00bd
feat(tiingo): add crypto WS handler (#532)
justinkaseman May 14, 2021
ca5aa81
feat(ws): improve logging (#505)
boxhock May 14, 2021
ff54a4d
fix(augur): treat `0.0001` as a special case (#531)
boxhock May 14, 2021
61fdbfb
fix(bootstrap): re-add try/finally logic to cache connection
justinkaseman May 16, 2021
82e64ca
fix(iex-cloud): brings back 'eod' endpoint
justinkaseman May 16, 2021
da31fef
fix(bootstrap): add missing tiingo WS api tier configuration
justinkaseman May 16, 2021
26f6d23
feat(bootstrap-ws): added env var to enable ws connections (#536)
aalu1418 May 17, 2021
12fb572
fix: fix unbounded labels from unstable keys in metrics
HenryNguyen5 May 18, 2021
e99d727
feat(metric): include 'isCacheWarming' label to http requests metric
HenryNguyen5 May 18, 2021
c7437fd
fix: increase TTL of coin list calls to an hour (#538)
justinkaseman May 18, 2021
0f76271
feat(augur): add more detailed debug logging (#545)
boxhock May 18, 2021
23caa17
fix(bootstrap): correct Tiingo api tiers (#549)
justinkaseman May 18, 2021
57ca0ab
Augur head2head no affiliates (#551)
boxhock May 18, 2021
241208c
[Chore] Semantic release dependency & Yarn 2 PnP workflow check (#548)
justinkaseman May 18, 2021
b9e1618
chore: add missing @semantic-release/release-notes-generator dependency
justinkaseman May 19, 2021
f3d5f90
fix: amend install of missing "@semantic-release/release-notes-ge…
justinkaseman May 19, 2021
20419ec
chore: add @semantic-release/npm
justinkaseman May 19, 2021
a4d8134
chore: add @semantic-release/github
justinkaseman May 19, 2021
2313b03
Add jsonnet lib for grafana
HenryNguyen5 Apr 9, 2021
56ec003
Setup grizzly MVP
HenryNguyen5 Apr 14, 2021
b98a8bc
Replicate EA staging dashboard in grafana
HenryNguyen5 Apr 18, 2021
593b6ce
Add grafana previews
HenryNguyen5 Apr 18, 2021
929a797
Update gitignore
HenryNguyen5 Apr 18, 2021
ce61661
Clean up grafana action
HenryNguyen5 Apr 18, 2021
8bd250f
feat(grafana): extract constants into extVars
HenryNguyen5 Apr 29, 2021
19e115a
feat(grafana): add websocket metrics
HenryNguyen5 Apr 30, 2021
fcf7e4e
feat(grafana): add service with metrics composition
HenryNguyen5 May 6, 2021
9dc9be2
Add context to validator messages
HenryNguyen5 May 19, 2021
3151003
Update dev env
HenryNguyen5 May 19, 2021
f1e9d69
Fix typo
HenryNguyen5 May 19, 2021
8cf68e4
Update dashboards
HenryNguyen5 May 19, 2021
bf4b390
Add redis metrics and contextual errors
HenryNguyen5 May 19, 2021
e997952
Memoize cache creation
HenryNguyen5 May 19, 2021
3acfecc
Remove broken workflow
HenryNguyen5 May 19, 2021
8f3ea75
Remove context change
HenryNguyen5 May 19, 2021
572dcd2
fix(bootstrap): add check when initializing cache warmer for using WS…
justinkaseman May 19, 2021
5b7fddb
fix(bootstrap): rate limiter's cache warmer request id (#550)
justinkaseman May 19, 2021
5dc1d6b
performance/EAEE (#558)
HenryNguyen5 May 20, 2021
a9c8dd3
fix: rate limit: removed sec and day intervals
RodrigoAD May 20, 2021
f285223
perf: removed minute interval. shorter names on redux state
RodrigoAD May 20, 2021
f32eb7e
perf: shortened state keys
RodrigoAD May 20, 2021
99bb2c5
fix: fixed tests
RodrigoAD May 20, 2021
2d865f3
Add more logging
HenryNguyen5 May 20, 2021
3755778
fix: dont log validation errors on WS subscription
HenryNguyen5 May 21, 2021
4a6791a
Make cache-warmer subscriptions instant
HenryNguyen5 May 21, 2021
4321b74
Set cache logs to trace
HenryNguyen5 May 21, 2021
b8d29be
Have redis timeout error more verbose
HenryNguyen5 May 21, 2021
159dbb4
Move ws cache log to trace
HenryNguyen5 May 21, 2021
9540fc4
Blacklist WS messages from devtools
HenryNguyen5 May 21, 2021
81c6119
Reduce cache-warmer spam when paired with WS feed
HenryNguyen5 May 21, 2021
59ab3fa
Fix cache warmer tests
HenryNguyen5 May 21, 2021
feb9271
feat(binance): add binance adapter (#569)
boxhock May 25, 2021
299cb0c
fix: normalize batch request results keys
justinkaseman May 25, 2021
c6530a1
fix(unibit): reflect Unibit historical endpoint cost of 10 credits/re…
justinkaseman May 25, 2021
6eb93d6
fix(token-allocation): batched response keys in by symbol, not quote
justinkaseman May 25, 2021
cd3914e
fix: coingecko and Coinpaprika correctly use overrides for batch requ…
justinkaseman May 26, 2021
3b68259
Fix undefined property access
HenryNguyen5 May 27, 2021
357b8b3
Augur Sportsdataio (#563)
boxhock May 27, 2021
51288d7
fix(bootstrap): correct cryptocompare tier config. Month should be de…
justinkaseman May 27, 2021
e0a592f
feat(vesper): add vesper tvl adapter (#578)
boxhock May 27, 2021
76cba7b
feat(bootstrap): add api tier config for CryptoCompare enterprise-lite
justinkaseman May 27, 2021
f1aac0a
Optimize RL performance
HenryNguyen5 May 28, 2021
254fd01
chore(scripts): add k6 12 soak test
justinkaseman May 25, 2021
6ff21c7
feat(bootstrap): add BNB/ETH to load test
justinkaseman May 27, 2021
33cba8b
Begin migration of k6 to TS
HenryNguyen5 May 28, 2021
302d7b9
Enable module imports with TS
HenryNguyen5 May 29, 2021
fe4abc8
fix(k6): fix linting errors
HenryNguyen5 Jun 1, 2021
f112bdf
feat(bootstrap): add minimum TTL
justinkaseman Jun 1, 2021
e53775a
feat(bootstrap): raise default max age to 2 minutes
justinkaseman Jun 1, 2021
64b7e5b
feat(bootstrap): label cache max age warnings with feedId
justinkaseman Jun 1, 2021
33c018e
refactor(bootstrap): modify remote dev script
justinkaseman Jun 1, 2021
06e4050
test(bootstrap): modify tests for min and new max TTL
justinkaseman Jun 1, 2021
0f05c50
refactor(bootstrap): increase websocket subscription timeouts to 2 mi…
justinkaseman Jun 1, 2021
7de00d6
refactor(bootstrap): requested changes
justinkaseman Jun 1, 2021
afb11bb
refactor(bootstrap): omit debug and rateLimitMaxAge fields from cache…
justinkaseman Jun 1, 2021
20ed638
test(bootstrap): fix cache-warmer test from additional ms added to ca…
justinkaseman Jun 1, 2021
b277939
refactor: remove log
justinkaseman Jun 2, 2021
2bed4c5
add test for cryptocompare
HenryNguyen5 Jun 2, 2021
5c55bfc
Add missing ethersjs deps (#586)
HenryNguyen5 Jun 2, 2021
1455b21
feat(binance): add provider limits (#588)
boxhock Jun 2, 2021
f91c6cf
fix(augur): update documentation (#589)
boxhock Jun 2, 2021
f880729
Update CVI (#499)
vladi-coti Jun 3, 2021
1257a46
docs(ws): add documentation about ws_enabled (#591)
boxhock Jun 4, 2021
47244e6
fix(metrics): should support BASE_URL (#594)
boxhock Jun 4, 2021
625ec9b
chore/cleanup ws (#590)
HenryNguyen5 Jun 7, 2021
8325789
Make metrics base url optional (#597)
HenryNguyen5 Jun 7, 2021
3ec849c
Allow rate adjustment independent of vus (#596)
HenryNguyen5 Jun 7, 2021
8cdd4fe
feat(proof of reserves): add ability to provide list of addresses dir…
boxhock Jun 8, 2021
2649f84
Support Pro API keys on Coingecko (#603)
boxhock Jun 9, 2021
072d1f9
refactor(to refactor and update the old bob (chain reader) adapter) (…
silaslenihan Jun 9, 2021
a1cd221
Make metrics base url optional
HenryNguyen5 Jun 7, 2021
45a1dfd
Make documentation more clear
HenryNguyen5 Jun 7, 2021
e3455f2
Add feed id to http requests metric
HenryNguyen5 Jun 8, 2021
4e89bd5
Add cache panels
HenryNguyen5 Jun 8, 2021
5e10669
Cleanup TS coverage, add more cache metrics
HenryNguyen5 Jun 6, 2021
1b574a3
Add more sane defaults for grafana local setup
HenryNguyen5 Jun 9, 2021
65edb56
Configure docker-compose for linux hosts
HenryNguyen5 Jun 9, 2021
690b42e
Update metrics
HenryNguyen5 Jun 9, 2021
514d892
Script grid layout
HenryNguyen5 Jun 10, 2021
059f70a
Add overview dashboard
HenryNguyen5 Jun 10, 2021
2e499d9
Move feedId fields to "metricsMeta"
HenryNguyen5 Jun 10, 2021
3021844
Remove missing fields from ws_message_total metric
HenryNguyen5 Jun 10, 2021
ae0c6e7
Touch up panels with units and tables
HenryNguyen5 Jun 10, 2021
c6d4dcb
Remove total column from http/m/feed overview
HenryNguyen5 Jun 10, 2021
48f7c84
Add missing table legend
HenryNguyen5 Jun 10, 2021
c499a26
Augur theRundown filter TBD (#608)
boxhock Jun 11, 2021
3ecb9a9
fix(apy-finance): change test payload to coinmarketcap source (#607)
justinkaseman Jun 11, 2021
633be3e
Add cache overview metrics
HenryNguyen5 Jun 12, 2021
70fcc69
Update dashboard naming
HenryNguyen5 Jun 14, 2021
5002da4
Extract shared metrics functionality
HenryNguyen5 Jun 14, 2021
2a2059f
fix(bootstrap): ignore metricsMeta from cache key generation
justinkaseman Jun 15, 2021
13e000a
feat: add Linear Finance composite adapter (#619)
boxhock Jun 15, 2021
759bd27
Reduce buckets for cache execution duration
HenryNguyen5 Jun 15, 2021
aae5ccd
[Fix] Bitex API key (#623)
justinkaseman Jun 17, 2021
49589d9
Refactored gas price for amberdata (#593)
silaslenihan Jun 21, 2021
bd3e38a
Setup documents for deploying grafana dashboards
HenryNguyen5 Jun 21, 2021
803860f
feat(token-allocation): add Tiingo support (#633)
boxhock Jun 23, 2021
0641637
[Feature] Dynamic test fixtures (#635)
justinkaseman Jun 24, 2021
cde1945
[Feat] Smart Cache Warming (#583)
justinkaseman Jun 26, 2021
f2216d3
fix(bootstrap): add LINK override to Coingecko (#639)
justinkaseman Jun 28, 2021
e390f83
fix(coingecko): getSymbolsToIds should favor searching by symbol firs…
justinkaseman Jun 28, 2021
cf032ec
Merge CD pipeline
HenryNguyen5 Jun 26, 2021
aa94e56
Add documentation to release file
HenryNguyen5 Jun 26, 2021
705a2e6
Add workflow dispatch trigger
HenryNguyen5 Jun 26, 2021
697a42f
Update alias
HenryNguyen5 Jun 26, 2021
bf79fe9
Remove nonexistant job requirement
HenryNguyen5 Jun 28, 2021
8b6e577
Fix fromJson conditional logic in gha
HenryNguyen5 Jun 28, 2021
d9af790
Fix fromJson conditional logic in matrix-adpaters
HenryNguyen5 Jun 29, 2021
8d8d82c
Fix job deps in gha
HenryNguyen5 Jun 29, 2021
28f8c7c
perf(bootstrap): lower `maxTTL` (#647)
justinkaseman Jun 29, 2021
6d7a9d1
Invert CD logic for master test
HenryNguyen5 Jun 29, 2021
2c1f2e1
Revert "Invert CD logic for master test"
HenryNguyen5 Jun 29, 2021
3f986f1
fix(token-allocation): allow default source to be set with env vars (…
boxhock Jun 30, 2021
2f7cc09
chore/synth index integration testing (#636)
HenryNguyen5 Jun 30, 2021
a7e9bf1
fix(bootstrap): payload loader (#656)
justinkaseman Jul 1, 2021
70c4cd3
Update synthetix to v2.45.3 (#659)
boxhock Jul 1, 2021
908ab69
chore: migrate to yarn v2.4.2
justinkaseman Jul 1, 2021
c446639
The graph adapter (#652)
cds95 Jul 2, 2021
c3c40c1
Make dex parameter required in the graph adapter (#664)
cds95 Jul 3, 2021
f313ec4
fix(coinapi): batch requests correctly forward to assets endpoint (#661)
justinkaseman Jul 6, 2021
587e02d
feat(bootstrap): separate /health endpoint from /smoke endpoint
justinkaseman Jul 6, 2021
8b1caea
feat(coinranking): refactor and add marketcap support (#662)
boxhock Jul 7, 2021
10f5554
refactor(outlier-detection): switch to using lowercase input parameters
justinkaseman Jul 8, 2021
28569bd
Query bitcoin balances from local node (#655)
thodges-gh Jul 9, 2021
a4ee2e4
fix(wbtc-address-set): remove filter for "chain === 'btc'"
justinkaseman Jul 9, 2021
5872098
feat(bootstrap): normalize input parameters in batch warmer
justinkaseman Jul 9, 2021
7b88549
fix(coinmarketcap): fix batchablePropertyPath name and handling of mu…
justinkaseman Jul 10, 2021
25e9f63
docs(cvi): clarify use of isAdaptive param (#677)
boxhock Jul 12, 2021
bf38cb9
fix(coinapi): use 'from' instead of 'base' as input parameter name
justinkaseman Jul 12, 2021
010e3a2
fix(finage): disable 'crypto' endpoint and update README
justinkaseman Jul 8, 2021
f55bb01
refactor(bootstrap): add connect_timeout and socket_initial_delay (#679)
justinkaseman Jul 13, 2021
50a3ecf
Refactor adapters to meet example (#604)
silaslenihan Jul 13, 2021
3caea96
refactor: combine anyblock adapters & rename poa-gasprice to poa (#682)
justinkaseman Jul 14, 2021
b70f4c4
Implement cryptoapis-v2 adapter (#683)
cds95 Jul 14, 2021
cddd4b1
[Fix] Cache key normalization #1 (#684)
justinkaseman Jul 14, 2021
f9b8081
Cache normalization #2 (#685)
justinkaseman Jul 15, 2021
3bfbf79
fix(bootstrap): re-order Redis retry function & increase connection t…
justinkaseman Jul 15, 2021
3050a29
[Fix] endpoints (#686)
justinkaseman Jul 15, 2021
8da4e72
chore(cache.gold): add cache.gold EA (#681)
bogos Jul 16, 2021
20f08f1
fix token one-off overrides (#646)
boxhock Jul 16, 2021
ccb7347
revert(bootstrap): revert Redis changes
justinkaseman Jul 16, 2021
8c838d9
fix(coinapi): correct assets endpoint path
justinkaseman Jul 16, 2021
a6ef253
Tiingo overrides (#690)
silaslenihan Jul 16, 2021
adb9222
revert(bootstrap): re-do redis changes (#692)
justinkaseman Jul 17, 2021
7a7361f
Removed requirement of API Key for deribit adapter (#694)
silaslenihan Jul 19, 2021
5cb89bc
revert(bootstrap): revert connection_timeout
justinkaseman Jul 19, 2021
4ffdec7
revert(bootstrap): revert initial timeout
justinkaseman Jul 19, 2021
ab7607f
revert(bootstrap): revert connection refused retry time
justinkaseman Jul 19, 2021
f01f017
fix(bootstrap): remove includes from input normalization
justinkaseman Jul 19, 2021
e30cf67
Added support for stock endpoint in eodhistoricaldata
silaslenihan Jul 19, 2021
b681abb
fix(stasis): remove requirement of API key
justinkaseman Jul 19, 2021
9d04933
fix(bitex): make API key optional
justinkaseman Jul 19, 2021
9063ef8
DXDao Adapter (#680)
cds95 Jul 20, 2021
88cdadb
feat: add Coinmetrics adapter (#701)
boxhock Jul 21, 2021
417e6ea
[Feat] NCFX External Adapter (#622)
justinkaseman Jul 21, 2021
f6fcd73
[Refactor] Adapter Context (#703)
justinkaseman Jul 22, 2021
3d7a8ce
feat(bootstrap): add configuration for retry amount
justinkaseman Jul 22, 2021
3f5928a
fix(nomics): correction to typo in marketcap endpoint's result path
justinkaseman Jul 22, 2021
2c13156
Fixed error in Cryptocompare WS adapter (#707)
silaslenihan Jul 23, 2021
7e66eb5
created master list of all adapters (#705)
silaslenihan Jul 23, 2021
a94f041
feat(tiingo): put WS behind development flag (#714)
boxhock Jul 27, 2021
c6afa0e
fix(coinpaprika): correct marketcap result path
justinkaseman Jul 27, 2021
a9538fb
[Feat] Burst Back-off (#713)
justinkaseman Jul 27, 2021
2750f87
[Feat] Rate limit defaults (#718)
justinkaseman Jul 27, 2021
1d4a5f2
Layer 2 Sequencer Status Check adapter (#711)
RodrigoAD Jul 28, 2021
39a99d8
refactor: response is feed expected answer instead of boolean (#719)
RodrigoAD Jul 28, 2021
d241b11
check to see whether result quote or convert field matches target quo…
cds95 Jul 28, 2021
c10bb4c
feat: check Redis connection on health check
boxhock Jul 29, 2021
a960327
refactor: added more detailed logs (#723)
RodrigoAD Jul 29, 2021
0e4df4d
[Fix] batch warmer cached start (#724)
justinkaseman Jul 29, 2021
89ae61b
Bugfix for parent cache warmer batched requests (#726)
cds95 Jul 29, 2021
49d23c2
refactor(token-allocations): remove batching of source adapters to le…
justinkaseman Jul 29, 2021
160a7c7
refactor(bootstrap): increase burst limit buffer
justinkaseman Jul 29, 2021
f75ff04
test(synth-index): update fixtures for non-batched requests
justinkaseman Jul 29, 2021
eeae4c8
refactor(bootstrap): only use explicitly defined per minute rate limi…
justinkaseman Jul 29, 2021
cabcb1d
refactor(bootstrap): throw 429 from burst limiter
justinkaseman Jul 30, 2021
37dc317
refactor(bootstrap): increase burst cap
justinkaseman Jul 30, 2021
574cf97
fix: blocks can fall behind delta blocks (#729)
RodrigoAD Jul 30, 2021
158fb33
Cherrypicked Case Normalization changes
silaslenihan Jul 30, 2021
3e8abe6
V0.3.0 rc1 (#651)
justinkaseman Jul 30, 2021
80ce891
D/v0.3.0 rc.1 (#732)
justinkaseman Jul 30, 2021
390d2df
Merge branch 'master' into develop
justinkaseman Jul 31, 2021
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
.git
node_modules
dist

# Build artifacts
packages/**/*.zip
**/tsconfig.tsbuildinfo
.DS_Store

# Yarn 2
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
node_modules
*generated*
**/vendor
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ node_modules
dist
# don't lint nyc coverage output
coverage

.yarn
.vscode
26 changes: 4 additions & 22 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
// https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md
module.exports = {
root: true,
env: {
browser: true,
node: true,
commonjs: true,
es6: true,
mocha: true,
},
extends: [
'eslint:recommended',
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2020,
},
ignorePatterns: ['node_modules/', 'dist/'],
rules: {
'standard/no-callback-literal': 0,
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
}
13 changes: 0 additions & 13 deletions .eslintrc.ts.js

This file was deleted.

22 changes: 0 additions & 22 deletions .github/scripts/matrix.js

This file was deleted.

132 changes: 0 additions & 132 deletions .github/strategy/adapters.json

This file was deleted.

104 changes: 46 additions & 58 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,52 @@ on:
- master
pull_request: ~

env:
cache-name: main-ci

jobs:
run-basic-checks:
name: Run linters and unit tests
runs-on: ubuntu-latest
# packages:
# name: Verify dependency package archives
# runs-on: [self-hosted, sdlc-ghr-prod]
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: '14.x'
# - name: Install Yarn
# run: npm install -g yarn
# - name: Upgrade Yarn
# run: yarn set version latest
# - name: Download dependencies
# run: YARN_CHECKSUM_BEHAVIOR=update yarn
# - name: Re-download dependencies & verify checksum
# run: yarn install --check-cache

run-integration-tests:
name: Run integration tests
runs-on: [self-hosted, sdlc-ghr-prod]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Cache node modules
uses: actions/cache@v2
with:
path: |
~/.npm
~/.cache
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
node-version: '14.x'
- name: Install Yarn
run: npm install -g yarn
- run: yarn install
- run: yarn setup
- run: yarn lint
- run: yarn test:unit
- run: yarn test:integration

test-example:
needs: [run-basic-checks]
name: Test example adapter
runs-on: ubuntu-latest
run-basic-checks:
name: Run linters and unit tests
runs-on: [self-hosted, sdlc-ghr-prod]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '14.x'
- name: Install Yarn
run: npm install -g yarn
- run: yarn install
- name: Cache node modules
uses: actions/cache@v2
with:
path: |
~/.npm
~/.cache
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- run: yarn setup
- run: yarn test:example-start-server&
- run: yarn test:example
- run: yarn lint
- run: yarn test:unit

# Read build strategy matrix of adapters, from a json file
matrix-adapters:
Expand All @@ -64,13 +60,12 @@ jobs:
matrix: ${{ steps.create-matrix.outputs.result }}
steps:
- uses: actions/checkout@v2
- uses: actions/github-script@v3
name: Create job matrix
id: create-matrix
- uses: actions/setup-node@v2
with:
script: |
const script = require(`${process.env.GITHUB_WORKSPACE}/.github/scripts/matrix.js`)
return script()
node-version: '14.x'
- name: Generate job matrix
id: create-matrix
run: yarn generate:gha:matrix

build-adapters:
needs: [run-basic-checks, matrix-adapters]
Expand All @@ -80,18 +75,11 @@ jobs:
matrix: ${{fromJson(needs.matrix-adapters.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '12.x'
- name: Cache node modules
uses: actions/cache@v2
- uses: actions/setup-node@v2
with:
path: |
~/.npm
~/.cache
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- run: ${{ matrix.adapter.cmd }}
- run: ${{ matrix.adapter.docker }}
node-version: '14.x'
- name: Install yarn deps
run: yarn
- name: Generate docker-compose file
run: yarn generate:docker-compose
- run: docker-compose -f docker-compose.generated.yaml build ${{ matrix.adapter.name }}
Loading