Compare commits

..

15 Commits

Author SHA1 Message Date
810740283d
.gitlab-ci.yml: also install g++ 2023-05-22 21:12:07 +03:00
572f097048
.gitlab-ci.yml: install musl-dev 2023-05-22 21:06:48 +03:00
752efe1a5a
.gitlab-ci.yml: install gcc 2023-05-22 20:57:30 +03:00
c68f65f416
bundle update 2023-05-22 20:51:20 +03:00
c98795f48e
.gitlab-ci.yml: install make 2023-05-22 20:50:06 +03:00
95be1b9ded
.gitlab-ci.yml: install ruby-dev for build 2023-05-22 20:38:27 +03:00
e15d498d24
.gitlab-ci.yml: it's apk add, not apk install 2023-05-22 20:33:41 +03:00
cbba4579af
.gitlab-cli.yml: repeat ruby ruby-bundler 2023-05-22 20:23:21 +03:00
e2b0f9bcf4
.gitlab-ci.yml: try nodejs-current instead of nodejs
https://pkgs.alpinelinux.org/contents?file=node&path=&name=&branch=v3.18 claims both exist, but GitLab disagrees
2023-05-22 20:17:18 +03:00
476664ace5
.gitlab-ci.yml: add node and npm to the install list 2023-05-22 20:10:19 +03:00
a06a3c6359
.gitlab-ci.yml: install python3-dev for Python.h 2023-05-22 20:05:10 +03:00
bea74bde35
.gitlab-ci.yml: install wheel 2023-05-22 19:55:30 +03:00
9fc53e2cd8
.gitlab-ci.yml: switch to alpine:latest, manually specify packages 2023-05-22 19:50:53 +03:00
b5db3e3b4f
.gitlab-ci.yml: install bash instead of go 2023-05-22 19:21:00 +03:00
51f5cab76c
.gitlab-ci.yml: attempt to import pre-commit 2023-05-22 19:14:58 +03:00
3 changed files with 21 additions and 5 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@ _site
*~
keys.txt.asc
.bundle
.cache/**
.jekyll-cache
.jekyll-metadata
vendor/

View File

@ -1,12 +1,17 @@
# from https://gitlab.com/pages/jekyll/-/blob/master/.gitlab-ci.yml
image: ruby:latest
image: alpine:latest
variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8
LC_ALL: en_US.utf8
TERM: dumb
cache:
paths:
- ${PRE_COMMIT_HOME}
- ${CI_PROJECT_DIR}/bundle
before_script:
- gem install bundler
- apk add --no-cache ruby ruby-dev ruby-bundler make gcc g++ musl-dev
- bundle install
test:
@ -28,3 +33,13 @@ pages:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
gitlab-ci-pre-commit:
stage: build
before_script:
- apk add --no-cache python3 python3-dev py3-pip py3-wheel git gcc musl-dev bash nodejs-current npm ruby ruby-bundler
- pip install pre-commit
script:
- pre-commit run --all-files --show-diff-on-failure
variables:
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit

2
Gemfile.lock generated
View File

@ -210,7 +210,7 @@ GEM
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.18.0)
nokogiri (1.14.3-x86_64-linux)
nokogiri (1.15.1-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)