Update BUILD-zcashd-tnb-artifacts-ipfs.md

Update usage doc for ipfs artifacts
This commit is contained in:
Marshall Gaucher 2020-12-11 14:31:19 -08:00 committed by GitHub
parent 9d84741f6b
commit 9233c2d56c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 5 deletions

View File

@ -29,13 +29,16 @@ If no git resources are defined, relax. You just need to provide a "friendly nam
For the rest of the prompts, the defaults should be fine.
```
$ tkn tasks start zcashd-build-tnb
? Choose the git resource to use for source: [Use arrows to move, type to filter]
> zcash (https://github.com/zcash/zcash.git#v4.1.0)
create new "git" resource
Please create a new "git" resource for pipeline resource "source"
? Enter a name for a pipeline resource : zc
? Enter a value for url : https://github.com/zcash/zcash.git
? Enter a value for revision : v4.1.1
New git resource "zc" has been created
? Value for param `JOBS` of type `string`? (Default is `8`) 8
? Value for param `ipfs-api-service` of type `string`? (Default is `/dns/ipfs-cache/tcp/5001`) /dns/ipfs-cache/tcp/5001
? Value for param `TNBOX_SCRIPT_CID` of type `string`? (Default is `QmdcXSthqb89VF3CwtFXYHiSVZTCrggWPsDzyFSs69Cezg`) QmdcXSthqb89VF3CwtFXYHiSVZTCrggWPsDzyFSs69Cezg
TaskRun started: zcashd-build-tnb-run-zfxmd
Taskrun started: zcashd-build-tnb-run-jxbhsIn order to track the taskrun progress run:
tkn taskrun logs zcashd-build-tnb-run-jxbhs -f -n default
```
@ -46,5 +49,29 @@ Watch either the pod logs or task status on the Tekton dashboard.
```
tkn taskrun logs zcashd-build-tnb-run-zfxmd -f -n default
```
Prodcues output like:
Produces output like:
```
build-with-new-magic-numbers] make[2]: Leaving directory '/workspace/source/src'
[build-with-new-magic-numbers] make[1]: Leaving directory '/workspace/source/src'
[build-with-new-magic-numbers] Making all in doc/man
[build-with-new-magic-numbers] make[1]: Entering directory '/workspace/source/doc/man'
[build-with-new-magic-numbers] make[1]: Nothing to be done for 'all'.
[build-with-new-magic-numbers] make[1]: Leaving directory '/workspace/source/doc/man'
[build-with-new-magic-numbers] make[1]: Entering directory '/workspace/source'
[build-with-new-magic-numbers] make[1]: Nothing to be done for 'all-am'.
[build-with-new-magic-numbers] make[1]: Leaving directory '/workspace/source'
[build-with-new-magic-numbers] + tar --strip-components 3 -zvcf ./zcashd-tnb-artifacts-.tgz /workspace/source/src/zcashd /workspace/source/src/zcash-cli /workspace/source/src/zcash-gtest /workspace/source/src/zcash-tx
[build-with-new-magic-numbers] /workspace/source/src/zcashd
[build-with-new-magic-numbers] tar: Removing leading `/' from member names
[build-with-new-magic-numbers] /workspace/source/src/zcash-cli
[build-with-new-magic-numbers] tar: Removing leading `/' from hard link targets
[build-with-new-magic-numbers] /workspace/source/src/zcash-gtest
[build-with-new-magic-numbers] /workspace/source/src/zcash-tx
[build-with-new-magic-numbers] + ipfs --api /dns/ipfs-cache/tcp/5001 add --quieter ./zcashd-tnb-artifacts-.tgz
[build-with-new-magic-numbers] + tee /tekton/results/PIN_ADDED
[build-with-new-magic-numbers] QmTu6kgWwSS8CjzYJUoQJ79sytF7QQcQC9J3gkaQdwJe2d
```
To retrieve this bundle to update local configmap CIDs:
```
ipfs --api=/ip4/127.0.0.1/tcp/5002 get /ipfs/QmTu6kgWwSS8CjzYJUoQJ79sytF7QQcQC9J3gkaQdwJe2d -o zcashd-tnb-artifacts-<insertshortsha>.tgz
```