mirror of https://github.com/codevalet/codevalet
Embed a Jenkins Minute in the home page for a little more interesting stuff
Also fleshing out the doc page a bit more, need to figure out what I'm going to do there.
This commit is contained in:
parent
84a10fd0c0
commit
018b7a0828
|
@ -3,86 +3,95 @@
|
|||
{
|
||||
:name => 'Ubuntu 16.04',
|
||||
:labels => ['ubuntu', 'linux', 'docker'],
|
||||
:capabilities => '',
|
||||
:capabilities => ['Docker-enabled'],
|
||||
},
|
||||
{
|
||||
:name => 'FreeBSD 11.1',
|
||||
:labels => ['freebsd', 'bsd'],
|
||||
:capabilities => '',
|
||||
:capabilities => [],
|
||||
},
|
||||
]
|
||||
|
||||
.container
|
||||
.col-md-10
|
||||
.row
|
||||
%h2
|
||||
Overview
|
||||
.container
|
||||
.row
|
||||
%p
|
||||
Code Valet is powered by
|
||||
%a{:href => 'https://jenkins.io'}
|
||||
Jenkins® 2
|
||||
with
|
||||
%a{:href => 'https://jenkins.io/doc/book/pipeline'}
|
||||
Jenkins Pipeline.
|
||||
.col-lg-12
|
||||
%h2
|
||||
Overview
|
||||
%p
|
||||
Code Valet is powered by
|
||||
%a{:href => 'https://jenkins.io'}
|
||||
Jenkins® 2
|
||||
with
|
||||
%a{:href => 'https://jenkins.io/doc/book/pipeline'}
|
||||
Jenkins Pipeline.
|
||||
.row
|
||||
%h3
|
||||
Features enabled
|
||||
:markdown
|
||||
The current list of features enabled on Code Valet, which can be
|
||||
used in a `Jenkinsfile` are:
|
||||
.col-lg-12
|
||||
%h3
|
||||
Features enabled
|
||||
%p
|
||||
:markdown
|
||||
The current list of features enabled on Code Valet, which can be
|
||||
used in a `Jenkinsfile` are:
|
||||
|
||||
* XML (JUnit) test reporting integration via the `junit` step.
|
||||
* Embedded status badges, such as: [![Build Status](https://codevalet.io/u/codevalet/job/CodeValet/job/codevalet/job/master/badge/icon)](https://codevalet.io/u/codevalet/blue/organizations/jenkins/CodeValet%2Fcodevalet/activity)
|
||||
* XML (JUnit) test reporting integration via the `junit` step.
|
||||
* Embedded status badges, such as: [![Build Status](https://codevalet.codevalet.io/job/codevalet/job/master/badge/icon)](https://codevalet.codevalet.io/job/codevalet/job/master/)
|
||||
|
||||
|
||||
.row
|
||||
%h2
|
||||
Platforms
|
||||
.col-lg-12
|
||||
%h2
|
||||
Platforms
|
||||
|
||||
.container
|
||||
.row
|
||||
%p
|
||||
Code Valet provides ephemeral execution environments, dedicated to
|
||||
each user or organization. This provides the best trade-off between
|
||||
performance and reliability using the tools currently available.
|
||||
%p
|
||||
%table.table
|
||||
%thead
|
||||
%p
|
||||
Code Valet provides ephemeral execution environments, dedicated to
|
||||
each user or organization. This provides the best trade-off between
|
||||
performance and reliability using the tools currently available.
|
||||
%p
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th
|
||||
Platform
|
||||
%th
|
||||
Capabilities
|
||||
%th
|
||||
Example
|
||||
%code
|
||||
Jenkinsfile
|
||||
%tbody
|
||||
- platforms.each do |p|
|
||||
%tr
|
||||
%th
|
||||
Platform
|
||||
%th
|
||||
Capabilities
|
||||
%th
|
||||
Example
|
||||
%tbody
|
||||
- platforms.each do |p|
|
||||
%tr
|
||||
%td
|
||||
%td
|
||||
%p
|
||||
%strong= p[:name]
|
||||
%p
|
||||
Labels:
|
||||
%ul
|
||||
- p[:labels].each do |label|
|
||||
%li
|
||||
%code= label
|
||||
|
||||
%td
|
||||
= p[:capabilities]
|
||||
%td
|
||||
%pre
|
||||
%code
|
||||
:plain
|
||||
pipeline {
|
||||
agent { label '#{p[:labels].first}' }
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'uname -a'
|
||||
sh 'cat /etc/issue'
|
||||
}
|
||||
%td
|
||||
- p[:capabilities].each do |cap|
|
||||
%p
|
||||
= cap
|
||||
%td
|
||||
%pre
|
||||
%code
|
||||
:plain
|
||||
pipeline {
|
||||
agent { label '#{p[:labels].first}' }
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'uname -a'
|
||||
sh 'cat /etc/issue'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -38,8 +38,11 @@
|
|||
%a.dropdown-item{:href => "https://#{monkey}.codevalet.io/blue"}
|
||||
= monkey
|
||||
.row
|
||||
.col-md-12
|
||||
%img.img-fluid{:src => '/images/create-new-pipeline.png'}
|
||||
.col-lg-12.text-center
|
||||
%iframe{:width => 800, :height => 400, :frameborder => 0, :gesture => :media,
|
||||
:allow => 'encrypted-media', :allowfullscreen => '',
|
||||
:src => 'https://www.youtube-nocookie.com/embed/FhDomw6BaHU'}
|
||||
%img.img-fluid{:src => '/images/create-new-pipeline.png'}
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
|
|
Loading…
Reference in New Issue