mirror of
https://github.com/privacy-scaling-explorations/p0tion.git
synced 2026-01-12 23:38:09 -05:00
dev
91 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
7827c85f70 | switch to docker in staging and prod | ||
|
|
d7602c6cc2 | switch action to docker | ||
|
|
bf89130c44 | fix: remove env from github workflow | ||
|
|
052ccd4826 | fix: use prod environment in tag npm publish workflow | ||
|
|
7d6961ec1b | Revert "Revert "Sed silent"" | ||
|
|
91645dc6d9 | Revert "Sed silent" | ||
|
|
16d1aadcc1 | workflow(fix): stag instead of dev | ||
|
|
ae6a4840f5 | workflow(fix): exclude node modules + remove -s | ||
|
|
8ab79ca551 | workflow(fix): silent sed errors | ||
|
|
84ca6b8561 | fix(ci): remove test trigger | ||
|
|
4482a84bd3 | fix(ci): fix an issue with circular dependencies | ||
|
|
b31ba8dcdc |
fix(ci): use environment specifc package of p0tion/actions
|
||
|
|
6b1a6f463e | chore: prettier | ||
|
|
b2623f1fbb | Merge branch 'staging' into dev | ||
|
|
b6d28a2438 | fix(ci): missing environment specifier in cli publish workflow | ||
|
|
317084799c |
chore (merge) - merge dev into staging (#163)
* fix(setup): remove S3 usage and download from URL * fix(imports): use adoby-node-fetch * fix(vm): stop vm even on verification failing * feat(contribute): cli flag for auth token (run on VM) * fix(vm): fix VM setup * ci: update string literals in ts files for staging/dev environment --------- Co-authored-by: Daehyun Paik <paik@a30a.dev> |
||
|
|
4f2b2be6dc | ci: update string literals in ts files for staging/dev environment | ||
|
|
ff1db18e27 | Merge branch 'main' into staging | ||
|
|
58693ca4e8 | ci: update package dependencies and publish dev/staging packages | ||
|
|
2f342e4397 | fix(publish): fix npm publish error | ||
|
|
a6dcd6862e |
V1.1
* V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * V1.1.1 (#98) * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo * V1.1.1 * V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Dev (#100) * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo * V1.1.1 * V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> * Separate deploy and test (#99) --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * merge(dev) - ready to deploy on staging (#109) * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo * V1.1.1 * V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> * Separate deploy and test (#99) * feat(setup): non interactive setup with artifacts download * feat(setup): add cloud function for file transfer and unit tests * feat(setup): add transfer of object inside phase2cli * feat(setup): remove return value and amend tests * fix(setup): revert transfer of object and add region to config * feat(setup) fix test template * fix(setup): fix not waiting for file download * fix(setup): remove redundant function * chore(release): publish 1.0.1 * fix(vms): specify region in sns command * fix(vms) - missing param * fix(vms): missing doc * fix(vms): fix default region * chore(release): publish 1.0.2 * fix(setup): fix vm command due to differences in AMI config between regions * chore(release): publish 1.0.4 * fix (ceremony) - fix various bugs (#116) * fix(setup): add spinners * fix(bugs): fix backend and cli bugs * fix(regions): move cloud functions to same region as firestore and s3 * fix(tests): add new region on test utils --------- Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: daodesigner <designerdao.eth@gmail.com> * merge dev (#123) * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo * V1.1.1 * V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> * Separate deploy and test (#99) * feat(setup): non interactive setup with artifacts download * feat(setup): add cloud function for file transfer and unit tests * feat(setup): add transfer of object inside phase2cli * feat(setup): remove return value and amend tests * fix(setup): revert transfer of object and add region to config * feat(setup) fix test template * fix(setup): fix not waiting for file download * fix(setup): remove redundant function * chore(release): publish 1.0.1 * fix(vms): specify region in sns command * fix(vms) - missing param * fix(vms): missing doc * fix(vms): fix default region * chore(release): publish 1.0.2 * fix(setup): fix vm command due to differences in AMI config between regions * chore(release): publish 1.0.4 * fix (ceremony) - fix various bugs (#116) * fix(setup): add spinners * fix(bugs): fix backend and cli bugs * fix(regions): move cloud functions to same region as firestore and s3 * fix(tests): add new region on test utils * Ensure all CFs are deployed into `europe-west1` region * fix(verification): set concurrency to 1 and ensure that files are downloaded * chore(release): publish 1.0.5 (#120) * fix(verify): revert removing concurrency and add unique filenames (#122) --------- Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: daodesigner <designerdao.eth@gmail.com> * Promote dev into staging (#126) * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo * V1.1.1 * V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> * Separate deploy and test (#99) * feat(setup): non interactive setup with artifacts download * feat(setup): add cloud function for file transfer and unit tests * feat(setup): add transfer of object inside phase2cli * feat(setup): remove return value and amend tests * fix(setup): revert transfer of object and add region to config * feat(setup) fix test template * fix(setup): fix not waiting for file download * fix(setup): remove redundant function * chore(release): publish 1.0.1 * fix(vms): specify region in sns command * fix(vms) - missing param * fix(vms): missing doc * fix(vms): fix default region * chore(release): publish 1.0.2 * fix(setup): fix vm command due to differences in AMI config between regions * chore(release): publish 1.0.4 * fix (ceremony) - fix various bugs (#116) * fix(setup): add spinners * fix(bugs): fix backend and cli bugs * fix(regions): move cloud functions to same region as firestore and s3 * fix(tests): add new region on test utils * Ensure all CFs are deployed into `europe-west1` region * fix(verification): set concurrency to 1 and ensure that files are downloaded * chore(release): publish 1.0.5 (#120) * fix(verify): revert removing concurrency and add unique filenames (#122) * ci: add npm publish pipeline * fix(ceremony): fix various bugs * fix(verification): revert download check --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: daodesigner <designerdao.eth@gmail.com> --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: daodesigner <designerdao.eth@gmail.com> |
||
|
|
af56cde406 | ci: add npm publish pipeline | ||
|
|
331d2cbdc5 | nit:fix merge conflicts, test against same environment deployed | ||
|
|
4a1972b22e | Separate deploy and test (#99) | ||
|
|
4a6433cc89 |
V1.1.1 (#98)
* fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo * V1.1.1 * V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> |
||
|
|
e7b9630923 |
V1.1.1
* V1.1 * fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> * Separate deployment and testing --------- Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com> Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> |
||
|
|
b4275388e9 |
V1.1
* fix: set cli as a es module * fix: bump 0.3.0; minor missing imports for enums * feat (EC2-demo) testing VMs * feat(ec2) - continuing with poc * fix(sybil) - add tests * fix(sybil) - added prod test switch * build: update external packages dependencies * feat(public ceremonies) - allow to download ceremony data to everyone * refactor: move auto-generated types to root * refactor: improve package configuration; remove unused files * refactor: complete configuration; lint and small fix * fix: wrong prod Firebase project for CI * refactor: update phase2cli package config; fixed bin overwrite when installing * refactor: use meta import to optimize repository file read * refactor: use ts-node instead of dist to execute phase2cli * refactor: update .env and package.json imports * fix: wrong path for environment config file * fix(public-data) remove cloud function * fix(public-data) remove function from index.ts * fix(public data) yarn.locl * fix: missing skipLibCheck option was causing docs script to exit * fix: add missing options to ts config * chore(release): publish 0.3.0 * build: update yarn version * fix: spinner does not stop correctly after contribution verification * chore(release): publish 0.3.1 * fix: missing updates for current contributor fields when coordinating * fix: duplicate messages when waiting for contribution; remove wrong listener * chore(release): publish 0.3.5 * fix(sybil checks): amended env var name and added to the backend * fix(s3): creating public bucket with object ACL enabled configuring S3 to allow download of verification transcript * fix(tests): fixed tests * fix: unconsistency when resuming a contribution * fix: add missing alternative case; fix wrong tests * chore(release): publish 0.4.0 * fix: wrong ci env project * fix: missing sort for ceremony circuits * fix: wrong document property lead to error when checking github antisybil * build: missing dependencies on actions package * chore(release): publish 0.4.1 * chore(release): publish 0.4.2 * test: update github anti-sybil tests * fix(ux): added more verbose messages to inform the user of waiting times and errors * feat(ec2): added tests and ip function * feat(ec2): merge udpates and add tests * feat(vms): added ssm code and more tests + changes on backend * feat(vms): refactoring * fix: imports and package version * feat(vms): added tests * fix(vms): tests * feat(ec2): fixed bug in running commands at deployment and refactored setup * test(ec2): added setup e2e test * fix(vms): refactoring and code fixes * fix(vm): bug fix * fix(vm): missing files * feat(vms): implemented e2e test for contribution verification * feat(vms): tests and refactoring * fix(vms): remove redundant code * test(vms): completed e2e tests with VMs * fix(vms): cleanup test * fix(vms): remove redundant parameter on VM startup - ssh keypair * fix(vms): add tags on EC2 creation * refactor: add missing hash computation; minor conflicts and changes * fix(vms): fix VM commands * test(vms): fix test to also delete the verification transcript * chore: publish 0.4.7 * test(vms): refactoring of VM tests with extra debug options * test(vms): fixed finalize test and cloud function. Adding extra debugging for verification * fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF * chore: publish 0.4.8 * fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash * fix(vms): fixed cloud function for VM verification * chore: publish 0.4.9 * fix(vms): fix cloud function bug related to the wrong verification transcript path * test(vms): fix broken tests due to VM upgrade * fix(vms): disable eslint rule for regex * feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization * feat(vms): add marker file in userData to avoid running initialization code more than once * fix(vms): fix userData commands * refactor: add VM prices * refactor: add selector for VM disk type * test: update tests * refactor: complete and remove old todos * refactor: add retry mechanism for VM * fix: wrong path to Verifier smart contract template * feat(vms): implement terraform script to deploy AWS inf * fix(vms): fix import error * fix: correct failing tests * fix(vms): fix cloud function multipartupload wrong parameter name * chore: publish 0.4.10 * fix(vms): fix terraform and lambda config * fix(vms): temp revert of retry feature in verifyContribution * fix(vms): fix emulator tests * fix(vms): fix prod tests * refactor: improve verifycontribution function code; minor changes to code readability * fix(vms): fix prod test - wrong parameter order in ec2 tests * chore: publish 0.5.0 * fix: missing else statement for verifycontribution function; wrong return on custom promise * fix(vms): revert part of the verifyContribution refactoring and update terraform * fix(vms): retry mechanism for VM startup * refactor: add options for contribute command * refactor: make coordinator artifacts publicly downloadable by default * chore: update backend firebase default prod project * fix(tests): add extra sleep when setting custom claims to allow propagation * fix(tests): skip a test that would fail due to environment not clean * fix(tests): fix issues with user not being recognized as coordinator * fix(tests): add extra sleep and coordinator checks within tests * refactor: avoid mandatory memory check; add missing loader and messages to improve ux * feat(setup): start to implement non interactive setup * feat(setup): implement non interactive setup * fix(setup): change test file * fix(setup): remove non working test * fix(setup): change setup test file * fix(setup): amend after PR review * feat(setup): add option to pass the authentication token as cli param passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like GitHub actions. * fix(tests): add extra coordinator user to resolve random test failure * fix(tests): add extra sleep after user creation * fix(auth): fix non interactive auth and force token refresh for coordinator * fix(setup): fix local path to circuit artifacts + change error in security tests * fix(setup): add missing circuit artifacts local path allow circuit artifacts to be in a separate folder for setup so that it can be used with definitelySetup * fix(tests): fix tests * refactor: improve ux ui of auth and logout commands * feat(setup): add a cli command to validate the ceremony setup file and the constraints * refactor: add spinners to avoid delays; add custom feedback messages for contributor * chore: correct text * feat(list ceremonies): add a command to list all ceremonies * feat(list): exit with code 1 when calling showError with exit=true * fix(tests and setup): fix tests and cleanup config file * chore: publish 1.0.0 * fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm) * Revise workflow * Fix a typo --------- Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Co-authored-by: cedoor <me@cedoor.dev> Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com> Co-authored-by: Daehyun Paik <paik@a30a.dev> |
||
|
|
93b6d78dd4 | Fix a typo | ||
|
|
bf17106f34 |
Merge pull request #93 from privacy-scaling-explorations/cicd
Revise workflows |
||
|
|
33c220edc6 | Revise workflow | ||
|
|
b2458562ad | refactor: complete configuration; lint and small fix | ||
|
|
f9f23dbb13 | Update website.yaml | ||
|
|
f2edb48000 |
Update website.yaml
Testing gh-pages deploy |
||
|
|
e477942485 | fix(merge dev) - conflicts | ||
|
|
e8dfed2d4e | fix(website workflow) - changed secret name | ||
|
|
cb3da93a46 |
chore: remove deprecated package: website
|
||
|
|
c85e432ce4 | ci: add max old space option when running tests to avoid javascript heap memory error | ||
|
|
bc0695c469 | fix: remove matrix.type flag and enable coverage flag when testing production CI | ||
|
|
4e9d37dc65 | ci: trigger coveralls when test ci prod action | ||
|
|
f9954a1d18 | ci: modify github actions to deploy typedoc instead of website package | ||
|
|
73998e6002 | ci: set indent of YAML as a 2 | ||
|
|
69b7614412 | ci: reject pr opened from into main or dev branch | ||
|
|
815ff53438 |
ci: trigger test prod on pull request
|
||
|
|
b200ea4c7a | chore: add lerna for versioning | ||
|
|
d3a0a3cc84 |
ci: use self-hosted runner to run yarn test:dev
|
||
|
|
d3deccb6b7 | fix(tests): remove test ci trigger | ||
|
|
0e794e74ad | fix(tests): add more timeout in contribution test | ||
|
|
8e8f8f972a | fix(tests): fix tests on the ci which sometimes fail | ||
|
|
7aa063667e |
fix(prod ci): fix prod CI
fix prod CI on the latest env. Workflow will first deploy the updated cloud functions and then run the tests. |
||
|
|
d31a206a29 | fix(test ci): fix prod ci workflow |