2020-01-20 19:32:20 +03:00
|
|
|
os: linux
|
|
|
|
dist: bionic
|
2022-01-18 15:55:58 +03:00
|
|
|
language: ruby
|
|
|
|
rvm: 2.7.0
|
2020-01-20 19:32:20 +03:00
|
|
|
|
2022-01-18 15:55:58 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcurl4-openssl-dev # to avoid SSL error (for htmlproofer)
|
|
|
|
|
|
|
|
# Overriding to drop the `--development` flag which requires the Gemfile.lock at build
|
|
|
|
install: bundle install --jobs=3 --retry=3 --path=vendor/bundle
|
2021-08-10 14:47:14 +03:00
|
|
|
|
2022-01-19 12:22:29 +03:00
|
|
|
before_script: git -C "$HOME" clone "$BUILDER_REPO" --depth=1 -q
|
|
|
|
|
2021-02-03 22:15:20 +03:00
|
|
|
jobs:
|
|
|
|
include:
|
2022-01-19 12:22:29 +03:00
|
|
|
- stage: Upgrade
|
2022-10-07 10:37:48 +03:00
|
|
|
cache: bundler
|
2021-02-03 22:15:20 +03:00
|
|
|
git:
|
2022-01-07 20:33:16 +03:00
|
|
|
depth: false # for posts' lastmod
|
2022-01-18 15:55:58 +03:00
|
|
|
script: eval "$BUILD_CMD"
|
2022-10-07 10:37:48 +03:00
|
|
|
|
2022-01-19 12:22:29 +03:00
|
|
|
- stage: Starter
|
|
|
|
language: minimal
|
2022-01-18 15:55:58 +03:00
|
|
|
install: true # skip install step
|
2021-08-10 14:47:14 +03:00
|
|
|
script: eval "$FLUSH_STARTER"
|
2022-10-07 10:37:48 +03:00
|
|
|
|
2022-01-19 12:22:29 +03:00
|
|
|
- stage: Docs
|
2022-01-18 15:55:58 +03:00
|
|
|
cache: bundler
|
|
|
|
git:
|
|
|
|
depth: false # for posts' lastmod
|
|
|
|
script: eval "$DOCS_CMD"
|
2021-02-03 22:15:20 +03:00
|
|
|
|
2022-01-18 15:55:58 +03:00
|
|
|
stages:
|
2022-01-19 12:22:29 +03:00
|
|
|
- name: Upgrade
|
2022-04-17 12:02:32 +03:00
|
|
|
if: branch = production
|
2022-01-19 12:22:29 +03:00
|
|
|
- name: Starter
|
2022-04-17 12:02:32 +03:00
|
|
|
if: branch = production
|
2022-01-19 12:22:29 +03:00
|
|
|
- name: Docs
|
2022-01-18 15:55:58 +03:00
|
|
|
if: branch = docs
|
2019-09-30 15:38:10 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
2020-01-20 19:32:20 +03:00
|
|
|
- secure: "fFLqX7uOzFA8RE2AUFlU1mmxMw+rdV6DnODJ/1Gl+3ecNtrv5LeH3c5a4a5ShQqYTrx9BPfD40VRN7UB+lzOdXiWLI9yDGRPPxGG26/WfrKpdQPZilc8zAOEeDnLAJeGZLsUvgmNb3KCXW6S8NPqqh34CfWcTIzjCARhRgO33wcs8X5wP5cugtNqO5Ew/pUcfWcmiuXNX0GNT6l+nL5A7yN+IO5mRHqSRmlfYd5EHhGMTIL4La+Cd1CNv1m4Dl0Ah2cDeJwi5wLnVbqAgunLhAYmDtxIOCVYMTBrP37UiNe/7QeFelyJfODsmMg1mx3WCykbXydC753WVoAlTg6nNoeeI9fmK+/tuLK+sx/KnYfTVGBXQYq39DyV/2o/IfCzEAKImlzFKGD8R13+ddu4B5UML+cby5KBvhTKIGaC5tKoe39z/31UPpy11/EHMCof2BUOzIgu5Hsv4OSNJlw3oRE31oOPn8xP4e7uWR8bRUhAgzN0Cn0ht+UfpemfGAXrp0M3IXQdc9L4azEFqxRhivMTLK/P6INay7IM+DJ30Ht2dWylGw/sxcRTqyNm3YomJQnXIO4xeqTSLulWr80FFHTys3JEDJYrcKvJmpwLFEAOZtwKsZ6ZShrOIA4LE5fgQtakH3ZLJG9a7jVSlMcNIfaSKgjdDQOe6CoRQL7KouA="
|
2019-09-30 15:38:10 +03:00
|
|
|
on_success: never
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2020-09-16 21:25:57 +03:00
|
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|