Skip to content

Commit e4170ef

Browse files
author
lijianguo
committed
chore(helmbroker): test
1 parent e7280c0 commit e4170ef

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PLATFORM ?= linux/amd64,linux/arm64
77

88
include versioning.mk
99

10-
SHELLCHECK_PREFIX := docker run -v ${CURDIR}:/workdir -w /workdir ${DEV_REGISTRY}/drycc/go-dev shellcheck
10+
SHELLCHECK_PREFIX := docker run --rm -v ${CURDIR}:/workdir -w /workdir ${DEV_REGISTRY}/drycc/go-dev shellcheck
1111
SHELL_SCRIPTS = $(wildcard rootfs/bin/*) $(shell find "rootfs" -name '*.sh') $(wildcard _scripts/*.sh)
1212

1313
# Test processes used in quick unit testing
@@ -49,7 +49,7 @@ full-clean: check-docker
4949
test: test-style test-unit test-functional
5050

5151
test-style: docker-build-test
52-
docker run -v ${CURDIR}:/test -w /test/rootfs ${IMAGE}.test /test/rootfs/bin/test-style
52+
docker run --rm -v ${CURDIR}:/test -w /test/rootfs ${IMAGE}.test /test/rootfs/bin/test-style
5353
${SHELLCHECK_PREFIX} $(SHELL_SCRIPTS)
5454

5555
test-unit: docker-build-test
@@ -63,6 +63,6 @@ test-integration:
6363

6464
upload-coverage:
6565
$(eval CI_ENV := $(shell curl -s https://codecov.io/env | bash))
66-
docker run ${CI_ENV} -v ${CURDIR}:/test -w /test/rootfs ${IMAGE}.test codecov --required
66+
docker run --rm ${CI_ENV} -v ${CURDIR}:/test -w /test/rootfs ${IMAGE}.test codecov --required
6767

6868
.PHONY: check-kubectl check-docker build docker-build docker-build-test deploy clean commit-hook full-clean test test-style test-unit test-functional test-integration upload-coverage

rootfs/helmbroker/tasks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
import time
33
import yaml
4-
import shutil
54

65
from openbrokerapi.service_broker import ProvisionDetails, OperationState, \
76
UpdateDetails, BindDetails

0 commit comments

Comments
 (0)