errestaurar woodpec
This commit is contained in:
parent
328fa0abc2
commit
4c48ded98e
2 changed files with 1 additions and 38 deletions
|
@ -4,7 +4,7 @@ pipeline:
|
|||
commands:
|
||||
- echo "http://host.containers.internal/alpine/alpine/v3.17/main" > /etc/apk/repositories
|
||||
- echo "http://host.containers.internal/alpine/alpine/v3.17/community" >> /etc/apk/repositories
|
||||
- apk add nodejs npm lua5.1
|
||||
- apk add nodejs icu-data-full npm lua5.1
|
||||
- npm config set -g registry http://host.containers.internal/npm
|
||||
- npm install -g pnpm
|
||||
# https://gitea.nulo.in/Nulo/openring/releases/tag/1.0.1-nulo-sitio-2
|
||||
|
|
37
build-repro
37
build-repro
|
@ -1,37 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
runprint() {
|
||||
echo "==> $@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
runprint apk add --quiet nodejs npm git git-lfs icu-data-full lua5.1
|
||||
|
||||
runprint npm install --silent -g pnpm
|
||||
export PATH="$PATH:/usr/local/bin"
|
||||
|
||||
# https://gitea.nulo.in/Nulo/openring/releases/tag/1.0.1-nulo-sitio-2
|
||||
runprint wget -nv -O /usr/local/bin/openring https://gitea.nulo.in/attachments/3ddb2799-3af7-4239-a7fd-9d31670aefb8
|
||||
chmod +x /usr/local/bin/openring
|
||||
|
||||
runprint git clone file:///src sitio
|
||||
cd sitio
|
||||
|
||||
runprint pnpm install --store-dir ~/pnpm-store --package-import-method copy
|
||||
runprint ./tool refresh_feeds
|
||||
runprint ./tool check
|
||||
runprint ./tool build
|
||||
|
||||
runprint apk add --quiet rsync openssh-client-default
|
||||
|
||||
if test -n "$SSH_KEY"; then
|
||||
eval $(ssh-agent -s)
|
||||
# https://stackoverflow.com/questions/46147228/dotenv-multiline-variables
|
||||
echo "${SSH_KEY}" | tr -d '\r' | ssh-add -
|
||||
mkdir -p ~/.ssh
|
||||
echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts
|
||||
|
||||
runprint ./upload
|
||||
else
|
||||
echo ==> No tengo SSH_KEY, no voy a subir el sitio.
|
||||
fi
|
Reference in a new issue