Skip to content

Commit

Permalink
fix: release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanti committed Sep 9, 2024
1 parent 9f5bbbc commit 0e76acc
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 31 deletions.
50 changes: 19 additions & 31 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}
114 changes: 114 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

<!-- generated by git-cliff -->

0 comments on commit 0e76acc

Please sign in to comment.