Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Apr 12, 2024
1 parent ae55c6b commit 7bb9723
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ debug:
-lpthread -ldl -o $(DIST_DIR)/debug && \
$(DIST_DIR)/debug && valgrind --leak-check=full tmp/libs/debug

testdev: build_dir curl criterion stnsd ## Test without dependencies installation
testdev: build_dir curl criterion ## Test without dependencies installation

build: nss_build key_wrapper_build
nss_build : build_dir curl ## Build nss_stns
Expand Down Expand Up @@ -283,11 +283,6 @@ test_on_docker: docker
github_release: ## Create some distribution packages
ghr -u STNS --replace v$(VERSION) builds/

stnsd:
(dpkg -l |grep stnsd) || (curl -s -L -O https://github.com/STNS/cache-stnsd/releases/download/v$(STNSD_VERSION)/cache-stnsd_$(STNSD_VERSION)-1_amd64.jammy.deb && sudo dpkg -i cache-stnsd_$(STNSD_VERSION)-1_amd64.jammy.deb)
rm -rf cache-stnsd_$(STNSD_VERSION)-1_amd64.jammy.deb
sudo service cache-stnsd start

parson:
rm -rf /tmp/parson && git clone https://github.com/kgabis/parson.git /tmp/parson && \
mv /tmp/parson/parson.h ./ && \
Expand Down
4 changes: 3 additions & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ RUN apt install -qqy \
git \
vim \
stns-v2 \
cache-stnsd \
systemd \
init \
netcat \
libasan5 \
valgrind \
finit-sysv \
flawfinder
RUN mkdir /stns
WORKDIR /stns

0 comments on commit 7bb9723

Please sign in to comment.