Compare commits
No commits in common. "2acef00d6b6b18057ed89d7921845c3171e6fc91" and "a357a799738a998aac976231e82ad9478e82bbf6" have entirely different histories.
2acef00d6b
...
a357a79973
2 changed files with 32 additions and 30 deletions
|
@ -1,37 +1,40 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
publish:
|
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
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- "mkdir -p ~/.config/tea"
|
- git checkout -B ${CI_COMMIT_BRANCH}
|
||||||
- "echo -e \"$${TEA}\" > ~/.config/tea/config.yml"
|
- bulk-compiler || true
|
||||||
- "apk add --no-cache openssh-client"
|
- git add built/ || true
|
||||||
- "mkdir ~/.ssh/"
|
- git add failed/ || true
|
||||||
- "echo \"[nulo.in]:420 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgHIbf5/jkeyLMndnWlEO12DPj41YPqkmz+aIreVOsP\" >> ~/.ssh/known_hosts"
|
- git config user.name Woodpecker
|
||||||
- "eval $(ssh-agent -s)"
|
- git config user.email ci@nulo.in
|
||||||
- "echo \"$${SSH_KEY}\" | tr -d \"\\r\" | ssh-add -"
|
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/gems.git
|
||||||
- "git config user.name Woodpecker"
|
- git commit -m "[skip ci] built gems" || true
|
||||||
- "git config user.email ci@nulo.in"
|
- apk add --no-cache openssh-client
|
||||||
- "git remote add nulo ssh://_gitea@gitea.nulo.in:420/Sutty/gems.git"
|
- mkdir ~/.ssh/
|
||||||
- "git checkout -B ${CI_COMMIT_BRANCH}"
|
- echo '[nulo.in]:420 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgHIbf5/jkeyLMndnWlEO12DPj41YPqkmz+aIreVOsP' >> ~/.ssh/known_hosts
|
||||||
- "bulk-compiler || true"
|
- eval $(ssh-agent -s)
|
||||||
- "git add built/ failed/ && git commit -m \"[skip ci] built gems\" ; true"
|
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
|
||||||
- "git pull --rebase nulo ${CI_COMMIT_BRANCH}"
|
- git pull --rebase nulo ${CI_COMMIT_BRANCH}
|
||||||
- "git push nulo ${CI_COMMIT_BRANCH}"
|
- git push nulo ${CI_COMMIT_BRANCH}
|
||||||
- "git show HEAD | grep -q failed/ ; test $? -ne 0"
|
- git show HEAD | grep -q failed/ || false
|
||||||
secrets:
|
secrets:
|
||||||
- "HTTP_BASIC_USER"
|
- HTTP_BASIC_USER
|
||||||
- "HTTP_BASIC_PASSWORD"
|
- HTTP_BASIC_PASSWORD
|
||||||
- "SSH_KEY"
|
- SSH_KEY
|
||||||
- "TEA"
|
|
||||||
when:
|
when:
|
||||||
branch: "antifascista"
|
branch: antifascista
|
||||||
event: "push"
|
event: push
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- ALPINE_VERSION: "3.17.1"
|
- ALPINE_VERSION: 3.17.0
|
||||||
RUBY_VERSION: "3.1"
|
RUBY_VERSION: 3.1
|
||||||
RUBY_PATCH: "3"
|
RUBY_PATCH: 2
|
||||||
- ALPINE_VERSION: "3.14.8"
|
- ALPINE_VERSION: 3.16.3
|
||||||
RUBY_VERSION: "2.7"
|
RUBY_VERSION: 3.1
|
||||||
RUBY_PATCH: "7"
|
RUBY_PATCH: 2
|
||||||
|
- ALPINE_VERSION: 3.14.8
|
||||||
|
RUBY_VERSION: 2.7
|
||||||
|
RUBY_PATCH: 6
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
GEM_COMPILER_FLAGS="--include-shared-dir=ext/sass/sass_embedded/"
|
|
Loading…
Reference in a new issue