compilar con contenedores sin ci
This commit is contained in:
parent
7f23223edd
commit
5ede79af03
2 changed files with 20 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ build.js/
|
|||
.env
|
||||
cache/
|
||||
rootfs/
|
||||
.pnpm-store/
|
||||
|
|
19
Justfile
Normal file
19
Justfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
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 \
|
||||
-v ".:/sitio:Z" --workdir /sitio \
|
||||
{{builder}} sh -c "{{command}}"
|
||||
run command: (_run "pnpm install") (_run command)
|
||||
|
||||
build: (run './tool build')
|
||||
check: (run './tool check')
|
||||
refresh_feeds: (run './tool refresh_feeds')
|
||||
|
||||
ready_to_upload: check refresh_feeds build
|
||||
upload: ready_to_upload
|
||||
|
||||
|
Reference in a new issue