site-analyzer/.woodpecker.yml

23 lines
896 B
YAML
Raw Normal View History

2022-11-25 23:00:46 +00:00
pipeline:
build:
image: docker.io/alpine:3.17
commands:
- echo "172.17.0.1 npm.proxy.coso alpine.proxy.coso" >> /etc/hosts
- echo "http://alpine.proxy.coso/alpine/v3.17/main" > /etc/apk/repositories
- echo "http://alpine.proxy.coso/alpine/v3.17/community" >> /etc/apk/repositories
- apk add curl nodejs npm git tar zstd
- curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm
- pnpm set registry http://npm.proxy.coso
- pnpm install --prod
- git clone https://gitea.nulo.in/Nulo/site-analyzer-demos
- cd site-analyzer-demos
2022-11-25 23:02:08 +00:00
- tar --zstd -xf nulo.in.tar.zst
- tar --zstd -xf la-periferica.com.ar.tar.zst
- tar --zstd -xf distributed.press.tar.zst
2022-11-25 23:00:46 +00:00
- node .. nulo.in/
- node .. la-periferica.com.ar/
- node .. distributed.press/