Cleanup tests directory
This commit is contained in:
parent
6af32696be
commit
d756a16132
5 changed files with 0 additions and 49 deletions
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
suffix=$(printf '%s' "$1" | sed 's/.*\.//')
|
|
||||||
tag="en:$suffix"
|
|
||||||
|
|
||||||
if podman container exists "$tag"; then
|
|
||||||
podman stop --time 3 "$tag"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$suffix" = 'debian-dev' ]; then
|
|
||||||
cp ../../target/release/en en
|
|
||||||
elif [ "$suffix" = 'alpine-dev' ]; then
|
|
||||||
cp ../../target/x86_64-unknown-linux-musl/release/en en
|
|
||||||
fi
|
|
||||||
|
|
||||||
podman build \
|
|
||||||
--tag "$tag" \
|
|
||||||
-f "Containerfile.$suffix"
|
|
||||||
|
|
||||||
rm en
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
suffix=$(printf '%s' "$1" | sed 's/.*\.//')
|
|
||||||
name="en-$suffix"
|
|
||||||
tag="en:$suffix"
|
|
||||||
|
|
||||||
podman run \
|
|
||||||
--replace \
|
|
||||||
--name "$name" \
|
|
||||||
--publish 3008:80 \
|
|
||||||
"$tag"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
[meta]
|
|
||||||
config = {
|
|
||||||
'
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"JSON": {
|
|
||||||
"text": "",
|
|
||||||
"title": "JSON",
|
|
||||||
"links": [],
|
|
||||||
"id": "JSON",
|
|
||||||
"hidden": false,
|
|
||||||
"connections": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root_node": "JSON"
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue