Compare commits

...

6 Commits

Author SHA1 Message Date
wiz
141215c349
Release mempool-electrs v3.3.0
Some checks failed
Docker build on tag / Build and push to DockerHub (push) Has been cancelled
2025-12-31 16:21:14 -10:00
Felipe Knorr Kuhn
5f17ecdcb1
Remove the swap steps 2025-12-31 16:21:11 -10:00
Felipe Knorr Kuhn
9497ed6498
Comment out swap steps for testing 2025-12-31 16:21:08 -10:00
Felipe Knorr Kuhn
3da1ddb7ce
Ignore swapoff error 2025-12-31 16:21:06 -10:00
Felipe Knorr Kuhn
e73e74d783
Use the mempool ci runners 2025-12-31 16:21:03 -10:00
wiz
07e20c2b5d
ops: Increase Github workflow to 20G swap 2025-12-31 16:21:01 -10:00
4 changed files with 8 additions and 37 deletions

View File

@ -10,7 +10,7 @@ name: Compile Check and Lint
jobs:
check:
name: Compile Check
runs-on: ubuntu-latest
runs-on: mempool-ci
steps:
- uses: actions/checkout@v4
- name: Setup Rust
@ -21,7 +21,7 @@ jobs:
fmt:
name: Formatter
runs-on: ubuntu-latest
runs-on: mempool-ci
steps:
- uses: actions/checkout@v4
- name: Setup Rust
@ -32,7 +32,7 @@ jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
runs-on: mempool-ci
steps:
- uses: actions/checkout@v4
- name: Setup Rust
@ -42,7 +42,7 @@ jobs:
- run: cargo test --lib --all-features
compile-freebsd:
runs-on: ubuntu-latest
runs-on: mempool-ci
name: Run Compile Checks in FreeBSD
env:
FREEBSD_VER: "14.3"
@ -86,7 +86,7 @@ jobs:
clippy:
name: Linter
runs-on: ubuntu-latest
runs-on: mempool-ci
needs: [check]
strategy:
matrix: # Try all combinations of features. Some times weird things appear.

View File

@ -16,39 +16,10 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
runs-on: mempool-ci
timeout-minutes: 120
name: Build and push to DockerHub
steps:
# Workaround based on JonasAlfredsson/docker-on-tmpfs@v1.0.1
- name: Replace the current swap file
shell: bash
run: |
sudo swapoff /mnt/swapfile
sudo rm -v /mnt/swapfile
sudo fallocate -l 13G /mnt/swapfile
sudo chmod 600 /mnt/swapfile
sudo mkswap /mnt/swapfile
sudo swapon /mnt/swapfile
- name: Show current memory and swap status
shell: bash
run: |
sudo free -h
echo
sudo swapon --show
- name: Mount a tmpfs over /var/lib/docker
shell: bash
run: |
if [ ! -d "/var/lib/docker" ]; then
echo "Directory '/var/lib/docker' not found"
exit 1
fi
sudo mount -t tmpfs -o size=10G tmpfs /var/lib/docker
sudo systemctl restart docker
sudo df -h | grep docker
- name: Set env variables
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

2
Cargo.lock generated
View File

@ -788,7 +788,7 @@ dependencies = [
[[package]]
name = "mempool-electrs"
version = "3.3.0-dev"
version = "3.3.0"
dependencies = [
"arrayref",
"base64 0.13.0",

View File

@ -1,6 +1,6 @@
[package]
name = "mempool-electrs"
version = "3.3.0-dev"
version = "3.3.0"
authors = [
"Roman Zeyde <me@romanzey.de>",
"Nadav Ivgi <nadav@shesek.info>",