Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Jan 13, 2024
1 parent 1227fb5 commit 68d3990
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ target/
test_local/
.vagrant/
tests/ubuntu-22.04-minimal-cloudimg-amd64.img
lcov.info
10 changes: 7 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ args = [
"--no-default-features",
"--features",
"test",
"-j",
"--output-path",
"./lcov.info",
"--lcov",
"--",
"--test-threads",
"1",
]

Expand All @@ -163,8 +167,8 @@ args = [
"--no-default-features",
"--features",
"test",
"--output-path",
"./lcov.info",
"--html",
"report",
"--lcov",
"--",
"--test-threads",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ for project in ./bin/*; do
version=$(grep -m1 version $project/Cargo.toml | sed -e 's/version = //g' | sed -e 's/"//g')
TAG="$REPO/$name:$version-nightly"
echo $TAG
docker build -t "ghcr.io/next-hat/$name:$version-nightly" -f $project/Dockerfile .
docker buildx build --load -t "ghcr.io/next-hat/$name:$version-nightly" -f $project/Dockerfile .
done
4 changes: 2 additions & 2 deletions scripts/install_dev_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ docker pull cockroachdb/cockroach:v23.1.13
docker pull ghcr.io/next-hat/metrsd:0.5.0
docker pull ghcr.io/next-hat/nanocl-get-started:latest
docker pull ghcr.io/next-hat/nanocl-dev:dev
docker build --network host -t ndns:dev -f ./bin/ndns/Dockerfile .
docker build --network host -t nproxy:dev -f ./bin/nproxy/Dockerfile .
docker buildx build --load --network host -t ndns:dev -f ./bin/ndns/Dockerfile .
docker buildx build --load --network host -t nproxy:dev -f ./bin/nproxy/Dockerfile .

0 comments on commit 68d3990

Please sign in to comment.