Skip to content

Commit 986302e

Browse files
committed
feat: ready for 0.1
1 parent 677e56a commit 986302e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif
1616

1717
CONTAINER_TAG ?= $(GIT_TAG)
1818
CONTAINER_NAME := $(REGISTRY)/$(NAME):$(CONTAINER_TAG)
19-
TEST_CONTAINER_TAG := "testing"
19+
TEST_CONTAINER_TAG ?= "testing"
2020
CONTAINER_NAME_TESTING := $(REGISTRY)/$(NAME):$(TEST_CONTAINER_TAG)
2121

2222
TEST_FILE := "test/test-localhost-remote.yaml"
@@ -59,7 +59,7 @@ push: ## pushes a docker image
5959
.PHONY: run-in-docker
6060
run-in-docker: ## runs the last build docker image inside docker
6161
@echo "+ $@"
62-
set -x ; docker run -i \
62+
set -x ; docker run -i \
6363
--net=host \
6464
--cap-add NET_ADMIN \
6565
--cap-add NET_RAW \
@@ -95,7 +95,7 @@ test: test-deploy ## build, test, and push container, then run local tests
9595
ARGS='netassert --image ${CONTAINER_NAME_TESTING} test/test-all.yaml'
9696

9797
.PHONY: test-local
98-
test-local: test-deploy ## test from the local machine
98+
test-local: ## test from the local machine
9999
@echo "+ $@"
100100
./netassert \
101101
--image ${CONTAINER_NAME_TESTING} \

netassert

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ declare -a ARGUMENTS
3838
EXPECTED_NUM_ARGUMENTS=0
3939
ARGUMENTS=()
4040
FILENAME="test/test.yaml"
41-
NETASSERT_IMAGE_NAME="controlplane/netassert:none"
41+
NETASSERT_IMAGE_NAME="controlplane/netassert:0.1"
4242
CONTAINER_BASE_NAME="netassert"
4343
CONTAINER_NAME="${CONTAINER_BASE_NAME}-$(cut -d- -f1 </proc/sys/kernel/random/uuid)"
4444
CONFIG=''
@@ -473,6 +473,7 @@ parse_arguments() {
473473
shift
474474
not_empty_or_usage "${1:-}"
475475
GCLOUD_SSH_OPTIONS="${1}"
476+
;;
476477
--offline)
477478
IS_OFFLINE=1
478479
;;

0 commit comments

Comments
 (0)