Commit Graph

76 Commits

Author SHA1 Message Date
Adam R
2ad47ec570
[internal] Fix Danger permission (#3261)
* Danger: fix permission, use DANGER token.

* Bogus file, to trigger error.

* Remove bogus

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 12:01:26 +02:00
Adam R
197613e61c
[internal] Set up Danger build on PR (#3243)
* Return all error messages from checks (to be used by Danger).
* Add Danger dev dep.
* Fix danger.yml + dangerfile.ts.
* Fix root files.
* Finetune Danger message.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 10:03:28 +02:00
Adam R
294d8bcb5d
[internal] Fixes and Checks: separate into consistency and sanity (#3197)
* rename to sanityFix
* Infra for consistency checks and Fixes.
* Whitelist check moved to consistency check only.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-10 10:56:41 +02:00
Adam R
bea2003184
[internal] More manual-trigger builds. (#3166)
* More manual-trigger builds.

* Yaml syntax fix.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-08 23:01:45 +02:00
Adam R
316c72eb9f
Experiment with manual-trigger for builds. (#3165)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-08 22:46:34 +02:00
Adam R
606d1a8e6f
Fix commit: disable on forks, as commit there causes no CI runs. (#3124)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 14:09:49 +02:00
Adam R
662662843e
[Internal] Fix build uses different tokens (#3121)
* Fix build uses different tokens.

* If expression syntax

* Restrict Upload to main repo, remove echo

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 12:47:01 +02:00
Adam R
8d53548052
[Internal] One fix build for all. (#3117)
* One fix build for all.

* Yaml formatting.

* Run formatting 2

* Ysaml formatting 3

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 11:29:42 +02:00
Adam R
5d8ed57d09
Fix build for forks. (#3116)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 10:56:27 +02:00
Adam R
319db19d4f
Fix PR on pull_request_target event. (#3115)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 09:51:03 +02:00
Adam R
d17d58e100
Fix-pr build must be on a branch, to be able to commit. (#3112)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 08:03:20 +02:00
Adam R
1afc0507ca
Fix-pr build: ref, not head_ref. (#3111)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 07:58:54 +02:00
Adam R
0c5ded0ce0
Remove git diff. (#3110)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 07:47:07 +02:00
Joshua Stone
333e6a3f82
Add POMP token logo (#3098)
* Add POMP token

Contract Address: 0x3f7D27c41fdCD1Afc660F64290d314e08ea576Ea
Website: https://pomp.finance
Etherscan: https://etherscan.io/address/0x3f7D27c41fdCD1Afc660F64290d314e08ea576Ea
Contact: contact@pomp.finance

* Update logo.png

compress image

* Update whitelist.json

updated whitelist

* Experiment with fix build running on the PR, 2nd take, now with GH_T (fix-pr)

* Fixes (whitelist, info formatting).

Co-authored-by: zachzwei <35627271+zachzwei@users.noreply.github.com>
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 07:28:45 +02:00
Adam R
102f2b88d4
[Internal] New infra for runnig checks (not as jest tests) (#2938)
* CMC mapping update.

* New check infrastructure, move root folder test to new infra.

* Move list of allowed files to config.

* Include new check in other tests.

* More generic way to call checks.

* Organize fix and update actions behind interfaces.

* Organize checks into steps, multiple steps per action.

* Simplify checkStep class/instance creation.

* Migrate chain logo checks.

* Migrate asset folder check.

* Migrate further chain checks.

* Migrate eth fork folder checks.

* Migrate binance chain check.

* Extra output.

* Output improvements.

* Async fix.

* Migrate Tron check.

* Add Tron check.

* Remove Tron check from old.

* White/blacklist check in new intra, combined with fix.

* Refine ETH checks.

* Remove from old infra.

* Migrate CMC check to new infra.

* Migrate validator tests to new check infra.

* Migrate Json files validity check to new check infra.

* Whitelist check fix.

* Cleanup helpers.ts.

* Move helpers.ts.

* Cleanup of models.ts.

* Move models.ts.

* Move index.test.ts.

* Update with BEP8 support.

* Descriptive names for jobs within the builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-06 21:17:38 +02:00
Adam R
dd89649082
Fix-pr does not work, due to credentials issue; removing it. (#3052)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-05 12:59:39 +02:00
Adam R
8ee083935c
Experiment with fix build running on the PR (fix-pr). (#3051)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-05 12:45:13 +02:00
Adam R
201ba902c0
Reduce TWT fee to 1000 (from 2000), in reaction to rate increase. (#3033)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-04 16:26:42 +02:00
Adam R
5fc5df8203
Add to bot message rule of max 10 logos per PR. (#2934)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-31 12:25:48 +02:00
Adam R
140142dafe
[Internal] Add token to fix build checkout (failed without). (#2944)
* CMC mapping update.

* Yaml formatting.

* Add token to fix build checkout (failed without).

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-30 06:59:24 +02:00
Adam R
079617ac38
[Internal] Refactored fix builds (#2920)
* Empty infrastructure for new-housekeeping build.

* Move updateBEP action to new new-housekeeping build infra.

* Remove old updateBEP.

* New-housekeeping-dryrun run.

* Include new top-level folder name script-new.

* Remove update:bep2 from old daily-run.

* Use imports instead of require.

* Small refactor for testability.

* Organize scripts into subfolders.

* iUpdateBEP2: refactor and add tests.

* Move formatting validators to new-housekeeping,add new helpers.

* Move info and black/whitelist fixing to new-housekeeping.

* New fix command.

* New 'fix' target; Move ETH checksum fix to new-housekeeping.

* Move logo size check and resize to new-housekeeping.

* Improved async error handling.

* Build renames.

* Move (old) BEP2 and CMC update to periodic update build.

* Rename (add missing).

* Rename builds.

* Renames ('fix').

* rename

* Invoke new scripts (as well) from period-update.

* Move cmc update to new-periodic.

* Move tezos validator update to new-periodic.

* Missing file.

* Leftover.

* Cleanup

* Rename of unused openseacontracts.

* CMC should not be run always.

* Break main/fixAndUpdate function into two.

* Show diff in build after changes.

* Cleanup

* Rename, script-old.

* Cleanup, remove old fix build definitions.

* Renames, remove new- prefix.

* CMC mapping update.

* Config infrastructure; add binance URL to config.

* Add image size parameters to config.

* Rename.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-29 15:42:51 +02:00
Adam R
83cb3aaa5b
Git checkout token in fix-dryrun build. (#2917)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-28 10:26:37 +02:00
Adam R
309944a41c
Fix Dryrun build on PRs -- try fix updates, without checkin. (#2915)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-28 07:41:11 +02:00
Adam R
741e78e67a
Rename builds. (#2896)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-28 07:22:28 +02:00
Adam R
06a1ab4105
[Internal] Clarify Correct and Update builds. (#2872)
* Rename to correct and periodic-update.

* Adjust build names.

* Move updates with external sources (BEP2 logos, CMC) from correct to periodic-update.

* Run periodic-update twice a day.

* Split correct into check-all and correct parallel builds.

* Rename, test instead of check.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-07-25 01:49:07 +02:00
Viktor Radchenko
edbee267e7
[CI] Upload assets repo to S3 bucket (#2832)
* [CI] Upload assets repo to S3 bucket

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Update pr-ci.yml

* Include blockchains

* Update pr-ci.yml

* Update pr-ci.yml
2020-07-21 17:48:14 -07:00
Adam R
9552fb891a
Bot config: add user catenocrypt, remove kolya. (#2815)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
Co-authored-by: Andrew M <35627271+zachzwei@users.noreply.github.com>
2020-07-20 10:45:51 +02:00
Nick Kozlov
72a117205a
Update update_validators_info.yml 2020-07-03 23:24:37 +03:00
Mykola
64535affa7 Remove assignee 2020-06-25 12:20:44 -07:00
Adam R
f88b99efb5
Merge bot config: Make closing message more informative (#2457)
* Merge bot config: Make closing message more informative.

* Punctuation.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-23 20:35:25 +08:00
Adam R
96a4367431
Merge bot config: Include zachzwei github user. (#2385)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-16 08:37:23 +02:00
Adam R
5ea9824c49
Merge-bot config: add user kolya182 as assign-on-pay. (#2378)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-15 14:04:47 +02:00
Adam R
7ac16c4070
Include tagged user in Paid message. (#2272)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-06-05 16:58:19 +02:00
Catenocrypt
194060bb81 Include tx explorer link in Paid message (new varaible). 2020-06-01 05:41:33 +02:00
Adam R
98cef8aa0c
Set reviewCreated message, fix for repeated 'paid' message. (#2220)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-30 09:36:06 +02:00
Adam R
5614cff795
Finetune merge fee bot messages. (#2208)
* Finetune merge fee bot messages.
* No comment for approve review.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-29 16:58:16 +02:00
mykola.eth
5a9e2a8622
Update cmc generation script (#2143) 2020-05-20 14:52:27 -07:00
Mykola
350043d8d7 Return TezoSteam and StakingTeam back to validators list. 2020-05-08 12:09:00 -07:00
mykola.eth
2ea9b74361
Add Tezos baker min delegation amount property (#2039) 2020-05-06 17:13:12 -07:00
Adam R
b830afb463
Merge bot config: Yaml format fix. (#2038)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-06 23:41:53 +02:00
Adam R
ebd402e72d
Merge-bot config: Extend message when paid; set amount tolerance to 98%. (#2036)
* Merge-bot config: Extend message when paid; set amount tolerance to 98%.
* Extra newline in message.
* Use 96% tolerance.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-05-06 23:35:51 +02:00
mykola.eth
e07451bb86
Add PR test CI (#1997)
* Add PR test CI

* fix syntax

* run

* Add cache

* remove unused commit script

* Disable restore-keys

* Add condition to skip install if cache true

* .

* Update packages

* Update cmc map

* node v

* temp disable cache

* on

* .

* skip check

* try new cache

* Change badge run test
2020-04-27 12:47:15 -07:00
Adam R
2e10ba7e39
Merge-fee-bot config: Reduce reminder frequency, reduce closing time. (#1984)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-25 18:56:33 -07:00
mykola.eth
32970001ed
Add auto assign (#1958)
* Add auto assign

* Use codeowners
2020-04-24 11:41:19 -07:00
mykola.eth
c93a32408e
Add auto update validators info (#1959) 2020-04-24 10:33:05 -07:00
Adam R
6518684c9f
Adjust price to 1 BNB (0.5 was left in static text). (#1960)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-23 06:21:32 +02:00
Adam R
10bcb6ed69
Merge bot: Increase fee amount (2000 TWT, 1.0 BNB). (#1952)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-22 11:00:21 -07:00
Adam R
89a291a89b
Merge bot config: add reminder message (#1951)
* Merge-fee-bot configuration: add maxIdleRemindHours: 13.
* Merge bot config: add reminder message.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-22 11:53:59 +02:00
Adam R
fc91f1ccf8
Merge-fee-bot configuration: add maxIdleRemindHours: 13. (#1945)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-21 22:15:04 +02:00
Adam R
e4a2904dc0
Merge-fee-bot config for auto close. (#1935)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-04-20 23:43:14 +02:00