Commit Graph

51 Commits

Author SHA1 Message Date
Adam R
68e0cc6d90
[internal] Set up Linting (#4040)
* Add ESLint infrastructure.

* Lint auto fixes.

* Lint fixes.

* Lint fixes.

* Add Lint to CI builds.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-09-18 16:39:31 +02:00
Adam R
6969705437
[internal] Enable fix auto commit on PRs (does not trigger CI run). (#3269)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 15:31:48 +02:00
Adam R
247b61d057
Revert to GETHUB_TOKEN; special token not available in fork PRs. (#3266)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 12:47:26 +02:00
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
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
Nick Kozlov
72a117205a
Update update_validators_info.yml 2020-07-03 23:24:37 +03:00
mykola.eth
5a9e2a8622
Update cmc generation script (#2143) 2020-05-20 14:52:27 -07:00
mykola.eth
2ea9b74361
Add Tezos baker min delegation amount property (#2039) 2020-05-06 17:13:12 -07: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
mykola.eth
c93a32408e
Add auto update validators info (#1959) 2020-04-24 10:33:05 -07:00
Mykola
8e4333a998 Remoe test script 2020-04-20 13:26:46 -07:00
mykola.eth
e19f1e9f1d
Run all script in daily update action (#1934)
* Run all script in daily update action

* Run all scripts
2020-04-20 13:15:31 -07:00
Mykola
ffc7e6559d Use Danger token for format action 2020-04-20 12:02:28 -07:00
elenixatzaa
b397f43feb
Add logo to Cybitex token (#1928)
* Add logo to Cybitex token

* Try add env to access token in forked PR

* Use GITHUB_TOKEN directly

* Daily update

* checksum

* Daily update

Co-authored-by: mykola.eth <3277207+kolya182@users.noreply.github.com>
Co-authored-by: Mykola <kolya182@gmail.com>
Co-authored-by: kolya182 <kolya182@users.noreply.github.com>
2020-04-19 23:35:46 -07:00
Mykola
970e7964d2 Remove image compression 2020-04-19 12:16:12 -07:00
Mykola
dd5a65769e Temp disabe image compression on PR 2020-04-19 12:10:36 -07:00
Mykola
a929dbeba5 fix token 2020-04-16 19:52:48 -07:00
mykola.eth
440bc104de
Add daily update action and formatter (#1882)
* Run image compression on very push to master

* Add contract in lowercase for test

* Add daily updater

* Add formatter on every pull,push to branches

* Remove  dublicates

* Fix run syntax

* Fix syntax

* Run image compression only when push to master

* Run formater on all PR, exept master

* Add npm cache

* Add branches

* Try fix rename issue on ci

* Add trailing slash

* remove trailing

* Move uses in step

* remove dash from uses

* Run each npm run individually

* remove name

* remove checksum

* rename to jpg

* Add AMATEN (AMA) lowercase

* debug

* Run checksum after formating

* USet lates checkout and commit to branch innsted deatached head

* Checkout to branch in checkout

* Fix version

* Add formating

* Add formating

Co-authored-by: kolya182 <kolya182@users.noreply.github.com>
2020-04-16 19:27:40 -07:00
mykola.eth
d6d2606101
Pr/1874 (#1879)
* LikeApp Update Logo and Info

popular global platform for creating and sharing original videos.

* move

* short_description

* Check info asset keys

* f

* Try access gituhb token

* Optimised images with calibre/image-actions

* Use corret size to match agains existing file

* Access branch name

Co-authored-by: likeappofc18 <63719781+likeappofc18@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-15 16:29:52 -07:00
mykola.eth
fc235f7602
Geopay master (#1873)
* Include iBBT Utility Token to the Trustwallet

* InterGalactic Credits CREE

InterGalactic Credits (CREE) are used as a multi-purpose mediation instrument to interact with other decentralized interPlanetary Nodes.

* Add 2 more coins for iBBT.

iBBT Alexander Commemorative Token, and GEO Rewards ORCA.

* Added 4 new iBBT.io Tokens

Added to Trust Wallet 4 new ibbt.io tokens;

Mythril Ore (ORE)
Med. Cannabis Note (₵)
Dollar Blocknote ($)
Realblock.io (REAL)

* Add Generator actions

* Checksum

* Optimised images with calibre/image-actions

* rm lowercase

* Fix syntax

* Change syntax

* Add on push

* Move uses from step

* Define uses in run in each step

* try

* Fix token handler

* Use action to push changes to pr branch

* GITHUB_REF

Co-authored-by: Antonis Valamontes <tony@geopay.me>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-14 21:50:28 -07:00
Viktor Radchenko
dd5ee5ca57
Update danger.yml 2020-04-14 16:14:00 -07:00
Mykola
43b69e3197 Fix denger key 2020-04-14 13:31:09 -07:00
Viktor Radchenko
84c4db9482
Add Danger (#1857)
* Add Danger

* Create Dangerfile

* Add Gemfile

* Rename danger to danger.ci

* Rename danger.ci to danger.yml

* Update Dangerfile

* Add validate JSON

* Add find

* Add image and json validation

* Add Payment: Paid for stale

* Add validation for info.json, list.json files and check file names

* Add Payment: Unpaid

* Optimised images with calibre/image-actions

* Add validation for whitelist and blacklist

* Update helpers.ts

* Update Dangerfile

* Optimised images with calibre/image-actions

* Update danger.yml

* Remove uppercase logo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mykola <kolya182@gmail.com>
2020-04-13 21:06:13 -07:00
hewig
a82dc80d23
Delete lowercase_files.yml 2019-09-29 11:03:17 +08:00
hewig
b6b66ea4cc
Update lowercase_files.yml 2019-09-29 10:46:59 +08:00
hewig
169e32dae5
Add lowercase_files.yml 2019-09-29 10:33:15 +08:00
Viktor Radchenko
391bd84521
Update and rename main.yml to compress_images.yml (#203)
* Update and rename main.yml to compress_images.yml

* Change jpeg images to png

* remove malformed png file

* Optimised images with calibre/image-actions
2019-09-14 17:16:14 -07:00
Viktor Radchenko
3522281d52
Delete compress_images.yml 2019-09-13 18:17:21 -07:00