gems/.woodpecker.yml

33 lines
1,011 B
YAML
Raw Normal View History

2021-09-29 23:22:12 +00:00
pipeline:
publish:
image: registry.nulo.in/sutty/containers-gem-compiler:${ALPINE_VERSION}
pull: true
commands:
2021-12-23 19:21:06 +00:00
- git checkout -B ${CI_COMMIT_BRANCH}
2022-02-15 11:45:30 +00:00
- bulk-compiler || true
- git add built/ || true
- git add failed/ || true
2021-09-29 23:22:12 +00:00
- git config user.name Woodpecker
- git config user.email ci@nulo.in
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/gems.git
2022-02-15 11:45:30 +00:00
- git commit -m "[skip ci] built gems" || true
2021-09-29 23:22:12 +00:00
- apk add --no-cache openssh-client
- mkdir ~/.ssh/
- echo '[nulo.in]:420 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgHIbf5/jkeyLMndnWlEO12DPj41YPqkmz+aIreVOsP' >> ~/.ssh/known_hosts
- eval $(ssh-agent -s)
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
2022-08-26 19:39:05 +00:00
- git pull nulo ${CI_COMMIT_BRANCH}
2021-12-23 19:21:06 +00:00
- git push nulo ${CI_COMMIT_BRANCH}
2022-04-14 19:24:05 +00:00
- git show HEAD | grep -q failed/ || false
2021-09-29 23:22:12 +00:00
secrets:
- HTTP_BASIC_USER
- HTTP_BASIC_PASSWORD
- SSH_KEY
when:
branch: antifascista
event: push
matrix:
ALPINE_VERSION:
2022-08-26 19:39:05 +00:00
- 3.16.2