Compare commits
8 commits
a357a79973
...
2acef00d6b
Author | SHA1 | Date | |
---|---|---|---|
|
2acef00d6b | ||
|
8785002ba7 | ||
|
e6fac86fe4 | ||
|
230a020c99 | ||
|
7dec608498 | ||
|
bfa5446a6c | ||
|
90ec70dc35 | ||
|
caef965975 |
2 changed files with 30 additions and 32 deletions
|
@ -1,40 +1,37 @@
|
|||
pipeline:
|
||||
publish:
|
||||
image: registry.nulo.in/sutty/containers-gem-compiler:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}
|
||||
image: "registry.nulo.in/sutty/containers-gem-compiler:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
|
||||
pull: true
|
||||
commands:
|
||||
- git checkout -B ${CI_COMMIT_BRANCH}
|
||||
- bulk-compiler || true
|
||||
- git add built/ || true
|
||||
- git add failed/ || true
|
||||
- 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" || true
|
||||
- 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 -
|
||||
- git pull --rebase nulo ${CI_COMMIT_BRANCH}
|
||||
- git push nulo ${CI_COMMIT_BRANCH}
|
||||
- git show HEAD | grep -q failed/ || false
|
||||
- "mkdir -p ~/.config/tea"
|
||||
- "echo -e \"$${TEA}\" > ~/.config/tea/config.yml"
|
||||
- "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 -"
|
||||
- "git config user.name Woodpecker"
|
||||
- "git config user.email ci@nulo.in"
|
||||
- "git remote add nulo ssh://_gitea@gitea.nulo.in:420/Sutty/gems.git"
|
||||
- "git checkout -B ${CI_COMMIT_BRANCH}"
|
||||
- "bulk-compiler || true"
|
||||
- "git add built/ failed/ && git commit -m \"[skip ci] built gems\" ; true"
|
||||
- "git pull --rebase nulo ${CI_COMMIT_BRANCH}"
|
||||
- "git push nulo ${CI_COMMIT_BRANCH}"
|
||||
- "git show HEAD | grep -q failed/ ; test $? -ne 0"
|
||||
secrets:
|
||||
- HTTP_BASIC_USER
|
||||
- HTTP_BASIC_PASSWORD
|
||||
- SSH_KEY
|
||||
- "HTTP_BASIC_USER"
|
||||
- "HTTP_BASIC_PASSWORD"
|
||||
- "SSH_KEY"
|
||||
- "TEA"
|
||||
when:
|
||||
branch: antifascista
|
||||
event: push
|
||||
|
||||
branch: "antifascista"
|
||||
event: "push"
|
||||
matrix:
|
||||
include:
|
||||
- ALPINE_VERSION: 3.17.0
|
||||
RUBY_VERSION: 3.1
|
||||
RUBY_PATCH: 2
|
||||
- ALPINE_VERSION: 3.16.3
|
||||
RUBY_VERSION: 3.1
|
||||
RUBY_PATCH: 2
|
||||
- ALPINE_VERSION: 3.14.8
|
||||
RUBY_VERSION: 2.7
|
||||
RUBY_PATCH: 6
|
||||
- ALPINE_VERSION: "3.17.1"
|
||||
RUBY_VERSION: "3.1"
|
||||
RUBY_PATCH: "3"
|
||||
- ALPINE_VERSION: "3.14.8"
|
||||
RUBY_VERSION: "2.7"
|
||||
RUBY_PATCH: "7"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
GEM_COMPILER_FLAGS="--include-shared-dir=ext/sass/sass_embedded/"
|
Loading…
Reference in a new issue