Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 5fd2992

Browse files
committed
Patches integration tests with Makefile
1 parent f93cb39 commit 5fd2992

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ci/integration/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FROM ubuntu:20.04
22

3-
RUN apt-get update && apt-get install -y jq curl
3+
RUN apt-get update && apt-get install -y jq curl build-essential

ci/integration/setup_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func build(path string) error {
3737
cmd := exec.Command(
3838
"sh", "-c",
3939
fmt.Sprintf(
40-
"cd ../../ && mkdir -p %s && ./ci/steps/build.sh && cp ./ci/bin/%s %s/ && tar -xzf %s -C %s",
40+
"cd ../../ && mkdir -p %s && make build/linux && cp ./ci/bin/%s %s/ && tar -xzf %s -C %s",
4141
dir, tar, dir, filepath.Join(dir, tar), dir),
4242
)
4343

pkg/tcli/tcli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func NewContainerRunner(ctx context.Context, config *ContainerConfig) (*Containe
6767
"run",
6868
"--name", config.Name,
6969
"--network", "host",
70-
"-it", "-d",
70+
"--rm", "-it", "-d",
7171
}
7272
args = append(args, mountArgs(config.BindMounts)...)
7373
args = append(args, config.Image)

0 commit comments

Comments
 (0)