Initial import

This commit is contained in:
Christian Tosta
2025-05-30 13:14:06 -03:00
parent 3cfa2f2bb9
commit e615c113f8
10 changed files with 1806 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
[[ "$(basename ${PWD})" == "tests" ]] && exit 1
docker compose up -d

17
tests/01-install-requires.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
docker compose exec tests sh -c "
apt-get update \
&& apt-get -y install --no-install-suggests \
curl \
git-core \
iproute2 \
iputils-ping \
jq \
libarchive-tools \
locales \
python3-yaml \
ssh \
sudo \
tzdata \
"

View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker compose exec tests bash

View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker compose exec tests sig-installer

View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker compose down

11
tests/compose.yml Normal file
View File

@@ -0,0 +1,11 @@
name: sig_installer
services:
tests:
command: sh -c "while :; do sleep 30; done"
image: ubuntu:22.04
user: root
volumes:
- ${PWD}:/usr/local/sbin:ro
ports:
- 8069:8069