Skip to content

Commit 6fb0eef

Browse files
committed
cleanup
1 parent 8ee3cc7 commit 6fb0eef

5 files changed

Lines changed: 7 additions & 518 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,3 @@ jobs:
4242
--no-capture
4343
env:
4444
RUST_LOG: debug
45-
46-
- name: Run fee-redirect E2E test
47-
run: |
48-
cargo test \
49-
-p ev-tests \
50-
--lib \
51-
node_redirects_base_fee_and_preserves_burn_sink \
52-
-- --ignored --nocapture
53-
env:
54-
RUST_LOG: info

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ RUN apt-get update && \
99
build-essential \
1010
pkg-config \
1111
libssl-dev \
12-
clang-14 \
13-
libclang-14-dev \
14-
llvm-14-dev \
12+
clang \
13+
libclang-dev \
1514
libc6-dev \
16-
&& ln -sf /usr/lib/llvm-14/lib/libclang.so /usr/lib/libclang.so
15+
&& rm -rf /var/lib/apt/lists/*
1716

1817
FROM chef AS planner
1918
COPY . .

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,18 @@ test-common:
117117

118118
# Docker configuration
119119
GIT_TAG ?= $(shell git describe --tags --abbrev=0 || echo "latest")
120-
DOCKER_TAG ?= $(GIT_TAG)
120+
GIT_COMMIT ?= $(shell git rev-parse --short HEAD || echo "unknown")
121+
DOCKER_TAG ?= $(GIT_COMMIT)
121122
BIN_DIR = dist/bin
122123
DOCKER_IMAGE_NAME ?= ghcr.io/$(shell git config --get remote.origin.url | sed 's/.*github.com[:/]\(.*\)\.git/\1/' | cut -d'/' -f1)/ev-reth
123124
PROFILE ?= release
124125

125126
# List of features to use when building
126127
FEATURES ?= jemalloc
127128

128-
## docker-build: Build Docker image
129+
## docker-build: Build Docker image (tagged with git commit hash by default)
129130
docker-build:
131+
@echo "Building Docker image: $(DOCKER_IMAGE_NAME):$(DOCKER_TAG)"
130132
docker build -t $(DOCKER_IMAGE_NAME):$(DOCKER_TAG) .
131133

132134
## docker-build-push: Build and push a cross-arch Docker image

0 commit comments

Comments
 (0)