matar tooling justfile container

This commit is contained in:
Cat /dev/Nulo 2023-07-17 16:40:06 -03:00
parent cc251dc822
commit 35109f683a
2 changed files with 0 additions and 29 deletions

View file

@ -1,23 +0,0 @@
default: build
builder := "gitea.nulo.in/nulo/sitio-build"
build_builder_image:
podman build -t {{builder}} tooling/
_run command: build_builder_image
podman run -it --rm \
-v ".:/sitio:Z" --workdir /sitio \
{{builder}} sh -c "{{command}}"
run command: (_run "pnpm install --prefer-offline") (_run command)
build: (run './tool build')
check: (run './tool check')
refresh_feeds: (run './tool refresh_feeds')
clean:
if [ ! -z "$(git status --porcelain)" ]; then echo "not clean!"; exit 1; fi
ready_to_upload: check refresh_feeds
upload: clean ready_to_upload _dirty_upload
_dirty_upload: build
rsync --rsh='ssh -p2223 -J root@dorsiblanco.nulo.in' --recursive --chmod=644 build/ root@localhost:/data/nulo_ar/

View file

@ -1,6 +0,0 @@
FROM docker.io/alpine:3.17
RUN apk add --no-cache nodejs npm icu-data-full \
rsync openssh-client-default
RUN npm install --global pnpm