From 0e76acc814ada87f64d47fe6ff0966d76bf6b7a4 Mon Sep 17 00:00:00 2001 From: Ruslan Pislari Date: Mon, 9 Sep 2024 22:21:09 +0300 Subject: [PATCH] fix: release pipeline --- .github/workflows/cd.yaml | 50 +++++++---------- CHANGELOG.md | 114 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 31 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index ded0f40..c2df53f 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -12,32 +12,8 @@ env: CARGO_TERM_COLOR: always jobs: - create-release: - name: Create release - runs-on: ubuntu-latest - steps: - - name: Clone repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Generate a changelog - uses: orhun/git-cliff-action@v3 - with: - config: cliff.toml - args: --latest - env: - OUTPUT: CLIFF.md - GITHUB_REPO: ${{ github.repository }} - - - name: Create release - uses: softprops/action-gh-release@v2 - with: - body_path: CLIFF.md - build-release: name: Build release and upload assets - needs: ['create-release'] runs-on: ${{ matrix.os }} @@ -100,10 +76,22 @@ jobs: echo "ASSET_SUM=$dirname.tar.gz.sha256" >> $GITHUB_ENV fi - - name: Upload release archive - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - shell: bash - run: | - version="${{ env.VERSION }}" - gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }} + create-release: + name: Create release + runs-on: ubuntu-latest + needs: [ 'build-release' ] + + steps: + - name: Clone repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Create release + uses: softprops/action-gh-release@v2 + with: + body_path: CHANGELOG.md + files: | + ${{ env.ASSET }} + ${{ env.ASSET_SUM }} + diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6004398 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,114 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.5.7-rc.1] - 2024-09-09 + +### 🚀 Features + +- Refactored ExecutorCache trait +- Fix version to Preview2 +- Adding request duration and wasm memory used metrics + +### 🐛 Bug Fixes + +- Set by default total core instance +- Adding requestor field for wasi-http +- Request duration metric +- Change wasm memory usage metric type +- Print execution error and set proper process status code on error +- Change release pipeline +- Adding cargo realease settings + +## [0.5.2-3] - 2024-08-05 + +### 🐛 Bug Fixes + +- Add os target + +## [0.5.2-2] - 2024-08-05 + +### 🐛 Bug Fixes + +- Add os target + +## [0.5.2-1] - 2024-08-05 + +### 🐛 Bug Fixes + +- Simplify tag creation and trigger release on push tag + +## [0.5.2] - 2024-08-05 + +### 🐛 Bug Fixes + +- Add server_name as local request authority and remove default http/https port +- Parsing envs and headers arg +- Changed hyper::Error to anyhow::Error +- Adding tag creation +- Adding tag creation +- Adding tag creation +- Adding tag creation +- Adding tag creation +- Adding tag creation +- Adding tag creation +- Drop windows from package list +- Release tag name +- Simplify tag creation and trigger release on push tag + +## [0.5.0] - 2024-07-30 + +### 🚀 Features + +- Adding support for graceful shutdown +- Adding cli support for wasi-http +- Update hyper deps to 1.4 +- Add support for WASI HTTP interface +- Write request_id to clickhouse stats + +### 🐛 Bug Fixes + +- Remove unusual reference +- Add uri missing schema part + +## [0.4.1] - 2024-06-26 + +### 🚀 Features + +- Return custom error codes for internal fastedge errors +- Adding region field to stats and minor string fields perf optimisations + +### 🐛 Bug Fixes + +- Set by default 60s for max_duration cli parameter +- Add alloc fixture for unit tests +- Add alloc fixture for unit tests +- Adding app lookup by id trait +- Comment code coverage step +- Refactoring stats and metric sub modules +- Fix github pipeline +- Fix github release pipeline +- Add pipeline caching +- Add pipeline caching +- Release pipeline +- Release pipeline +- Make tls as optional http-service feature +- Small app log improvements + +### ⚙️ Miscellaneous Tasks + +- Release + +## [0.3.7] - 2024-05-15 + +### 🚀 Features + +- Adding matrix release for different platforms + +### 🐛 Bug Fixes + +- Clippy warning and new release flow +- Clippy warning and new release flow +- Clippy warning and new release flow + +