Skip to content

Commit fe92312

Browse files
authored
Merge pull request #613 from openmina/prepare-release/v0.8.0
Prepare release v0.8.0
2 parents cbc4ecc + 22fcca3 commit fe92312

File tree

30 files changed

+160
-66
lines changed

30 files changed

+160
-66
lines changed

.github/workflows/release.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Create Docker Compose Archives
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Create versioned directory and package files
17+
run: |
18+
release_dir="openmina-${{ github.ref_name }}-docker-compose"
19+
mkdir -p "$release_dir"
20+
cp -r docker-compose.* README.md "$release_dir/"
21+
zip -r "${release_dir}.zip" "$release_dir"
22+
tar -czvf "${release_dir}.tar.gz" "$release_dir"
23+
24+
- name: Create a GitHub Release
25+
id: create_release
26+
uses: actions/create-release@v1
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
with:
30+
tag_name: ${{ github.ref_name }}
31+
release_name: Release ${{ github.ref_name }}
32+
draft: true
33+
prerelease: false
34+
35+
- name: Upload the zip file as a release asset
36+
uses: actions/upload-release-asset@v1
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
upload_url: ${{ steps.create_release.outputs.upload_url }}
41+
asset_name: "openmina-${{ github.ref_name }}-docker-compose.zip"
42+
asset_path: "openmina-${{ github.ref_name }}-docker-compose.zip"
43+
asset_content_type: application/zip
44+
45+
- name: Upload the tarball as a release asset
46+
uses: actions/upload-release-asset@v1
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
with:
50+
upload_url: ${{ steps.create_release.outputs.upload_url }}
51+
asset_name: "openmina-${{ github.ref_name }}-docker-compose.tar.gz"
52+
asset_path: "openmina-${{ github.ref_name }}-docker-compose.tar.gz"
53+
asset_content_type: application/gzip

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.0] - 2024-08-30
11+
12+
### Added
13+
14+
- Webnode: Streaming ledger sync RPC.
15+
- P2P: Meshsub for gossip.
16+
- P2P: Additional tests.
17+
18+
### Fixed
19+
20+
- Mempool: Various transaction pool issues.
21+
- Poseidon hashing and witness generation when absorbing empty slices.
22+
1023
### Changed
1124

1225
- **Rust Toolchain**: Updated the minimum required Rust toolchain to version 1.80.
@@ -196,7 +209,8 @@ First public release.
196209
- Alpha version of the node which can connect and syncup to the berkeleynet network, and keep applying new blocks to maintain consensus state and ledger up to date.
197210
- Web-based frontend for the node.
198211

199-
[Unreleased]: https://github.com/openmina/openmina/compare/v0.7.0...develop
212+
[Unreleased]: https://github.com/openmina/openmina/compare/v0.8.0...develop
213+
[0.8.0]: https://github.com/openmina/openmina/releases/tag/v0.7.0...v0.8.0
200214
[0.7.0]: https://github.com/openmina/openmina/releases/tag/v0.6.0...v0.7.0
201215
[0.6.0]: https://github.com/openmina/openmina/releases/tag/v0.5.1...v0.6.0
202216
[0.5.1]: https://github.com/openmina/openmina/releases/tag/v0.5.0...v0.5.1

Cargo.lock

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,54 @@
55

66
[![Openmina Daily](https://github.com/openmina/openmina/actions/workflows/daily.yaml/badge.svg)](https://github.com/openmina/openmina/actions/workflows/daily.yaml) [![Changelog][changelog-badge]][changelog] [![release-badge]][release-link] [![Apache licensed]][Apache link]
77

8-
## Run the block producer
8+
## Run the Block Producer
99

1010
Once you have completed the [pre-requisites](https://github.com/openmina/openmina/blob/main/docs/producer-demo.md#prerequisites) for your operating system, follow these steps:
1111

12+
### Setup Option 1: Download Docker Compose Files from the Release
13+
14+
1. **Download the Docker Compose files:**
15+
- Go to the [Releases page](https://github.com/openmina/openmina/releases) of this repository.
16+
- Download the latest `openmina-vX.Y.Z-docker-compose.zip` (or `.tar.gz`) file corresponding to the release version (available since v0.8.0).
17+
18+
2. **Extract the files:**
19+
- Unzip or untar the downloaded file:
20+
```bash
21+
unzip openmina-vX.Y.Z-docker-compose.zip
22+
```
23+
or
24+
```bash
25+
tar -xzvf openmina-vX.Y.Z-docker-compose.tar.gz
26+
```
27+
- Replace `vX.Y.Z` with the actual release version you downloaded.
28+
29+
3. **Navigate to the extracted directory:**
30+
```bash
31+
cd openmina-vX.Y.Z-docker-compose
32+
```
33+
34+
### Setup Option 2: Clone the Repository
35+
1236
1. **Clone this repository:**
13-
```bash
14-
git clone https://github.com/openmina/openmina.git
15-
```
37+
```bash
38+
git clone https://github.com/openmina/openmina.git
39+
```
1640

1741
2. **Navigate to the repository:**
42+
```bash
43+
cd openmina
44+
```
45+
46+
### Launch
1847

19-
```bash
20-
cd openmina
21-
```
48+
**Run the following command to start the demo:**
49+
```bash
50+
docker compose -f docker-compose.local.producers.yml up --pull always
51+
```
2252

23-
3. **Run the following command to start the demo:**
24-
```sh
25-
docker compose -f docker-compose.local.producers.yml up --pull always
26-
```
53+
And finally:
2754

28-
4. **Open you browser and visit http://localhost:8070**
55+
**Open your browser and visit [http://localhost:8070](http://localhost:8070)**
2956

3057
![image](https://github.com/user-attachments/assets/c8929509-f68b-4281-bcb9-bad03029fa2f)
3158

@@ -74,7 +101,7 @@ Run the Open Mina block producer node by following this [guide](https://github.c
74101

75102
## How to launch the node (with Docker compose):
76103

77-
Run:
104+
From the directory containing the Docker Compose files (either the root of the cloned repository or the directory where the released Docker Compose files were extracted):
78105

79106
```
80107
docker compose up --pull always

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cli"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
edition = "2021"
55
license = "Apache-2.0"
66

0 commit comments

Comments
 (0)