Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Tekton Task to create bundles #1

Open
benzcash opened this issue Jul 10, 2020 · 1 comment
Open

Create Tekton Task to create bundles #1

benzcash opened this issue Jul 10, 2020 · 1 comment

Comments

@benzcash
Copy link
Contributor

The bundles currently have this format:

$ tar zvtf zcash-tnb-bundle-ab2b7c0.tgz
drwxrwxr-x bwilson/bwilson   0 2020-07-09 13:46 zcash-tnb-bundle/
lrwxrwxrwx bwilson/bwilson   0 2020-07-09 13:45 zcash-tnb-bundle/zcash-testnet-miner-data-dir.tgz -> zcash-testnet-miner-data-dir-995286.tgz
lrwxrwxrwx bwilson/bwilson   0 2020-07-09 13:46 zcash-tnb-bundle/zcashd-tnb-artifacts.tgz -> zcashd-tnb-artifacts-ab2b7c0.tgz
-rw-rw-r-- bwilson/bwilson 3955684681 2020-07-09 13:30 zcash-tnb-bundle/zcash-testnet-miner-data-dir-995286.tgz
-rw-rw-r-- bwilson/bwilson  159792206 2020-07-07 14:04 zcash-tnb-bundle/zcashd-tnb-artifacts-ab2b7c0.tgz

The current deploy task will looks for the paths:

  • zcash-tnb-bundle/zcash-testnet-miner-data-dir.tgz
  • zcash-tnb-bundle/zcashd-tnb-artifacts.tgz

These archives are expected to have contents like:

 $ tar zvtf zcash-tnb-bundle/zcashd-tnb-artifacts.tgz
-rwxr-xr-x root/root 225719968 2020-06-25 18:08 workspace/source/src/zcashd
-rwxr-xr-x root/root  11576928 2020-06-25 18:08 workspace/source/src/zcash-cli
-rwxr-xr-x root/root 283678568 2020-06-25 18:08 workspace/source/src/zcash-gtest
-rwxr-xr-x root/root  38904392 2020-06-25 18:08 workspace/source/src/zcash-tx

and

$ tar zvtf zcash-tnb-bundle/zcash-testnet-miner-data-dir.tgz 
drwx------ 2001/root         0 2020-07-09 13:23 testnet3/
drwx------ 2001/root         0 2020-07-04 17:30 testnet3/blocks/
-rw------- 2001/root   6813657 2020-07-04 17:30 testnet3/blocks/rev00010.dat
-rw------- 2001/root 134217359 2020-07-04 17:30 testnet3/blocks/blk00005.dat
-rw------- 2001/root   6911807 2020-07-04 17:30 testnet3/blocks/rev00003.dat
<--- BIG SNIP --->
-rw------- 2001/2001   2147739 2020-07-06 19:10 testnet3/chainstate/000631.ldb
-rw------- 2001/2001   2149040 2020-07-06 22:11 testnet3/chainstate/000646.ldb
-rw------- 2001/2001    782219 2020-07-06 19:10 testnet3/chainstate/000633.ldb
-rw------- 2001/root  77590528 2020-07-09 13:22 testnet3/wallet.dat
-rw------- 2001/root         0 2020-07-04 17:30 testnet3/debug.log
-rw------- 2001/root         0 2020-07-04 17:30 testnet3/.lock
-rw------- 2001/2001    106492 2020-07-09 13:23 testnet3/peers.dat
-rw------- 2001/root     33910 2020-07-09 13:23 testnet3/fee_estimates.dat
-rw------- 2001/root         0 2020-07-04 17:30 testnet3/db.log

We should have an automated process to generate these archives and the bundles.

@benzcash
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant