From 35109f683a2ab1127b84311b716931e98fbceea7 Mon Sep 17 00:00:00 2001 From: Nulo Date: Mon, 17 Jul 2023 16:40:06 -0300 Subject: [PATCH] matar tooling justfile container --- Justfile | 23 ----------------------- tooling/Containerfile | 6 ------ 2 files changed, 29 deletions(-) delete mode 100644 Justfile delete mode 100644 tooling/Containerfile diff --git a/Justfile b/Justfile deleted file mode 100644 index 7ea3af8..0000000 --- a/Justfile +++ /dev/null @@ -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/ - diff --git a/tooling/Containerfile b/tooling/Containerfile deleted file mode 100644 index 79367b7..0000000 --- a/tooling/Containerfile +++ /dev/null @@ -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 \ No newline at end of file