Commit 1bf9bb45 authored by Hiroyuki Sato's avatar Hiroyuki Sato 🇯🇵

Merge branch '129-features-yml-2018-09-22' into 'master'

features.ymlを2018-09-22まで更新

Closes #129

See merge request !131
parents bc77eceb 3c55c1ab
Pipeline #75565680 passed with stages
in 16 minutes and 52 seconds
require 'extensions/breadcrumbs'
# Activate and configure extensions
# https://middlemanapp.com/advanced/configuration/#configuring-extensions
......@@ -5,6 +7,8 @@ activate :autoprefixer do |prefix|
prefix.browsers = 'last 2 versions'
end
activate :breadcrumbs, wrapper: :li, separator: '', hide_home: true, convert_last: false
activate :blog do |blog|
blog.sources = 'posts/{year}-{month}-{day}-{title}.html'
blog.permalink = '{year}/{month}/{day}/{title}/index.html'
......@@ -32,19 +36,30 @@ page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
# With alternative layout
# page '/path/to/file.html', layout: 'other_layout'
# Proxy pages
# https://middlemanapp.com/advanced/dynamic-pages/
# Proxy comparison PDF pages
# Used for old pages, can delete once we 301 redirect old content: https://gitlab.com/gitlab-com/www-gitlab-com/issues/2543
data.features.comparisons.each do |key, comparison|
file_name = key.dup.tr('_', '-')
proxy "/comparison/pdfs/#{file_name}.html", '/comparison/pdfs/template.html', locals: {
comparison_block: comparison,
key_one: comparison.product_one.to_sym,
key_two: comparison.product_two.to_sym
}, ignore: true
end
# proxy(
# '/this-page-has-no-template.html',
# '/template-file.html',
# locals: {
# which_fake_page: 'Rendering a fake page with a local variable'
# },
# )
# Proxy Comparison html and PDF pages
data.features.competitors.each_key do |competitor|
next if competitor[0..6] == 'gitlab_'
file_name = "#{competitor}-vs-gitlab".tr('_', '-')
proxy "/comparison/#{file_name}.html", "/templates/comparison.html", locals: {
key_one: competitor,
key_two: 'gitlab_ultimate'
}
proxy "/comparison/pdfs/#{file_name}.html", '/comparison/pdfs/template.html', locals: {
key_one: competitor,
key_two: 'gitlab_ultimate'
}, ignore: true
end
# Helpers
# Methods defined in the helpers block are available in templates
......@@ -72,6 +87,13 @@ configure :development do
activate :livereload
end
ignore '**/.keep'
ignore 'includes/*'
ignore '/.*\.swp/'
ignore '/templates/*'
ignore '/direction/template.html'
ignore '/direction/product-vision/template.html'
ignore '/includes/*'
ignore '/releases/template.html'
ignore '/team/structure/org-chart/template.html'
ignore '/source/stylesheets/highlight.css'
ignore '/category.html'
ignore '/.gitattributes'
ignore '**/.gitkeep'
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
- phase: Manage
title: 管理
competitor:
link: /product/manage/
established:
year: 2016
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Amanage&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: CA Agile Central
logo: /images/logos/sdlc-competitors/ca-agile.png
logo: /images/comparison/ca-agile-central.png
link: /comparison/ca-agile-central-vs-gitlab.html
- name: Version One
logo: /images/comparison/Collabnet-VersionOne.png
link: /comparison/version-one-vs-gitlab.html
solutions:
- サイクル分析
- DevOpsスコア
- Cycle Analytics
- DevOps Score
- phase: Plan
title: 計画
competitor:
link: /product/plan/
established:
year: 2011
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Aplan&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: Asana
logo: /images/comparison/asana-logo.png
link: /comparison/asana-vs-gitlab.html
- name: Jira
logo: /images/logos/sdlc-competitors/jira.png
link: /comparison/gitlab-vs-jira.html
- name: Trello
logo: /images/logos/sdlc-competitors/trello.png
link: /comparison/trello-vs-gitlab.html
- name: GitHub Enterprise
logo: /images/comparison/github-logo.svg
link: /comparison/github-enterprise-vs-gitlab.html
solutions:
- 課題管理
- 課題ボード
- ポートフォリオ管理
- Issue Tracker
- Issue Board
- Portfolio Management
- phase: Create
title: 作成
competitor:
established:
year: 2011
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Acreate&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: GitHub
logo: /images/logos/sdlc-competitors/github.png
link: /comparison/github-com-vs-gitlab.html
- name: Bitbucket
logo: /images/comparison/bitbucket-logo.png
link: /comparison/bitbucket-org-vs-gitlab.html
- name: Bitbucket Data Center
logo: /images/comparison/bitbucket-logo.png
link: /comparison/bitbucket-data-center-vs-gitlab.html
- name: Gogs
logo: /images/comparison/gogs-logo.png
link: /comparison/gogs-vs-gitlab.html
- name: TFS/VSTS
logo: /images/comparison/tfs-vsts-logo.png
link: /comparison/tfs-vsts-vs-gitlab.html
solutions:
- バージョン管理
- コードレビュー
- Version Control
- Code Review
- Web IDE
- phase: Verify
title: 検証
competitor:
established:
year: 2012
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name[]=devops%3Averify&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: Jenkins
logo: /images/logos/sdlc-competitors/jenkins.png
link: /comparison/jenkins-vs-gitlab.html
- name: Travis CI
logo: /images/logos/sdlc-competitors/travis-ci.png
link: /comparison/travis-ci-vs-gitlab.html
- name: Bamboo
logo: /images/comparison/bamboo-logo.png
link: /comparison/bamboo-vs-gitlab.html
- name: Circle CI
logo: /images/comparison/circle-ci-logo.svg
link: /comparison/circle-ci-vs-gitlab.html
- name: AWS Codestar
logo: /images/comparison/codestar-logo.png
link: /comparison/codestar-vs-gitlab.html
- name: Spinnaker
logo: /images/comparison/spinnaker-logo.svg
link: /comparison/spinnaker-vs-gitlab.html
solutions:
- CI
- 単体テスト
- 統合テスト
- 受け入れテスト
- パフォーマンステスト
- Unit Test
- Integration-Test
- Acceptance-Test
- Performance Test
- phase: Package
title: パッケージ
competitor:
- name: jFrog Artifactory
logo: /images/logos/sdlc-competitors/jfrog.png
established:
year: 2016
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Apackage&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: Sonatype Nexus
logo: /images/logos/sdlc-competitors/sonatype.png
link: /comparison/sonatype-vs-gitlab.html
- name: JFrog Artifactory
logo: /images/logos/jfrog_artifactory.png
link: /comparison/jfrog-artifactory-vs-gitlab.html
solutions:
- コンテナレジストリ
- Container Registry
- phase: Release
title: リリース
competitor:
- name: Electric Cloud
logo: /images/logos/sdlc-competitors/electric-cloud.png
established:
year: 2016
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Arelease&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: XebiaLabs
logo: /images/comparison/xebialabs-logo.png
link: /xebialabs-vs-gitlab.html
- name: ElectricFlow
logo: /images/comparison/electric_cloud-logo.png
link: /comparison/electric-flow-vs-gitlab.html
solutions:
- CD
- リリース自動化
- Release Automation
- Pages
- Review Apps
- phase: Configure
title: 設定
competitor:
established:
year: 2018
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Aconfigure&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: Chef
logo: /images/logos/sdlc-competitors/chef.png
link: /comparison/chef-vs-gitlab.html
- name: Puppet Labs Deploy
logo: /images/logos/puppet-logo.svg
link: /comparison/puppet-vs-gitlab.html
solutions:
- インフラ設定
- Infrastructure Configuration
- ChatOps
- phase: Monitor
title: 監視
competitor:
established:
year: 2016
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Amonitor&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: New Relic
logo: /images/logos/sdlc-competitors/new-relic.png
logo: /images/comparison/new-relic-logo.png
link: /comparison/new-relic-vs-gitlab.html
- name: Nagios
logo: /images/comparison/nagios-logo.png
link: /comparison/nagios-vs-gitlab.html
solutions:
- メトリクス
- インフラ監視
- Metrics
- Infrastructure Monitoring
- phase: Secure
title: セキュリティ
competitor:
established:
year: 2017
link: "https://gitlab.com/groups/gitlab-org/-/roadmap?label_name%5B%5D=devops%3Asecure&scope=all&sort=end_date_asc&state=opened&layout=QUARTERS"
competitors:
- name: Sonarqube
logo: /images/logos/sdlc-competitors/sonarqube.png
link: /comparison/sonarqube-vs-gitlab.html
- name: Blackduck
logo: /images/logos/sdlc-competitors/blackduck.png
link: /comparison/blackduck-vs-gitlab.html
- name: Checkmarx
logo: /images/logos/sdlc-competitors/checkmarx.png
link: /comparison/checkmarx-vs-gitlab.html
- name: IBM Appscan
logo: /images/logos/sdlc-competitors/ibm-appscan.png
link: /comparison/ibm-appscan-vs-gitlab.html
- name: CA Veracode
logo: /images/comparison/ca-veracode-logo.png
link: /comparison/ca-veracode-vs-gitlab.html
- name: MicroFocus Fortify
logo: /images/comparison/microfocus-logo.png
link: /comparison/microfocus-fortify-vs-gitlab.html
- name: Snyk
logo: /images/logos/sdlc-competitors/snyk.png
link: /comparison/snyk-vs-gitlab.html
- name: WhiteSource
logo: /images/comparison/whitesource-logo.png
link: /comparison/whitesource-vs-gitlab.html
solutions:
- 静的解析
- 動的解析
- 依存性スキャン
- コンテナスキャン
- ライセンス管理
- SAST
- DAST
- Dependency Scanning
- Container Scanning
- License Management
require 'middleman'
require 'rack/utils'
require 'padrino-helpers'
class Breadcrumbs < Middleman::Extension
include Padrino::Helpers
option :separator, ' > ', 'Default separator between breadcrumb levels'
option :wrapper, nil, 'Name of tag (as symbol) in which to wrap each breadcrumb level, or nil for no wrapping'
option :hide_home, false, 'Hide the homepage link'
option :convert_last, true, 'Convert the last page into a link'
expose_to_template :breadcrumbs
def initialize(app, options_hash = {}, &block)
super
@separator = options.separator
@wrapper = options.wrapper
@hide_home = options.hide_home
@convert_last = options.convert_last
end
def breadcrumbs(page, separator: @separator, wrapper: @wrapper, hide_home: @hide_home, convert_last: @convert_last)
hierarchy = [page]
hierarchy.unshift hierarchy.first.parent while hierarchy.first.parent
hierarchy.collect.with_index do |page_v, i|
if show_page(page_v, hide_home)
if convert_last_to_link(i, hierarchy.size, convert_last)
content_tag(:li, page_v.data.title || page_v.metadata[:title])
else
wrap link_to(page_v.data.title, page_v.url.to_s), wrapper: wrapper
end
end
end.join(h(separator))
end
private
def wrap(content, wrapper: nil)
wrapper ? content_tag(wrapper) { content } : content
end
def show_page(page, hide_home)
return true unless hide_home
return true unless page.request_path == 'index.html'
end
def convert_last_to_link(page_index, size, convert_last)
return false if convert_last
return true if (page_index + 1) == size
end
end
::Middleman::Extensions.register(:breadcrumbs, Breadcrumbs)
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "Bitbucket.orgとGitLab.comの比較"
title: "GitLab.com Silver vs. Bitbucket.org | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "Bitbucket Data CenterとGitLab Premiumの比較"
title: "GitLab Premium vs. Bitbucket Data Center | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: " GitHub EnterpriseとGitLab Premium比較"
title: "GitLab Premium vs. GitHub Enterprise | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: " GitHub.comとGitLab Premiumの比較"
title: "GitLab Premium vs. GitHub.com | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "SaaSとGitLab Premiumの比較"
title: "GitLab Premium vs. SaaS | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "SVNとGitLab Premiumの比較"
title: "GitLab Premium vs. SVN | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: AsanaとGitLab課題ボードの比較
title: GitLab Issue Board vs. Asana | GitLab compared to other tools
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "TrelloとGitLab課題ボードの比較"
title: "GitLab Issue Boards vs. Trello | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "GitHubのプルリクエストとGitLabのマージリクエストの比較"
title: "GitLab Merge Requests vs. GitHub Pull Requests | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "GitHub PagesとGitLab Pagesの比較"
title: "GitLab Pages vs. GitHub Pages | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "GogsとGitLab Premiumの比較"
title: "GitLab Premium vs. Gogs | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "GitHubのセキュリティとGitLabのセキュリティを比較"
title: "GitLab Security vs. GitHub Security | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
---
layout: comparison_page
trial_bar: true
suppress_header: true
title: "BambooとGitLab Ultimateの比較"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
- release-posts.css
extra_js:
- comparison.js
- bootstrap-tooltip.js
---
- competitors = data.features.competitors
= partial "includes/comparison_table", locals: { comparison_block: data.features.comparisons.gitlab_ultimate_vs_bamboo, product_one: competitors.gitlab_ultimate, product_two: competitors.bamboo, key_one: :gitlab_ultimate, key_two: :bamboo }
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "BlackDuckとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. BlackDuck | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "CA Varacoce.comとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. CA Veracode.com | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "CheckmarxとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. Checkmarx | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "IBM AppScanとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. IBM Appscan | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "MicroFocus FortifyとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. MicroFocus Fortify | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "SonarqubeとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. Sonarqube | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "Sonatype NexusとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. Sonatype Nexus | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "WhiteSourceとGitLab Ultimateの比較"
title: "GitLab Ultimate vs. WhiteSource | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
---
layout: comparison_page
trial_bar: true
title: "CircleCIとGitLab CI/CDの比較"
suppress_header: true
title: "GitLab CI/CD vs. CircleCI | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
......@@ -2,7 +2,7 @@
layout: comparison_page
trial_bar: true
suppress_header: true
title: "AWS CodeStarとGitLab CI/CDの比較"
title: "GitLab CI/CD vs. AWS CodeStar | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
---
layout: comparison_page
trial_bar: true
title: "GitHub.comとGitLab.comの比較"
suppress_header: true
title: "GitLab.com Silver vs. GitHub.com | GitLab compared to other tools"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
......
---
layout: comparison_page
trial_bar: true
title: "JenkinsとGitLab CI/CDの比較"
image_title: '/images/comparison/title_image.png'
extra_css:
- compared.css
- release-posts.css
extra_js:
- comparison.js
- bootstrap-tooltip.js
---
- competitors = data.features.competitors
= partial "includes/comparison_table", locals: { comparison_block: data.features.comparisons.gitlab_ci_vs_jenkins, product_one: competitors.gitlab_ci, product_two: competitors.jenkins, key_one: :gitlab_ci, key_two: :jenkins }