gems/.woodpecker.yml

32 lines
943 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}
2021-09-29 23:22:12 +00:00
- bulk-compiler
2022-02-05 21:02:49 +00:00
- git add built/ failed/
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
- git commit -m "[skip ci] built gems"
- 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 -
2021-12-23 19:21:06 +00:00
- git push nulo ${CI_COMMIT_BRANCH}
2022-02-05 21:02:49 +00:00
- git show HEAD | grep -q failed/ ; test $? -eq 0
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:
- 3.13.6
# - 3.14.2