Skip to content

Commit f6e1bea

Browse files
committed
Add GitLab CI build items
1 parent a169a71 commit f6e1bea

File tree

3 files changed

+182
-150
lines changed

3 files changed

+182
-150
lines changed

.gitlab-ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
image: ruby:2.6
3+
4+
variables:
5+
JEKYLL_ENV: production
6+
LC_ALL: C.UTF-8
7+
8+
before_script:
9+
- gem install bundler
10+
- bundle install
11+
12+
test:
13+
stage: test
14+
script:
15+
- bundle exec jekyll build -d test
16+
artifacts:
17+
paths:
18+
- test
19+
except:
20+
- master
21+
22+
pages:
23+
stage: deploy
24+
script:
25+
- bundle exec jekyll build -d public
26+
artifacts:
27+
paths:
28+
- public
29+
only:
30+
- master
31+

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins

_config.yml

+149-150
Original file line numberDiff line numberDiff line change
@@ -1,150 +1,149 @@
1-
# (string) Title of your wiki
2-
title: "Richard Gibert"
3-
# (string) Description of your wiki
4-
description: "devops, big data, hadoop, containers, kubernetes"
5-
# (boolean) Enable/disable wiki page list in sidebar
6-
show_wiki_pages: true
7-
# (integer) Maximum number of wiki page to shown in sidebar
8-
show_wiki_pages_limit: 0
9-
# (boolean) Enable/disable blog feature
10-
blog_feature: true
11-
# (boolean) Enable/disable wiki posts list in sidebar (needs blog_feature enabled)
12-
show_wiki_posts: true
13-
# (integer) Maximum number of wiki posts to shown in sidebar
14-
show_wiki_posts_limit: 10
15-
# from jekyll (read jekyll doc)
16-
paginate: 5
17-
paginate_path: "assets/blog/page:num"
18-
permalink: /blog/posts/:year/:month/:day/:title:output_ext
19-
# (boolean) Enable/disable download buttons in sidebar
20-
show_downloads: false
21-
# (string) Specify branch rendered by gitpages allowing wiki tool buttons to work
22-
git_branch: "master"
23-
# (string) Url of logo image, it can be full, absolute or relative.
24-
logo_url: assets/images/avatar.png
25-
# (string) The UA-XXXXX-Y code from google analytic to enable GA on your wiki
26-
google_analytics:
27-
# (string) folder where wiki pages are stored, it's needed for tool buttons
28-
wiki_folder: "wiki"
29-
# (boolean) if you're using github wiki as submodule then this config
30-
# must be enabled to allow tool buttons to work properly
31-
use_github_wiki: false
32-
# (boolean) Enable "Edit with Prose.io" button in tools, it's a 3rd party
33-
# service to edit github markdown pages easily
34-
use_prose_io: false
35-
# Select search_engine component from:
36-
# - js: it uses a built in javascript component that uses generated js object
37-
# - js_rss: it uses a built in javascript component that uses generated sitemap_full.xml to search inside your wiki with lunr library (slow and experimental)
38-
# - github : it uses internal github repository search
39-
# - google : it uses cse search bar, you need to configure google_cse_token
40-
#
41-
search_engine : "js"
42-
# Setting google custom search engine for google
43-
# cse search bar (https://cse.google.it/cse/)
44-
google_cse_token:
45-
46-
# (string) path of site root. Normally it's must be empty because _config.yml resides in the root of your repository.
47-
# If you have _config.yml and your site in a subfolder, then change this config accordly
48-
site_root:
49-
50-
#
51-
# Jekyll configurations
52-
#
53-
54-
# You can customize it changing default layout for all pages
55-
# More info: https://jekyllrb.com/docs/configuration/
56-
#
57-
# git-wiki includes some internal themes that you can choose
58-
# check _layouts folder
59-
#
60-
markdown: kramdown
61-
highlighter: rouge
62-
kramdown:
63-
input: GFM
64-
syntax_highlighter: rouge
65-
66-
defaults:
67-
-
68-
scope:
69-
path: ".well-known"
70-
values:
71-
layout: "plaintext"
72-
-
73-
scope:
74-
path: "wiki"
75-
values:
76-
permalink: /:basename
77-
-
78-
scope:
79-
path: "" # an empty string here means all files in the project
80-
values:
81-
layout: "git-wiki-default"
82-
-
83-
scope:
84-
path: ""
85-
type: "pages"
86-
values:
87-
layout: "git-wiki-default"
88-
-
89-
scope:
90-
path: ""
91-
type: "posts"
92-
values:
93-
layout: "git-wiki-post"
94-
-
95-
scope:
96-
path: assets/blog
97-
values:
98-
layout: "git-wiki-blog"
99-
sass:
100-
style: compressed
101-
plugins:
102-
- jekyll-avatar
103-
- jekyll-coffeescript
104-
- jekyll-default-layout
105-
- jekyll-feed
106-
- jekyll-gist
107-
- jekyll-paginate
108-
- jekyll-mentions
109-
- jekyll-optional-front-matter
110-
- jekyll-readme-index
111-
- jekyll-redirect-from
112-
- jekyll-remote-theme
113-
- jekyll-relative-links
114-
- jekyll-seo-tag
115-
- jekyll-sitemap
116-
- jekyll-titles-from-headings
117-
- jemoji
118-
119-
120-
#
121-
# INCLUDING HOOKS
122-
# They are optional, change them only if you need
123-
# Check wiki documentation to learn how they work
124-
#
125-
126-
inc_before_toc :
127-
inc_after_toc :
128-
inc_before_content :
129-
inc_after_content :
130-
inc_before_footer :
131-
inc_after_footer :
132-
inc_before_head :
133-
inc_after_head :
134-
inc_before_meta :
135-
inc_after_meta :
136-
inc_before_scripts :
137-
inc_after_scripts :
138-
inc_before_styles :
139-
inc_after_styles :
140-
inc_before_header :
141-
inc_after_header : "links.html"
142-
inc_before_tail :
143-
inc_after_tail :
144-
inc_before_tools :
145-
inc_after_tools :
146-
147-
inc_before_page_list :
148-
inc_after_page_list :
149-
inc_before_post_list :
150-
inc_after_post_list :
1+
# (string) Title of your wiki
2+
title: "Richard Gibert"
3+
# (string) Description of your wiki
4+
description: "devops, big data, hadoop, containers"
5+
# (boolean) Enable/disable wiki page list in sidebar
6+
show_wiki_pages: true
7+
# (integer) Maximum number of wiki page to shown in sidebar
8+
show_wiki_pages_limit: 0
9+
# (boolean) Enable/disable blog feature
10+
blog_feature: true
11+
# (boolean) Enable/disable wiki posts list in sidebar (needs blog_feature enabled)
12+
show_wiki_posts: true
13+
# (integer) Maximum number of wiki posts to shown in sidebar
14+
show_wiki_posts_limit: 10
15+
# from jekyll (read jekyll doc)
16+
paginate: 5
17+
paginate_path: "assets/blog/page:num"
18+
permalink: /blog/posts/:year/:month/:day/:title:output_ext
19+
# (boolean) Enable/disable download buttons in sidebar
20+
show_downloads: false
21+
# (string) Specify branch rendered by gitpages allowing wiki tool buttons to work
22+
git_branch: "master"
23+
# (string) Url of logo image, it can be full, absolute or relative.
24+
logo_url: assets/images/avatar.png
25+
# (string) The UA-XXXXX-Y code from google analytic to enable GA on your wiki
26+
google_analytics:
27+
# (string) folder where wiki pages are stored, it's needed for tool buttons
28+
wiki_folder: "wiki"
29+
# (boolean) if you're using github wiki as submodule then this config
30+
# must be enabled to allow tool buttons to work properly
31+
use_github_wiki: false
32+
# (boolean) Enable "Edit with Prose.io" button in tools, it's a 3rd party
33+
# service to edit github markdown pages easily
34+
use_prose_io: false
35+
# Select search_engine component from:
36+
# - js: it uses a built in javascript component that uses generated js object
37+
# - js_rss: it uses a built in javascript component that uses generated sitemap_full.xml to search inside your wiki with lunr library (slow and experimental)
38+
# - github : it uses internal github repository search
39+
# - google : it uses cse search bar, you need to configure google_cse_token
40+
#
41+
search_engine : "js"
42+
# Setting google custom search engine for google
43+
# cse search bar (https://cse.google.it/cse/)
44+
google_cse_token:
45+
46+
# (string) path of site root. Normally it's must be empty because _config.yml resides in the root of your repository.
47+
# If you have _config.yml and your site in a subfolder, then change this config accordly
48+
site_root:
49+
50+
#
51+
# Jekyll configurations
52+
#
53+
54+
# You can customize it changing default layout for all pages
55+
# More info: https://jekyllrb.com/docs/configuration/
56+
#
57+
# git-wiki includes some internal themes that you can choose
58+
# check _layouts folder
59+
#
60+
markdown: kramdown
61+
highlighter: rouge
62+
kramdown:
63+
input: GFM
64+
syntax_highlighter: rouge
65+
66+
defaults:
67+
-
68+
scope:
69+
path: ".well-known"
70+
values:
71+
layout: "plaintext"
72+
-
73+
scope:
74+
path: "wiki"
75+
values:
76+
permalink: /:basename
77+
-
78+
scope:
79+
path: "" # an empty string here means all files in the project
80+
values:
81+
layout: "git-wiki-default"
82+
-
83+
scope:
84+
path: ""
85+
type: "pages"
86+
values:
87+
layout: "git-wiki-default"
88+
-
89+
scope:
90+
path: ""
91+
type: "posts"
92+
values:
93+
layout: "git-wiki-post"
94+
-
95+
scope:
96+
path: assets/blog
97+
values:
98+
layout: "git-wiki-blog"
99+
sass:
100+
style: compressed
101+
plugins:
102+
- jekyll-avatar
103+
- jekyll-coffeescript
104+
- jekyll-default-layout
105+
- jekyll-feed
106+
- jekyll-gist
107+
- jekyll-paginate
108+
- jekyll-mentions
109+
- jekyll-optional-front-matter
110+
- jekyll-readme-index
111+
- jekyll-redirect-from
112+
- jekyll-remote-theme
113+
- jekyll-relative-links
114+
- jekyll-seo-tag
115+
- jekyll-sitemap
116+
- jekyll-titles-from-headings
117+
- jemoji
118+
119+
#
120+
# INCLUDING HOOKS
121+
# They are optional, change them only if you need
122+
# Check wiki documentation to learn how they work
123+
#
124+
125+
inc_before_toc :
126+
inc_after_toc :
127+
inc_before_content :
128+
inc_after_content :
129+
inc_before_footer :
130+
inc_after_footer :
131+
inc_before_head :
132+
inc_after_head :
133+
inc_before_meta :
134+
inc_after_meta :
135+
inc_before_scripts :
136+
inc_after_scripts :
137+
inc_before_styles :
138+
inc_after_styles :
139+
inc_before_header :
140+
inc_after_header : "links.html"
141+
inc_before_tail :
142+
inc_after_tail :
143+
inc_before_tools :
144+
inc_after_tools :
145+
146+
inc_before_page_list :
147+
inc_after_page_list :
148+
inc_before_post_list :
149+
inc_after_post_list :

0 commit comments

Comments
 (0)