github.com/0chain/gosdk@v1.17.11/docs/cicd/README.md (about) 1 # Guide to CI/CD using github actions for GOSDK 2 3 ## Table of Contents 4 [1. Manual Trigger](#manual-trigger)<br /> 5 [1.1 For 0proxy from gosdk repo.](#for-0proxy-from-gosdk-repo)<br /> 6 [1.2 For 0box from gosdk repo.](#for-0box-from-gosdk-repo)<br /> 7 [1.3 For 0dns from gosdk repo.](#for-0dns-from-gosdk-repo)<br /> 8 [1.4 For 0block from gosdk repo.](#for-0block-from-gosdk-repo)<br /> 9 [1.5 For 0search from gosdk repo.](#for-0search-from-gosdk-repo)<br /> 10 [1.6 For blobber from gosdk repo.](#for-blobber-from-gosdk-repo)<br /> 11 [1.7 For zboxcli from gosdk repo.](#for-zboxcli-from-gosdk-repo)<br /> 12 [1.8 For zboxmobile from gosdk repo.](#for-zboxmobile-from-gosdk-repo)<br /> 13 [1.9 For zwalletcli from gosdk repo.](#for-zwalletcli-from-gosdk-repo)<br /> 14 [2. Auto Trigger](#auto-trigger)<br /> 15 [1.1 For production gosdk release from gosdk repo.](#for-production-gosdk-release-from-gosdk-repo)<br /> 16 [1.2 For staging gosdk release gosdk repo.](#for-staging-gosdk-release-from-gosdk-repo)<br /> 17 18 ---- 19 ## Manual Trigger 20 21 ### For 0proxy from gosdk repo 22  23 Steps are as follows:-<br /> 24 1. Go to the gosdk repository.<br /> 25 2. Click on the Actions to choose the workflow to run.<br /> 26 3. Choose/Click the workflow i.e. TRIGGER_0PROXY. Click on the Run workflow.<br /> 27 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 28 NOTE: Input the branch of 0chain/0proxy repository for creating build.<br /> 29 NOTE: Input no/yes for latest tag(Recommended/Default to be "no")<br /> 30 4. Finally click on the Run Workflow. 31  32 33 ---- 34 ### For 0box from gosdk repo 35  36 Steps are as follows:-<br /> 37 1. Go to the gosdk repository.<br /> 38 2. Click on the Actions to choose the workflow to run.<br /> 39 3. Choose/Click the workflow i.e. TRIGGER_0BOX. Click on the Run workflow.<br /> 40 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 41 NOTE: Input the branch of 0chain/0box repository for creating build.<br /> 42 NOTE: Input no/yes for latest tag(Recommended/Default to be "no")<br /> 43 4. Finally click on the Run Workflow. 44  45 46 ---- 47 ### For 0dns from gosdk repo 48  49 Steps are as follows:-<br /> 50 1. Go to the gosdk repository.<br /> 51 2. Click on the Actions to choose the workflow to run.<br /> 52 3. Choose/Click the workflow i.e. TRIGGER_0DNS. Click on the Run workflow.<br /> 53 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 54 NOTE: Input the branch of 0chain/0dns repository for creating build.<br /> 55 NOTE: Input no/yes for latest tag(Recommended/Default to be "no")<br /> 56 4. Finally click on the Run Workflow. 57  58 59 ---- 60 ### For 0block from gosdk repo 61  62 Steps are as follows:-<br /> 63 1. Go to the gosdk repository.<br /> 64 2. Click on the Actions to choose the workflow to run.<br /> 65 3. Choose/Click the workflow i.e. TRIGGER_0BLOCK. Click on the Run workflow.<br /> 66 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 67 NOTE: Input the branch of 0chain/0block repository for creating build.<br /> 68 NOTE: Input no/yes for latest tag(Recommended/Default to be "no")<br /> 69 4. Finally click on the Run Workflow. 70  71 72 ---- 73 ### For 0search from gosdk repo 74  75 Steps are as follows:-<br /> 76 1. Go to the gosdk repository.<br /> 77 2. Click on the Actions to choose the workflow to run.<br /> 78 3. Choose/Click the workflow i.e. TRIGGER_0SEARCH. Click on the Run workflow.<br /> 79 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 80 NOTE: Input the branch of 0chain/0search repository for creating build.<br /> 81 NOTE: Input no/yes for latest tag(Recommended/Default to be "no")<br /> 82 4. Finally click on the Run Workflow. 83  84 85 ---- 86 ### For blobber from gosdk repo 87  88 Steps are as follows:-<br /> 89 1. Go to the gosdk repository.<br /> 90 2. Click on the Actions to choose the workflow to run.<br /> 91 3. Choose/Click the workflow i.e. TRIGGER_BLOBBER. Click on the Run workflow.<br /> 92 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 93 NOTE: Input the branch of 0chain/blobber repository for creating build.<br /> 94 NOTE: Input no/yes for latest tag(Recommended/Default to be "no")<br /> 95 4. Finally click on the Run Workflow. 96  97 98 ---- 99 100 ### For zboxcli from gosdk repo 101  102 Steps are as follows:-<br /> 103 1. Go to the gosdk repository.<br /> 104 2. Click on the Actions to choose the workflow to run.<br /> 105 3. Choose/Click the workflow i.e. TRIGGER_ZBOXCLI. Click on the Run workflow.<br /> 106 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 107 NOTE: Input the branch of 0chain/zboxcli repository for creating build.<br /> 108 NOTE: Input yes For Building With Tag v0.0.0 from master & v1.1.1 from staging<br /> 109 NOTE: Input the current release version for zboxcli (Input Tag Example - v1.2.2)<br /> 110 4. Finally click on the Run Workflow. 111  112 113 ---- 114 ### For zboxmobile from gosdk repo 115  116 Steps are as follows:-<br /> 117 1. Go to the gosdk repository.<br /> 118 2. Click on the Actions to choose the workflow to run.<br /> 119 3. Choose/Click the workflow i.e. TRIGGER_ZBOXMOBILE. Click on the Run workflow.<br /> 120 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 121 NOTE: Input the branch of 0chain/zboxmobile repository for creating build.<br /> 122 NOTE: Input yes For Building With Tag v0.0.0 from master & v1.1.1 from staging<br /> 123 NOTE: Input the current release version for zboxmobile(Input Tag Example - v1.2.2)<br /> 124 4. Finally click on the Run Workflow. 125  126 127 ---- 128 ### For zwalletcli from gosdk repo 129  130 Steps are as follows:-<br /> 131 1. Go to the gosdk repository.<br /> 132 2. Click on the Actions to choose the workflow to run.<br /> 133 3. Choose/Click the workflow i.e. TRIGGER_ZWALLETCLI. Click on the Run workflow.<br /> 134 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 135 NOTE: Input the branch of 0chain/zwalletcli repository for creating build.<br /> 136 NOTE: Input yes For Building With Tag v0.0.0 from master & v1.1.1 from staging<br /> 137 NOTE: Input the current release version for zwalletcli(Input Tag Example - v1.2.2)<br /> 138 4. Finally click on the Run Workflow. 139  140 141 ---- 142 ## Auto Trigger 143 144 ### For production gosdk release from gosdk repo 145  146 Steps are as follows:-<br /> 147 1. Go to the gosdk repository.<br /> 148 2. Click on the Actions to choose the workflow to run.<br /> 149 3. Choose/Click the workflow i.e. GOSDK_RELEASE_PROD. Click on the Run workflow.<br /> 150 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "master").<br /> 151 NOTE: Input the branch of 0chain/gosdk repository for creating build.<br /> 152 NOTE: Input 'yes' for creating release with tag v0.0.0 & with current release version. If input is 'yes' & branch is 'master', it will also trigger other repositories build with tag 'latest'. If input is 'no', it will only create the release of gosdk with current release version.<br /> 153 4. Finally click on the Run Workflow. 154  155 156 ### For staging gosdk release from gosdk repo 157  158 Steps are as follows:-<br /> 159 1. Go to the gosdk repository.<br /> 160 2. Click on the Actions to choose the workflow to run.<br /> 161 3. Choose/Click the workflow i.e. GOSDK_RELEASE_STAGE. Click on the Run workflow.<br /> 162 NOTE: Select the branch from where to trigger the build(Recommended/Default to be "staging").<br /> 163 NOTE: Input the branch of 0chain/gosdk repository for creating build.<br /> 164 NOTE: Input 'yes' for creating release with tag v1.1.1 & with current release version. If input is 'yes' & branch is 'staging', it will also trigger other repositories build with tag 'staging-commit'. If input is 'no', it will only create the release of gosdk with current release version.<br /> 165 4. Finally click on the Run Workflow. 166 