summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile27
-rw-r--r--Gemfile.lock126
-rw-r--r--screwdriver.yaml42
3 files changed, 185 insertions, 10 deletions
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 00000000000..8ac0d4aed53
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,27 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+ruby '>=3.1'
+
+source "https://rubygems.org"
+
+# Hello! This is where you manage which Jekyll version is used to run.
+# When you want to use a different version, change it below, save the
+# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
+#
+# bundle exec jekyll serve
+#
+gem "jekyll", "~> 3.9.0"
+
+# This is the default theme for new Jekyll sites. You may change this to anything you like.
+gem "minima", "~> 2.0"
+
+# kramdown v2 ships without the gfm parser by default. If you're using
+# kramdown v1, comment out this line.
+gem "kramdown-parser-gfm"
+
+# Work-around for webrick no longer included in Ruby 3.0 (https://github.com/jekyll/jekyll/issues/8523)
+gem "webrick"
+
+# Get the html-proofer to work
+gem 'rake'
+gem 'html-proofer'
+
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 00000000000..a0679b6ca57
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,126 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ Ascii85 (1.1.0)
+ addressable (2.8.5)
+ public_suffix (>= 2.0.2, < 6.0)
+ afm (0.2.2)
+ async (2.6.4)
+ console (~> 1.10)
+ fiber-annotation
+ io-event (~> 1.1)
+ timers (~> 4.1)
+ colorator (1.1.0)
+ concurrent-ruby (1.2.2)
+ console (1.23.2)
+ fiber-annotation
+ fiber-local
+ em-websocket (0.5.3)
+ eventmachine (>= 0.12.9)
+ http_parser.rb (~> 0)
+ ethon (0.16.0)
+ ffi (>= 1.15.0)
+ eventmachine (1.2.7)
+ ffi (1.15.5)
+ fiber-annotation (0.2.0)
+ fiber-local (1.0.0)
+ forwardable-extended (2.6.0)
+ hashery (2.1.2)
+ html-proofer (5.0.8)
+ addressable (~> 2.3)
+ async (~> 2.1)
+ nokogiri (~> 1.13)
+ pdf-reader (~> 2.11)
+ rainbow (~> 3.0)
+ typhoeus (~> 1.3)
+ yell (~> 2.0)
+ zeitwerk (~> 2.5)
+ http_parser.rb (0.8.0)
+ i18n (1.14.1)
+ concurrent-ruby (~> 1.0)
+ io-event (1.3.2)
+ jekyll (3.9.3)
+ addressable (~> 2.4)
+ colorator (~> 1.0)
+ em-websocket (~> 0.5)
+ i18n (>= 0.7, < 2)
+ jekyll-sass-converter (~> 1.0)
+ jekyll-watch (~> 2.0)
+ kramdown (>= 1.17, < 3)
+ liquid (~> 4.0)
+ mercenary (~> 0.3.3)
+ pathutil (~> 0.9)
+ rouge (>= 1.7, < 4)
+ safe_yaml (~> 1.0)
+ jekyll-feed (0.17.0)
+ jekyll (>= 3.7, < 5.0)
+ jekyll-sass-converter (1.5.2)
+ sass (~> 3.4)
+ jekyll-seo-tag (2.8.0)
+ jekyll (>= 3.8, < 5.0)
+ jekyll-watch (2.2.1)
+ listen (~> 3.0)
+ kramdown (2.4.0)
+ rexml
+ kramdown-parser-gfm (1.1.0)
+ kramdown (~> 2.0)
+ liquid (4.0.4)
+ listen (3.8.0)
+ rb-fsevent (~> 0.10, >= 0.10.3)
+ rb-inotify (~> 0.9, >= 0.9.10)
+ mercenary (0.3.6)
+ minima (2.5.1)
+ jekyll (>= 3.5, < 5.0)
+ jekyll-feed (~> 0.9)
+ jekyll-seo-tag (~> 2.1)
+ nokogiri (1.15.4-x86_64-linux)
+ racc (~> 1.4)
+ pathutil (0.16.2)
+ forwardable-extended (~> 2.6)
+ pdf-reader (2.11.0)
+ Ascii85 (~> 1.0)
+ afm (~> 0.2.1)
+ hashery (~> 2.0)
+ ruby-rc4
+ ttfunk
+ public_suffix (5.0.3)
+ racc (1.7.1)
+ rainbow (3.1.1)
+ rake (13.0.6)
+ rb-fsevent (0.11.2)
+ rb-inotify (0.10.1)
+ ffi (~> 1.0)
+ rexml (3.2.6)
+ rouge (3.30.0)
+ ruby-rc4 (0.1.5)
+ safe_yaml (1.0.5)
+ sass (3.7.4)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ timers (4.3.5)
+ ttfunk (1.7.0)
+ typhoeus (1.4.0)
+ ethon (>= 0.9.0)
+ webrick (1.8.1)
+ yell (2.2.2)
+ zeitwerk (2.6.11)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ html-proofer
+ jekyll (~> 3.9.0)
+ kramdown-parser-gfm
+ minima (~> 2.0)
+ rake
+ webrick
+
+RUBY VERSION
+ ruby 3.1.4p223
+
+BUNDLED WITH
+ 2.4.19
+
diff --git a/screwdriver.yaml b/screwdriver.yaml
index a118f7ba622..801c32bb5b2 100644
--- a/screwdriver.yaml
+++ b/screwdriver.yaml
@@ -1,9 +1,9 @@
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
---
cache:
- job:
- build-vespa: [/main_job_cache]
- component-build: [/main_job_cache]
+ job:
+ build-vespa: [/main_job_cache]
+ component-build: [/main_job_cache]
shared:
image: vespaengine/vespa-build-centos-stream8:latest
@@ -240,7 +240,7 @@ jobs:
- SVC_OKTA_VESPA_FACTORY_TOKEN
environment:
- GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
+ GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
steps:
- get-vespa-version: |
@@ -435,12 +435,9 @@ jobs:
- install-dependencies: |
export HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_ANALYTICS=1
brew install --quiet gh zip go
- - publish-github:
- make -C client/go clean dist-github
- - publish-homebrew:
- make -C client/go clean dist-homebrew
- - verify-brew-install:
- make -C client/go install-brew
+ - publish-github: make -C client/go clean dist-github
+ - publish-homebrew: make -C client/go clean dist-homebrew
+ - verify-brew-install: make -C client/go install-brew
verify-opensource-release-7days:
annotations:
@@ -511,3 +508,28 @@ jobs:
steps:
- cleanup: |
screwdriver/delete-old-artifactory-artifacts.sh
+
+ link-check:
+ image: ruby:3.1
+ annotations:
+ screwdriver.cd/buildPeriodically: H H(0-5) * * 1-5 # some time between 12:00 AM UTC (midnight) to 5:59 AM UTC Mon-Fri
+ steps:
+ - install: |
+ gem update --system 3.3.3
+ gem install bundler
+ export LANG=C.UTF-8
+ bundle install
+ - add-front-matter-for-processing: |
+ find . -not -path './_site/*' -name \*.md | \
+ while read f; do (echo -e "---\nrender_with_liquid: false\n---\n"; cat ${f})>${f}.new; mv ${f}.new ${f}; done
+ - build-site: |
+ bundle exec jekyll build
+ - ignore-files: |
+ rm -rf _site/airlift-zstd
+ - check-links: |
+ bundle exec htmlproofer \
+ --assume-extension --check-html --check-external-hash --no-enforce-http \
+ --typhoeus '{"connecttimeout": 10, "timeout": 30, "followlocation": false}' \
+ --hydra '{"max_concurrency": 1}' \
+ --swap-urls '(.*).md:\1.html' \
+ _site