Compare commits
3 Commits
90bc5848a1
...
7837f1c7c0
Author | SHA1 | Date |
---|---|---|
Victor Frazao | 7837f1c7c0 | |
Dan Vargas | 2ebe1a3308 | |
Thomas Hobson | ec9a770f5b |
|
@ -123,7 +123,9 @@ jobs:
|
|||
do
|
||||
TEST_RUNTIME=$(awk -F. '{print $2}' <<< $(basename $tscript))
|
||||
echo Running $tscript with runtime=$TEST_RUNTIME
|
||||
docker run --network container:api -v "$PWD/cli:/app" -v "$PWD/$(dirname $tscript):/pkg" node:15 /app/index.js run $TEST_RUNTIME $PKG_VERSION /pkg/$(basename $tscript) | grep OK
|
||||
docker run --network container:api -v "$PWD/cli:/app" -v "$PWD/$(dirname $tscript):/pkg" node:15 /app/index.js run $TEST_RUNTIME $PKG_VERSION /pkg/$(basename $tscript) > test_output
|
||||
cat test_output
|
||||
grep "OK" test_output
|
||||
done
|
||||
done
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ echo "# Put 'export' statements here for environment variables" >> environment
|
|||
echo "export PATH=\$PWD/bin:\$PATH" >> environment
|
||||
|
||||
echo "# Put instructions to run the runtime" >> run
|
||||
echo "$NAME-$VERSION \$*" >> run
|
||||
echo "$NAME-$VERSION \"\$@\"" >> run
|
||||
|
||||
echo "# Put instructions to compile source code, remove this file if the language does not require this stage" >> compile
|
||||
|
||||
|
@ -62,4 +62,4 @@ jq '.language = "'$NAME'" | .version = "'$VERSION'" | .aliases = [] | .author =
|
|||
|
||||
cd - > /dev/null
|
||||
|
||||
echo $DIR
|
||||
echo $DIR
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM debian:buster-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils util-linux pciutils usbutils coreutils binutils findutils grep && \
|
||||
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev libncursesw5-dev && \
|
||||
ln -sf /bin/bash /bin/sh && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue