Skip to content

Commit 9cc399f

Browse files
committed
fix(ci): correctly expose APPMAP_PACKAGE_NAME into the smoketest container
1 parent 95463ab commit 9cc399f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ci/run_tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env bash
22

33
SMOKETEST_DOCKER_IMAGE=${SMOKETEST_DOCKER_IMAGE:-"python:3.11"}
4+
APPMAP_PACKAGE_NAME=${APPMAP_PACKAGE_NAME:-appmap}
45

56
set -x
67
t=$([ -t 0 ] && echo 't')
78
docker run -q -i${t} --rm\
89
-v $PWD/dist:/dist -v $PWD/_appmap/test/data/unittest:/_appmap/test/data/unittest\
910
-v $PWD/ci:/ci\
1011
-v $PWD/.git:/tmp/.git:ro\
11-
-w /tmp\
1212
-v $PWD/ci/readonly-mount-appmap.log:/tmp/appmap.log:ro\
13+
-w /tmp\
14+
-e APPMAP_PACKAGE_NAME \
1315
$SMOKETEST_DOCKER_IMAGE bash -ce "${@:-/ci/smoketest.sh; /ci/test_pipenv.sh; /ci/test_poetry.sh}"

ci/smoketest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bash
22

3-
APPMAP_PACKAGE_NAME=${APPMAP_PACKAGE_NAME:-appmap}
43

54
test_recording_when_appmap_not_true()
65
{

0 commit comments

Comments
 (0)