Compare commits

...

8 commits

Author SHA1 Message Date
f
2acef00d6b Merge branch 'antifascista' of ssh://nulo.in:420/Sutty/gems into antifascista
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-04 13:32:13 -03:00
f
8785002ba7 feat(sass-embedded): include binaries 2023-02-04 13:30:55 -03:00
f
e6fac86fe4 feat: create issues with tea 2023-02-04 13:30:43 -03:00
f
230a020c99 refactor: reorder tasks, use quotes 2023-02-04 13:30:13 -03:00
f
7dec608498 feat: upgrade ruby 2023-02-04 13:29:31 -03:00
f
bfa5446a6c BREAKING CHANGE: deprecate alpine 3.16 2023-02-04 11:44:05 -03:00
f
90ec70dc35 feat: upgrade to 3.17.1 2023-02-04 11:43:56 -03:00
f
caef965975 fix: don't fail the ci when no package failed 2023-02-04 11:43:08 -03:00
2 changed files with 30 additions and 32 deletions

View file

@ -1,40 +1,37 @@
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:
- git checkout -B ${CI_COMMIT_BRANCH} - "mkdir -p ~/.config/tea"
- bulk-compiler || true - "echo -e \"$${TEA}\" > ~/.config/tea/config.yml"
- git add built/ || true - "apk add --no-cache openssh-client"
- git add failed/ || true - "mkdir ~/.ssh/"
- git config user.name Woodpecker - "echo \"[nulo.in]:420 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgHIbf5/jkeyLMndnWlEO12DPj41YPqkmz+aIreVOsP\" >> ~/.ssh/known_hosts"
- git config user.email ci@nulo.in - "eval $(ssh-agent -s)"
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/gems.git - "echo \"$${SSH_KEY}\" | tr -d \"\\r\" | ssh-add -"
- git commit -m "[skip ci] built gems" || true - "git config user.name Woodpecker"
- apk add --no-cache openssh-client - "git config user.email ci@nulo.in"
- mkdir ~/.ssh/ - "git remote add nulo ssh://_gitea@gitea.nulo.in:420/Sutty/gems.git"
- echo '[nulo.in]:420 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgHIbf5/jkeyLMndnWlEO12DPj41YPqkmz+aIreVOsP' >> ~/.ssh/known_hosts - "git checkout -B ${CI_COMMIT_BRANCH}"
- eval $(ssh-agent -s) - "bulk-compiler || true"
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add - - "git add built/ failed/ && git commit -m \"[skip ci] built gems\" ; true"
- 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/ || false - "git show HEAD | grep -q failed/ ; test $? -ne 0"
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.0 - ALPINE_VERSION: "3.17.1"
RUBY_VERSION: 3.1 RUBY_VERSION: "3.1"
RUBY_PATCH: 2 RUBY_PATCH: "3"
- ALPINE_VERSION: 3.16.3 - ALPINE_VERSION: "3.14.8"
RUBY_VERSION: 3.1 RUBY_VERSION: "2.7"
RUBY_PATCH: 2 RUBY_PATCH: "7"
- ALPINE_VERSION: 3.14.8
RUBY_VERSION: 2.7
RUBY_PATCH: 6

View file

@ -0,0 +1 @@
GEM_COMPILER_FLAGS="--include-shared-dir=ext/sass/sass_embedded/"