Skip to content

Commit

Permalink
site: delete main site files (#3987)
Browse files Browse the repository at this point in the history
  • Loading branch information
z9r5 committed Dec 5, 2021
1 parent 97b5274 commit 2f2d271
Show file tree
Hide file tree
Showing 320 changed files with 265 additions and 40,467 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/docs_tests.yml
Expand Up @@ -48,26 +48,22 @@ jobs:
- name: Prepare
run: |
cd docs
mkdir -m 777 documentation/.jekyll-cache site/.jekyll-cache _site
mkdir -m 777 documentation/.jekyll-cache documentation/_site
cd documentation
gem update bundler
bundle install
- name: Build (ru)
if: matrix.lang == 'ru'
run: |
cd docs/site
bundle exec jekyll build -d ../_site/ --config _config.yml,_config_ru.yml
cd ../documentation
bundle exec jekyll build -d ../_site/documentation --config _config.yml,_config_ru.yml
cd docs/documentation
bundle exec jekyll build -d _site --config _config.yml,_config_ru.yml
- name: Build (en)
if: matrix.lang == 'en'
run: |
cd docs/site
bundle exec jekyll build -d ../_site/ --config _config.yml
cd ../documentation
bundle exec jekyll build -d ../_site/documentation --config _config.yml
cd docs/documentation
bundle exec jekyll build -d _site --config _config.yml
- name: Check links
run: |
Expand All @@ -79,4 +75,4 @@ jobs:
--url_ignore "/localhost/,/example.com/,/atseashop.com/,/https\:\/\/t.me/,/.slack.com/,/habr.com/,/cncf.io/,/\/guides/,/\/introduction\.html/,/\/installation\.html/,/werf_yaml.html#configuring-cleanup-policies/" \
--url_swap "documentation/v[0-9]+[^/]+/:documentation/" \
--http-status-ignore 0 \
../_site/
_site
48 changes: 0 additions & 48 deletions .github/workflows/website_converge.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/website_converge_test.yml
Expand Up @@ -36,32 +36,3 @@ jobs:
WERF_LOG_VERBOSE: "on"
WERF_KUBE_CONTEXT: dev
WERF_SET_GITHUB_REF: "global.github_ref=v1.2.3-dev"

converge_test_site:
name: Converge site to Test
if: github.event.label.name == 'test docs' || contains( github.event.pull_request.labels.*.name, 'test docs' )
runs-on: tfprod-werf
steps:

- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set version name
id: value_set
run: |
echo "Version=$( echo $GITHUB_REF | cut -d\/ -f 3 | sed 's/\+/-plus-/' | sed 's/\_/-u-/')" >> $GITHUB_ENV
- name: Converge
uses: werf/actions/converge@v1.2
with:
env: test
env:
WERF_RELEASE: "werfio-site-test"
WERF_NAMESPACE: "werfio-test"
WERF_DIR: "docs/site"
WERF_LOOSE_GITERMINISM: true
WERF_LOG_VERBOSE: "on"
WERF_KUBE_CONTEXT: dev
WERF_SET_GITHUB_REF: "global.github_ref=v1.2.3-dev"
30 changes: 2 additions & 28 deletions .github/workflows/website_review.yml
Expand Up @@ -20,33 +20,7 @@ jobs:
with:
fetch-depth: 0

- name: Print review URL
env:
ENV_URL: "review-${{ github.event.number }}.werf.dev.flant.com"
- name: Message
run: |
echo "https://${ENV_URL}"
echo "https://ru.${ENV_URL}"
- name: Converge documentation to Review
uses: werf/actions/converge@v1.2
with:
env: review-${{ github.event.number }}
env:
WERF_DIR: "docs/documentation"
WERF_RELEASE: "werfio-documentation"
WERF_LOG_VERBOSE: "on"
WERF_KUBE_CONTEXT: dev
WERF_SET_GITHUB_REF: "global.github_ref=v1.2.3-dev"

- name: Converge site to Review
uses: werf/actions/converge@v1.2
with:
env: review-${{ github.event.number }}
env:
WERF_RELEASE: "werfio-site"
WERF_LOOSE_GITERMINISM: true
WERF_DIR: "docs/site"
WERF_LOG_VERBOSE: "on"
WERF_KUBE_CONTEXT: dev
WERF_SET_GITHUB_REF: "global.github_ref=v1.2.3-dev"
echo "Temporarily disabled"
16 changes: 3 additions & 13 deletions .github/workflows/website_review_dismiss.yml
Expand Up @@ -20,16 +20,6 @@ jobs:
with:
fetch-depth: 0

- name: Dismiss
uses: werf/actions/dismiss@v1.2
continue-on-error: true
with:
env: review-${{ github.event.number }}
env:
WERF_RELEASE: "werfio-site"
WERF_LOOSE_GITERMINISM: true
WERF_DIR: "docs/site"
WERF_LOG_VERBOSE: "on"
WERF_KUBE_CONTEXT: dev
WERF_SET_GITHUB_REF: "global.github_ref=v1.2.3-dev"
WERF_WITH_NAMESPACE: true
- name: Message
run: |
echo "Temporarily disabled"
1 change: 0 additions & 1 deletion docs/documentation/Gemfile

This file was deleted.

10 changes: 10 additions & 0 deletions docs/documentation/Gemfile
@@ -0,0 +1,10 @@
source "https://rubygems.org"

gem "jekyll-assets"
gem "jekyll"
gem "html-proofer"
gem "kramdown-parser-gfm"

gem "sprockets", "~> 3.7"
gem "nokogiri", ">= 1.12.5"
gem "kramdown", ">= 2.3.0"
1 change: 0 additions & 1 deletion docs/documentation/Gemfile.lock

This file was deleted.

135 changes: 135 additions & 0 deletions docs/documentation/Gemfile.lock
@@ -0,0 +1,135 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.8)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.14.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
eventmachine (1.2.7-x64-mingw32)
execjs (2.8.1)
extras (0.3.0)
forwardable-extended (~> 2.5)
fastimage (2.2.3)
ffi (1.15.0)
ffi (1.15.0-x64-mingw32)
forwardable-extended (2.6.0)
html-proofer (3.19.1)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogumbo (~> 2.0)
parallel (~> 1.3)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.9.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
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-assets (3.0.12)
activesupport (~> 5.0)
execjs (~> 2.7)
extras (~> 0.2)
fastimage (~> 2.0, >= 1.8)
jekyll (>= 3.5, < 4.0)
jekyll-sanity (~> 1.2)
liquid-tag-parser (~> 1.0)
nokogiri (~> 1.8)
pathutil (~> 0.16)
sprockets (>= 3.3, < 4.1.beta)
jekyll-sanity (1.6.0)
jekyll (>= 3.1, < 5.0)
pathutil (~> 0.16)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
liquid-tag-parser (1.9.0)
extras (~> 0.3)
liquid (>= 3.0, < 5.0)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.6.1)
minitest (5.14.4)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.12.5-x64-mingw32)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-darwin)
racc (~> 1.4)
nokogumbo (2.0.5)
nokogiri (~> 1.8, >= 1.8.4)
parallel (1.20.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
racc (1.6.0)
rack (2.2.3)
rainbow (3.0.0)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
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)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.9)
thread_safe (~> 0.1)
yell (2.2.2)

PLATFORMS
ruby
x64-mingw32
x86_64-darwin-18

DEPENDENCIES
html-proofer
jekyll
jekyll-assets
kramdown (>= 2.3.0)
kramdown-parser-gfm
nokogiri (>= 1.12.5)
sprockets (~> 3.7)

BUNDLED WITH
2.2.15
1 change: 0 additions & 1 deletion docs/documentation/_config.yml

This file was deleted.

0 comments on commit 2f2d271

Please sign in to comment.