├── README.md └── .github └── workflows └── build.yml /README.md: -------------------------------------------------------------------------------- 1 | # Apache IoTDB Nightly Releases (Unofficial) 🚀 2 | 3 | 4 | ![Workflows](https://github.com/SteveYurongSu/apache-iotdb-nightly-releases/actions/workflows/build.yml/badge.svg) 5 | 6 | 7 | ## TL;DR 8 | 9 | Download Apache IoTDB nightly releases **[👉 here 👈](https://github.com/SteveYurongSu/apache-iotdb-nightly-releases/releases)**. 10 | 11 | 12 | ## Nightly is not enough? Want the latest binaries? 13 | 14 | Creating a new issue [**here**](https://github.com/SteveYurongSu/apache-iotdb-nightly-releases/issues/new) with any content will automatically trigger a new build! 15 | 16 | ![](https://user-images.githubusercontent.com/30497621/149944816-74e8aa6d-44bc-4a28-9c3c-32798a8d688a.png) 17 | 18 | 19 | ## Why nightly? I need the **stable** version! 20 | 21 | Apache IoTDB does not release the stable version frequently... 😢 22 | 23 | Download the stable releases [here](https://iotdb.apache.org/Download/). 😆 24 | 25 | 26 | ## Any issues? 27 | 28 | Check and report your issues [here](https://github.com/apache/iotdb/issues). ✔️ 29 | 30 | 31 | 32 | ## Version support 33 | 34 | 🟢 means compatible 35 | 36 | 37 | ❌ means incompatible 38 | 39 | 40 | ❓ means unknown 41 | 42 | 43 | 44 | ### Apache IoTDB 0.12.x 45 | 46 | [📚 Documentation](https://iotdb.apache.org/UserGuide/V0.12.x/QuickStart/QuickStart.html) 47 | 48 | | Java version | Compatibility | 49 | | :------------- | :-------------: | 50 | | 8 | 🟢 | 51 | | 11 | 🟢 | 52 | | 17 | ❌ | 53 | 54 | 55 | 56 | ### Apache IoTDB 0.13.x 57 | 58 | [📚 Documentation](https://iotdb.apache.org/UserGuide/V0.13.x/QuickStart/QuickStart.html) 59 | 60 | | Java version | Compatibility | 61 | | :------------- | :-------------: | 62 | | 8 | 🟢 | 63 | | 11 | 🟢 | 64 | | 17 | 🟢 | 65 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | schedule: 8 | - cron: "0 12 * * *" 9 | workflow_dispatch: 10 | issues: 11 | types: [ opened ] 12 | 13 | env: 14 | MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 15 | 16 | jobs: 17 | pre-add-comment: 18 | runs-on: ubuntu-latest 19 | permissions: 20 | issues: write 21 | steps: 22 | - name: Add comment 23 | if: ${{ github.event.issue && !github.event.issue.pull_request }} 24 | uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae 25 | with: 26 | issue-number: ${{ github.event.issue.number }} 27 | body: | 28 | Thanks for trying the Apache IoTDB nightly releases! 😆 29 | 30 | New releases are building now, just for you! ❤️ 31 | 32 | The building process may take about 10 minutes. ⌚️ 33 | 34 | I will notice you when the building process is done. ⏰ 35 | 36 | build-0-12: 37 | # https://docs.github.com/en/actions/using-workflows/advanced-workflow-features#creating-dependent-jobs 38 | needs: pre-add-comment 39 | 40 | strategy: 41 | fail-fast: false 42 | max-parallel: 20 43 | matrix: 44 | java: [ 8, 11 ] 45 | os: [ ubuntu-latest ] 46 | 47 | runs-on: ${{ matrix.os }} 48 | 49 | steps: 50 | - name: Set up JDK ${{ matrix.java }} 51 | uses: actions/setup-java@v1 52 | with: 53 | java-version: ${{ matrix.java }} 54 | 55 | - name: Checkout apache/iotdb 56 | uses: actions/checkout@v2 57 | with: 58 | repository: 'apache/iotdb' 59 | ref: rel/0.12 60 | fetch-depth: 0 61 | 62 | - name: Generate release information 63 | id: information 64 | run: | 65 | echo "::set-output name=timestamp::$(date +%s)" 66 | echo "::set-output name=date::$(date +"%Y-%m-%d-%H-%M-%S")" 67 | echo "::set-output name=commit::$(git rev-parse --short HEAD)" 68 | 69 | - name: Build binary 70 | id: build_binary 71 | run: mvn clean package -pl distribution -am -DskipTests 72 | 73 | - name: Create Release 74 | id: create_release 75 | uses: actions/create-release@v1 76 | env: 77 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 78 | with: 79 | tag_name: ${{ steps.information.outputs.date }}-0.12-${{ steps.information.outputs.commit }}-java-${{ matrix.java }} 80 | release_name: Apache IoTDB 0.12 Nightly Release (UTC+0 ${{ steps.information.outputs.date }}) (Java ${{ matrix.java }}) (Unofficial) 81 | body: | 82 | Apache IoTDB Nightly Release (Unofficial) 83 | Branch: [rel/0.12](https://github.com/apache/iotdb/tree/rel/0.12) 84 | Commit ID: [${{ steps.information.outputs.commit }}](https://github.com/apache/iotdb/commit/${{ steps.information.outputs.commit }}) 85 | Build date: UTC+0 ${{ steps.information.outputs.date }} 86 | Java version: ${{ matrix.java }} 87 | draft: false 88 | prerelease: false 89 | 90 | - name: Upload apache-iotdb-0.12.7-SNAPSHOT-all-bin.zip 91 | uses: actions/upload-release-asset@v1 92 | env: 93 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 94 | with: 95 | upload_url: ${{ steps.create_release.outputs.upload_url }} 96 | asset_path: distribution/target/apache-iotdb-0.12.7-SNAPSHOT-all-bin.zip 97 | asset_name: apache-iotdb-0.12.7-SNAPSHOT-all-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 98 | asset_content_type: application/zip 99 | 100 | - name: Upload apache-iotdb-0.12.7-SNAPSHOT-cli-bin.zip 101 | uses: actions/upload-release-asset@v1 102 | env: 103 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 104 | with: 105 | upload_url: ${{ steps.create_release.outputs.upload_url }} 106 | asset_path: distribution/target/apache-iotdb-0.12.7-SNAPSHOT-cli-bin.zip 107 | asset_name: apache-iotdb-0.12.7-SNAPSHOT-cli-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 108 | asset_content_type: application/zip 109 | 110 | - name: Upload apache-iotdb-0.12.7-SNAPSHOT-cluster-bin.zip 111 | uses: actions/upload-release-asset@v1 112 | env: 113 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 114 | with: 115 | upload_url: ${{ steps.create_release.outputs.upload_url }} 116 | asset_path: distribution/target/apache-iotdb-0.12.7-SNAPSHOT-cluster-bin.zip 117 | asset_name: apache-iotdb-0.12.7-SNAPSHOT-cluster-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 118 | asset_content_type: application/zip 119 | 120 | - name: Upload apache-iotdb-0.12.7-SNAPSHOT-grafana-bin.zip 121 | uses: actions/upload-release-asset@v1 122 | env: 123 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 124 | with: 125 | upload_url: ${{ steps.create_release.outputs.upload_url }} 126 | asset_path: distribution/target/apache-iotdb-0.12.7-SNAPSHOT-grafana-bin.zip 127 | asset_name: apache-iotdb-0.12.7-SNAPSHOT-grafana-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 128 | asset_content_type: application/zip 129 | 130 | - name: Upload apache-iotdb-0.12.7-SNAPSHOT-server-bin.zip 131 | uses: actions/upload-release-asset@v1 132 | env: 133 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 134 | with: 135 | upload_url: ${{ steps.create_release.outputs.upload_url }} 136 | asset_path: distribution/target/apache-iotdb-0.12.7-SNAPSHOT-server-bin.zip 137 | asset_name: apache-iotdb-0.12.7-SNAPSHOT-server-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 138 | asset_content_type: application/zip 139 | 140 | build-0-13: 141 | # https://docs.github.com/en/actions/using-workflows/advanced-workflow-features#creating-dependent-jobs 142 | needs: pre-add-comment 143 | 144 | strategy: 145 | fail-fast: false 146 | max-parallel: 20 147 | matrix: 148 | java: [ 8, 11, 17 ] 149 | os: [ ubuntu-latest ] 150 | 151 | runs-on: ${{ matrix.os }} 152 | 153 | steps: 154 | - name: Set up JDK ${{ matrix.java }} 155 | uses: actions/setup-java@v1 156 | with: 157 | java-version: ${{ matrix.java }} 158 | 159 | - name: Checkout apache/iotdb 160 | uses: actions/checkout@v2 161 | with: 162 | repository: 'apache/iotdb' 163 | ref: rel/0.13 164 | fetch-depth: 0 165 | 166 | - name: Generate release information 167 | id: information 168 | run: | 169 | echo "::set-output name=timestamp::$(date +%s)" 170 | echo "::set-output name=date::$(date +"%Y-%m-%d-%H-%M-%S")" 171 | echo "::set-output name=commit::$(git rev-parse --short HEAD)" 172 | 173 | - name: Build binary 174 | id: build_binary 175 | run: mvn clean package -pl distribution -am -DskipTests -P compile-grafana-plugin 176 | 177 | - name: Create Release 178 | id: create_release 179 | uses: actions/create-release@v1 180 | env: 181 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 182 | with: 183 | tag_name: ${{ steps.information.outputs.date }}-0.13-${{ steps.information.outputs.commit }}-java-${{ matrix.java }} 184 | release_name: Apache IoTDB 0.13 Nightly Release (UTC+0 ${{ steps.information.outputs.date }}) (Java ${{ matrix.java }}) (Unofficial) 185 | body: | 186 | Apache IoTDB Nightly Release (Unofficial) 187 | Branch: [rel/0.13](https://github.com/apache/iotdb/tree/rel/0.13) 188 | Commit ID: [${{ steps.information.outputs.commit }}](https://github.com/apache/iotdb/commit/${{ steps.information.outputs.commit }}) 189 | Build date: UTC+0 ${{ steps.information.outputs.date }} 190 | Java version: ${{ matrix.java }} 191 | draft: false 192 | prerelease: false 193 | 194 | - name: Upload apache-iotdb-0.13.3-SNAPSHOT-all-bin.zip 195 | uses: actions/upload-release-asset@v1 196 | env: 197 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 198 | with: 199 | upload_url: ${{ steps.create_release.outputs.upload_url }} 200 | asset_path: distribution/target/apache-iotdb-0.13.3-SNAPSHOT-all-bin.zip 201 | asset_name: apache-iotdb-0.13.3-SNAPSHOT-all-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 202 | asset_content_type: application/zip 203 | 204 | - name: Upload apache-iotdb-0.13.3-SNAPSHOT-cli-bin.zip 205 | uses: actions/upload-release-asset@v1 206 | env: 207 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 208 | with: 209 | upload_url: ${{ steps.create_release.outputs.upload_url }} 210 | asset_path: distribution/target/apache-iotdb-0.13.3-SNAPSHOT-cli-bin.zip 211 | asset_name: apache-iotdb-0.13.3-SNAPSHOT-cli-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 212 | asset_content_type: application/zip 213 | 214 | - name: Upload apache-iotdb-0.13.3-SNAPSHOT-cluster-bin.zip 215 | uses: actions/upload-release-asset@v1 216 | env: 217 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 218 | with: 219 | upload_url: ${{ steps.create_release.outputs.upload_url }} 220 | asset_path: distribution/target/apache-iotdb-0.13.3-SNAPSHOT-cluster-bin.zip 221 | asset_name: apache-iotdb-0.13.3-SNAPSHOT-cluster-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 222 | asset_content_type: application/zip 223 | 224 | - name: Upload apache-iotdb-0.13.3-SNAPSHOT-grafana-connector-bin.zip 225 | uses: actions/upload-release-asset@v1 226 | env: 227 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 228 | with: 229 | upload_url: ${{ steps.create_release.outputs.upload_url }} 230 | asset_path: distribution/target/apache-iotdb-0.13.3-SNAPSHOT-grafana-connector-bin.zip 231 | asset_name: apache-iotdb-0.13.3-SNAPSHOT-grafana-connector-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 232 | asset_content_type: application/zip 233 | 234 | - name: Upload apache-iotdb-0.13.3-SNAPSHOT-grafana-plugin-bin.zip 235 | uses: actions/upload-release-asset@v1 236 | env: 237 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 238 | with: 239 | upload_url: ${{ steps.create_release.outputs.upload_url }} 240 | asset_path: distribution/target/apache-iotdb-0.13.3-SNAPSHOT-grafana-plugin-bin.zip 241 | asset_name: apache-iotdb-0.13.3-SNAPSHOT-grafana-plugin-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 242 | asset_content_type: application/zip 243 | 244 | - name: Upload apache-iotdb-0.13.3-SNAPSHOT-server-bin.zip 245 | uses: actions/upload-release-asset@v1 246 | env: 247 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 248 | with: 249 | upload_url: ${{ steps.create_release.outputs.upload_url }} 250 | asset_path: distribution/target/apache-iotdb-0.13.3-SNAPSHOT-server-bin.zip 251 | asset_name: apache-iotdb-0.13.3-SNAPSHOT-server-bin-nightly-${{ steps.information.outputs.date }}-${{ steps.information.outputs.commit }}-java-${{ matrix.java }}.zip 252 | asset_content_type: application/zip 253 | 254 | post-add-comment: 255 | # https://docs.github.com/en/actions/using-workflows/advanced-workflow-features#creating-dependent-jobs 256 | needs: [ build-0-12, build-0-13 ] 257 | runs-on: ubuntu-latest 258 | permissions: 259 | issues: write 260 | steps: 261 | - name: Add comment 262 | if: ${{ github.event.issue && !github.event.issue.pull_request }} 263 | uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae 264 | with: 265 | issue-number: ${{ github.event.issue.number }} 266 | body: | 267 | Thanks for waiting! 😆 268 | 269 | New releases are now ready for you! ❤️ 270 | 271 | Visit **[👉 here 👈](https://github.com/SteveYurongSu/apache-iotdb-nightly-releases/releases)** to download. Enjoy! 🎉 272 | 273 | close-issue: 274 | needs: post-add-comment 275 | runs-on: ubuntu-latest 276 | steps: 277 | - name: Close issue 278 | if: ${{ github.event.issue && !github.event.issue.pull_request }} 279 | uses: peter-evans/close-issue@v1 280 | with: 281 | issue-number: ${{ github.event.issue.number }} 282 | comment: | 283 | Auto-closing this issue. 284 | --------------------------------------------------------------------------------