feat: structure work

- split files/ into separate dirs
- rename scripts/ to script/, remove .sh extensions
- remove publish scripts, tf module, use github host
- remove unused install files
This commit is contained in:
Andrejus Kostarevas
2023-02-24 00:34:31 +00:00
parent f85a257b98
commit 50193eca51
44 changed files with 49 additions and 1088 deletions

15
script/test Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
IMAGE=${IMAGE:-"andrejusk/dotfiles"}
tag=${TAG:-uuidgen}
docker build . \
--build-arg UUID=$tag \
--cache-from $IMAGE \
--tag $IMAGE:$tag \
--target test
docker run \
-v "$(pwd)"/logs:/home/test-user/.dotfiles/logs \
$IMAGE:$tag