From 386c46e35a300aa9c9de13ff5a9e9fc39d58e2a4 Mon Sep 17 00:00:00 2001 From: chapeau Date: Tue, 11 Jun 2024 12:38:31 +0200 Subject: [PATCH] Add CI --- .gitignore | 1 - .woodpecker.yml | 21 +++++++ Gemfile.lock | 143 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 .woodpecker.yml create mode 100644 Gemfile.lock diff --git a/.gitignore b/.gitignore index 736d740..3d56b82 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ .jekyll-cache .sass-cache _site -Gemfile.lock diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..71c7bfa --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,21 @@ +pipeline: + build: + image: debian:bookworm + secrets: [ token, mail ] + commands: + - apt update + - apt install -y ruby-full build-essential git + - gem install bundler --verbose + - git config --global --add safe.directory '*' + - git config --global user.email "$MAIL" + - git config --global user.name "CI Builder" + - git clone https://git.chapoline.me/chapeau/blog-static.git _site + # - chmod -R a+w . + - cd _site + - git remote set-url origin https://$TOKEN@git.chapoline.me/chapeau/blog-static.git + - cd .. + - bundle install --retry 4 + - bundle exec jekyll build + - git add --all + - git commit -m "Build" + - git push \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..db7af80 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,143 @@ +PATH + remote: . + specs: + blog-theme (0.1.0) + jekyll (~> 4.3) + jekyll-feed (~> 0.15.0) + rouge (~> 3.23.0) + webrick (~> 1.7) + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + colorator (1.1.0) + concurrent-ruby (1.3.3) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.17.0) + ffi (1.17.0-aarch64-linux-gnu) + ffi (1.17.0-aarch64-linux-musl) + ffi (1.17.0-arm-linux-gnu) + ffi (1.17.0-arm-linux-musl) + ffi (1.17.0-arm64-darwin) + ffi (1.17.0-x86-linux-gnu) + ffi (1.17.0-x86-linux-musl) + ffi (1.17.0-x86_64-darwin) + ffi (1.17.0-x86_64-linux-gnu) + ffi (1.17.0-x86_64-linux-musl) + forwardable-extended (2.6.0) + google-protobuf (3.25.3) + google-protobuf (3.25.3-aarch64-linux) + google-protobuf (3.25.3-arm64-darwin) + google-protobuf (3.25.3-x86-linux) + google-protobuf (3.25.3-x86_64-darwin) + google-protobuf (3.25.3-x86_64-linux) + http_parser.rb (0.8.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + jekyll (4.3.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-feed (0.15.1) + jekyll (>= 3.7, < 5.0) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-watch (2.2.1) + listen (~> 3.0) + json (2.7.2) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.5) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rexml (3.2.9) + strscan + rouge (3.23.0) + safe_yaml (1.0.5) + sass-embedded (1.69.5-aarch64-linux-android) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-aarch64-linux-gnu) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-aarch64-linux-musl) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-arm-linux-androideabi) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-arm-linux-gnueabihf) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-arm-linux-musleabihf) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-arm64-darwin) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86-linux-android) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86-linux-gnu) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86-linux-musl) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86_64-darwin) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86_64-linux-android) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86_64-linux-gnu) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86_64-linux-musl) + google-protobuf (~> 3.23) + strscan (3.1.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) + webrick (1.8.1) + +PLATFORMS + aarch64-linux + aarch64-linux-android + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-androideabi + arm-linux-gnu + arm-linux-gnueabihf + arm-linux-musl + arm-linux-musleabihf + arm64-darwin + x86-linux + x86-linux-android + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux-android + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + blog-theme! + json (~> 2.7) + +BUNDLED WITH + 2.5.11