codebuild 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +1 -1
- data/README.md +10 -2
- data/docs/.gitignore +4 -0
- data/docs/CNAME +1 -0
- data/docs/Gemfile +3 -0
- data/docs/LICENSE +21 -0
- data/docs/README.md +25 -0
- data/docs/_config.yml +73 -0
- data/docs/_docs/contributing.md +99 -0
- data/docs/_docs/conventions.md +51 -0
- data/docs/_docs/deploy.md +69 -0
- data/docs/_docs/dsl.md +12 -0
- data/docs/_docs/dsl/project.md +80 -0
- data/docs/{dsl → _docs/dsl}/role.md +39 -1
- data/docs/_docs/dsl/schedule.md +29 -0
- data/docs/_docs/examples.md +12 -0
- data/docs/_docs/examples/ecs.md +94 -0
- data/docs/_docs/examples/jets.md +68 -0
- data/docs/_docs/examples/ruby.md +44 -0
- data/docs/_docs/github_oauth.md +51 -0
- data/docs/_docs/install.md +14 -0
- data/docs/_docs/next-steps.md +16 -0
- data/docs/_docs/settings.md +34 -0
- data/docs/_docs/start.md +46 -0
- data/docs/_docs/type-option.md +72 -0
- data/docs/_docs/variables.md +90 -0
- data/docs/_includes/commands.html +86 -0
- data/docs/_includes/content.html +25 -0
- data/docs/_includes/edit-on-github.html +9 -0
- data/docs/_includes/footer.html +41 -0
- data/docs/_includes/google_analytics.html +10 -0
- data/docs/_includes/head.html +45 -0
- data/docs/_includes/js.html +18 -0
- data/docs/_includes/nav.html +17 -0
- data/docs/_includes/prev_next.md +19 -0
- data/docs/_includes/reference.md +1 -0
- data/docs/_includes/subnav.html +38 -0
- data/docs/_includes/tutorials.md +38 -0
- data/docs/_layouts/default.html +12 -0
- data/docs/_reference/codebuild-completion.md +44 -0
- data/docs/_reference/codebuild-completion_script.md +25 -0
- data/docs/_reference/codebuild-delete.md +26 -0
- data/docs/_reference/codebuild-deploy.md +58 -0
- data/docs/_reference/codebuild-init.md +87 -0
- data/docs/_reference/codebuild-start.md +43 -0
- data/docs/_reference/codebuild-version.md +21 -0
- data/docs/_sass/_bootstrap-overrides.scss +40 -0
- data/docs/_sass/_contact.scss +49 -0
- data/docs/_sass/_cta.scss +37 -0
- data/docs/_sass/_download.scss +31 -0
- data/docs/_sass/_features.scss +47 -0
- data/docs/_sass/_footer.scss +49 -0
- data/docs/_sass/_global.scss +102 -0
- data/docs/_sass/_main.scss +364 -0
- data/docs/_sass/_masthead.scss +70 -0
- data/docs/_sass/_mixins.scss +79 -0
- data/docs/_sass/_navbar.scss +92 -0
- data/docs/_sass/_syntax.scss +65 -0
- data/docs/_sass/_table.scss +34 -0
- data/docs/_sass/_timeline.scss +207 -0
- data/docs/_sass/_variables.scss +24 -0
- data/docs/bin/web +8 -0
- data/docs/docs.md +22 -0
- data/docs/favicon.ico +0 -0
- data/docs/img/docs/codebuild-output.png +0 -0
- data/docs/img/logos/boltops-logo-full.png +0 -0
- data/docs/img/logos/boltops-logo.png +0 -0
- data/docs/img/logos/project-logo.png +0 -0
- data/docs/index.html +35 -0
- data/docs/js/nav.js +39 -0
- data/docs/js/new-age.js +38 -0
- data/docs/js/new-age.min.js +6 -0
- data/docs/new-age.scss +20 -0
- data/docs/quick-start.md +72 -0
- data/docs/reference.md +12 -0
- data/docs/support.md +22 -0
- data/docs/vendor/bootstrap/css/bootstrap-grid.css +1339 -0
- data/docs/vendor/bootstrap/css/bootstrap-grid.css.map +1 -0
- data/docs/vendor/bootstrap/css/bootstrap-grid.min.css +1 -0
- data/docs/vendor/bootstrap/css/bootstrap-grid.min.css.map +1 -0
- data/docs/vendor/bootstrap/css/bootstrap-reboot.css +459 -0
- data/docs/vendor/bootstrap/css/bootstrap-reboot.css.map +1 -0
- data/docs/vendor/bootstrap/css/bootstrap-reboot.min.css +1 -0
- data/docs/vendor/bootstrap/css/bootstrap-reboot.min.css.map +1 -0
- data/docs/vendor/bootstrap/css/bootstrap.css +9320 -0
- data/docs/vendor/bootstrap/css/bootstrap.css.map +1 -0
- data/docs/vendor/bootstrap/css/bootstrap.min.css +6 -0
- data/docs/vendor/bootstrap/css/bootstrap.min.css.map +1 -0
- data/docs/vendor/bootstrap/js/bootstrap.js +3535 -0
- data/docs/vendor/bootstrap/js/bootstrap.min.js +7 -0
- data/docs/vendor/font-awesome/css/font-awesome.css +2337 -0
- data/docs/vendor/font-awesome/css/font-awesome.min.css +4 -0
- data/docs/vendor/font-awesome/fonts/FontAwesome.otf +0 -0
- data/docs/vendor/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/docs/vendor/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
- data/docs/vendor/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/docs/vendor/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/docs/vendor/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/docs/vendor/font-awesome/less/animated.less +34 -0
- data/docs/vendor/font-awesome/less/bordered-pulled.less +25 -0
- data/docs/vendor/font-awesome/less/core.less +12 -0
- data/docs/vendor/font-awesome/less/fixed-width.less +6 -0
- data/docs/vendor/font-awesome/less/font-awesome.less +18 -0
- data/docs/vendor/font-awesome/less/icons.less +789 -0
- data/docs/vendor/font-awesome/less/larger.less +13 -0
- data/docs/vendor/font-awesome/less/list.less +19 -0
- data/docs/vendor/font-awesome/less/mixins.less +60 -0
- data/docs/vendor/font-awesome/less/path.less +15 -0
- data/docs/vendor/font-awesome/less/rotated-flipped.less +20 -0
- data/docs/vendor/font-awesome/less/screen-reader.less +5 -0
- data/docs/vendor/font-awesome/less/stacked.less +20 -0
- data/docs/vendor/font-awesome/less/variables.less +799 -0
- data/docs/vendor/font-awesome/scss/_animated.scss +34 -0
- data/docs/vendor/font-awesome/scss/_bordered-pulled.scss +25 -0
- data/docs/vendor/font-awesome/scss/_core.scss +12 -0
- data/docs/vendor/font-awesome/scss/_fixed-width.scss +6 -0
- data/docs/vendor/font-awesome/scss/_icons.scss +789 -0
- data/docs/vendor/font-awesome/scss/_larger.scss +13 -0
- data/docs/vendor/font-awesome/scss/_list.scss +19 -0
- data/docs/vendor/font-awesome/scss/_mixins.scss +60 -0
- data/docs/vendor/font-awesome/scss/_path.scss +15 -0
- data/docs/vendor/font-awesome/scss/_rotated-flipped.scss +20 -0
- data/docs/vendor/font-awesome/scss/_screen-reader.scss +5 -0
- data/docs/vendor/font-awesome/scss/_stacked.scss +20 -0
- data/docs/vendor/font-awesome/scss/_variables.scss +799 -0
- data/docs/vendor/font-awesome/scss/font-awesome.scss +18 -0
- data/docs/vendor/jquery-easing/jquery.easing.compatibility.js +59 -0
- data/docs/vendor/jquery-easing/jquery.easing.js +166 -0
- data/docs/vendor/jquery-easing/jquery.easing.min.js +1 -0
- data/docs/vendor/jquery/jquery.js +10253 -0
- data/docs/vendor/jquery/jquery.min.js +4 -0
- data/docs/vendor/simple-line-icons/css/simple-line-icons.css +778 -0
- data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.eot +0 -0
- data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.svg +200 -0
- data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.ttf +0 -0
- data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.woff +0 -0
- data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.woff2 +0 -0
- data/docs/vendor/simple-line-icons/less/simple-line-icons.less +982 -0
- data/docs/vendor/simple-line-icons/scss/simple-line-icons.scss +979 -0
- data/docs/vendor/tether/tether.js +1811 -0
- data/docs/vendor/tether/tether.min.js +1 -0
- data/exe/cb +1 -1
- data/exe/codebuild +1 -1
- data/lib/codebuild.rb +0 -1
- data/lib/codebuild/aws_services/helpers.rb +1 -1
- data/lib/codebuild/cli.rb +2 -1
- data/lib/codebuild/core.rb +2 -2
- data/lib/codebuild/dsl/project.rb +3 -3
- data/lib/codebuild/help/init.md +38 -2
- data/lib/codebuild/help/start.md +7 -1
- data/lib/codebuild/init.rb +19 -9
- data/lib/codebuild/project.rb +3 -2
- data/lib/codebuild/role.rb +2 -0
- data/lib/codebuild/schedule.rb +5 -0
- data/lib/codebuild/setting.rb +2 -3
- data/lib/codebuild/stack.rb +25 -0
- data/lib/codebuild/start.rb +22 -3
- data/lib/codebuild/variables.rb +17 -0
- data/lib/codebuild/version.rb +1 -1
- data/lib/template/{.codebuild → project}/buildspec.yml +7 -7
- data/lib/template/{.codebuild → project}/project.rb.tt +8 -0
- data/lib/template/{.codebuild → project}/role.rb +0 -0
- data/lib/template/project/schedule.rb +3 -0
- data/lib/template/top/settings.yml +9 -0
- data/lib/template/top/variables/base.rb +1 -0
- data/lib/template/top/variables/development.rb +1 -0
- data/lib/template/top/variables/production.rb +1 -0
- metadata +150 -11
- data/docs/dsl/project.md +0 -46
- data/docs/dsl/schedule.md +0 -12
- data/docs/github_oauth.md +0 -39
- data/docs/type.md +0 -39
- data/lib/template/.codebuild/settings.yml +0 -13
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
title: Type Option
|
3
|
+
nav_order: 4
|
4
|
+
---
|
5
|
+
|
6
|
+
The `--type` option is a powerful option that allows you to create multiple codebuild projects associated with the same project.
|
7
|
+
|
8
|
+
## Default Behavior
|
9
|
+
|
10
|
+
By default, the codebuild tool looks up files in the `.codebuild` folder. Example:
|
11
|
+
|
12
|
+
.codebuild/buildspec.yml
|
13
|
+
.codebuild/project.rb
|
14
|
+
.codebuild/role.rb
|
15
|
+
|
16
|
+
You can affect the behavior of the lookup logic with the `--type` option.
|
17
|
+
|
18
|
+
## Examples
|
19
|
+
|
20
|
+
cb deploy --type deploy
|
21
|
+
|
22
|
+
This will look up buildspec.yml, project.rb, and role.rb files in the `.codebuild/deploy` folder. So:
|
23
|
+
|
24
|
+
.codebuild/deploy/buildspec.yml
|
25
|
+
.codebuild/deploy/project.rb
|
26
|
+
.codebuild/deploy/role.rb
|
27
|
+
|
28
|
+
Likewise `cb deploy --type unit` would result in:
|
29
|
+
|
30
|
+
.codebuild/unit/buildspec.yml
|
31
|
+
.codebuild/unit/project.rb
|
32
|
+
.codebuild/unit/role.rb
|
33
|
+
|
34
|
+
## Structure
|
35
|
+
|
36
|
+
So if you need multiple CodeBuild projects that perform different tasks but are both related to the same code repo, this structure is useful:
|
37
|
+
|
38
|
+
.codebuild
|
39
|
+
├── deploy
|
40
|
+
│ ├── buildspec.yml
|
41
|
+
│ ├── project.rb
|
42
|
+
│ ├── role.rb
|
43
|
+
│ └── schedule.rb
|
44
|
+
└── unit
|
45
|
+
├── buildspec.yml
|
46
|
+
├── project.rb
|
47
|
+
├── role.rb
|
48
|
+
└── schedule.rb
|
49
|
+
|
50
|
+
## Code Project Name
|
51
|
+
|
52
|
+
The CloudFormation stack name is appended with the name of the type option. So if your project folder is `demo` and the type option is `unit`.
|
53
|
+
|
54
|
+
cd demo # project folder
|
55
|
+
cb deploy --type unit
|
56
|
+
|
57
|
+
It produces a CodeBuild project named `demo-unit`. The project name is an optional first CLI argument. Here's an example:
|
58
|
+
|
59
|
+
cd demo # project folder
|
60
|
+
cb deploy demo-web --type deploy # CodeProject name: demo-web-deploy
|
61
|
+
|
62
|
+
## Stack Name
|
63
|
+
|
64
|
+
The stack name is the same as the CodeBuild project name with the `-cb` suffix appended to it. Examples:
|
65
|
+
|
66
|
+
CodeBuild Project Name | Stack Name
|
67
|
+
--- | ---
|
68
|
+
demo | demo-cb
|
69
|
+
demo-unit | demo-unit-cb
|
70
|
+
demo-web-unit | demo-web-unit-cb
|
71
|
+
|
72
|
+
{% include prev_next.md %}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
title: Variables Support
|
3
|
+
nav_order: 5
|
4
|
+
---
|
5
|
+
|
6
|
+
The codebuild tool supports the concept of variables. Variables allow you to set environment-specific variables. For example, development and production environments usually require the same code but use different variables.
|
7
|
+
|
8
|
+
Within the `.codebuild/variables` folder, you can create variable files and the variables defined in them are made available to your `.codebuild` DSL files. Examples:
|
9
|
+
|
10
|
+
.codebuild/project.rb
|
11
|
+
.codebuild/role.rb
|
12
|
+
.codebuild/schedule.rb
|
13
|
+
|
14
|
+
## Structure
|
15
|
+
|
16
|
+
Here's an example variables structure:
|
17
|
+
|
18
|
+
.codebuild
|
19
|
+
└── variables
|
20
|
+
├── base.rb
|
21
|
+
├── development.rb
|
22
|
+
└── production.rb
|
23
|
+
|
24
|
+
## Layering Support
|
25
|
+
|
26
|
+
The variable files are layered together. The `base.rb` and specific `CB_ENV `variable file, like `development.rb`, are combined. An example helps explain. Let's say you have these files:
|
27
|
+
|
28
|
+
base.rb:
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
@myvar = "base-value"
|
32
|
+
```
|
33
|
+
|
34
|
+
development.rb:
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
@myvar = "development-value"
|
38
|
+
```
|
39
|
+
|
40
|
+
production.rb:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
@myvar = "production-value"
|
44
|
+
```
|
45
|
+
|
46
|
+
Then you can do this:
|
47
|
+
|
48
|
+
cb deploy # defaults to CB_ENV=development
|
49
|
+
|
50
|
+
Since `CB_ENV=development` is the default, this means `@myvar = "development-value"` is used.
|
51
|
+
|
52
|
+
If we want to use production values, then we can set `CB_ENV=production`
|
53
|
+
|
54
|
+
CB_ENV=production cb deploy
|
55
|
+
|
56
|
+
In this case, `@myvar = "production-value"` is used.
|
57
|
+
|
58
|
+
Now if we use `CB_ENV=staging`
|
59
|
+
|
60
|
+
CB_ENV=staging cb deploy
|
61
|
+
|
62
|
+
In this case, `@myvar = "base-value"` is used, since there is no `staging.rb` file.
|
63
|
+
|
64
|
+
## Variables with -\-type Option
|
65
|
+
|
66
|
+
With codebuild, we can use a `--type` option to create additional codebuild projects under the `.codebuild` folder. Here's a short example:
|
67
|
+
|
68
|
+
cb deploy --type deploy
|
69
|
+
|
70
|
+
The buildspec file it'll use is here:
|
71
|
+
|
72
|
+
.codebuild/deploy/buildspec.yml
|
73
|
+
|
74
|
+
More info on the type option is here: [Type Option]({% link _docs/type-option.md %}).
|
75
|
+
|
76
|
+
Specific project type variables can be set. For example, let's say you have a `--type=deploy`, the variable files that will be used are:
|
77
|
+
|
78
|
+
.codebuild/deploy/variables/base.rb
|
79
|
+
.codebuild/deploy/variables/developemnt.rb
|
80
|
+
|
81
|
+
The type specific variable files override the top-level variable files. Type specific variable files get loaded last so they take the highest precedence. Example:
|
82
|
+
|
83
|
+
.codebuild/variables/base.rb - lowest precedence
|
84
|
+
.codebuild/variables/developemnt.rb
|
85
|
+
.codebuild/deploy/variables/base.rb
|
86
|
+
.codebuild/deploy/variables/developemnt.rb - highest precedence
|
87
|
+
|
88
|
+
The top-level variables files are also loaded because it is common to need variables that are available to all projects.
|
89
|
+
|
90
|
+
{% include prev_next.md %}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
<section class="features" id="features">
|
2
|
+
<div class="container">
|
3
|
+
<div class="section-heading text-center">
|
4
|
+
<h2>The Code</h2>
|
5
|
+
<p class="text-muted">Easy to learn</p>
|
6
|
+
<hr>
|
7
|
+
</div>
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-lg-12">
|
10
|
+
<div class="container-fluid">
|
11
|
+
<div class="row">
|
12
|
+
<div class="col-lg-6">
|
13
|
+
<h3>Overview</h3>
|
14
|
+
<div class="commands">
|
15
|
+
{% highlight sh %}
|
16
|
+
cb init
|
17
|
+
cb deploy
|
18
|
+
cb start
|
19
|
+
cb delete
|
20
|
+
{% endhighlight %}
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<div class="col-lg-6">
|
24
|
+
<h3>Structure</h3>
|
25
|
+
<div class="commands">
|
26
|
+
{% highlight sh %}
|
27
|
+
.codebuild
|
28
|
+
├── buildspec.yml
|
29
|
+
├── role.rb
|
30
|
+
├── project.rb
|
31
|
+
└── schedule.rb
|
32
|
+
{% endhighlight %}
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
<div class="row">
|
37
|
+
<div class="col-lg-6">
|
38
|
+
<h3>Usage</h3>
|
39
|
+
<div class="commands">
|
40
|
+
{% highlight sh %}
|
41
|
+
cb deploy # infers the CloudFormation name from the parent folder
|
42
|
+
cb deploy stack-name # explicitly specify stack name
|
43
|
+
|
44
|
+
cb start # infers the name from the parent folder
|
45
|
+
cb start stack-name # looks up project via CloudFormation stack
|
46
|
+
cb start demo-project # looks up project via CodeBuild project name
|
47
|
+
{% endhighlight %}
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
<div class="col-lg-6">
|
51
|
+
<h3>project.rb</h3>
|
52
|
+
<div class="commands">
|
53
|
+
{% highlight ruby %}
|
54
|
+
github_url("https://github.com/tongueroo/demo-ufo")
|
55
|
+
linux_image("aws/codebuild/ruby:2.5.3-1.7.0")
|
56
|
+
environment_variables(
|
57
|
+
UFO_ENV: "development",
|
58
|
+
API_KEY: "ssm:/codebuild/demo/api_key" # ssm param example
|
59
|
+
)
|
60
|
+
{% endhighlight %}
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
<div class="row">
|
65
|
+
<div class="col-lg-6">
|
66
|
+
<h3>role.rb</h3>
|
67
|
+
<div class="commands">
|
68
|
+
{% highlight ruby %}
|
69
|
+
iam_policy("logs", "ssm")
|
70
|
+
{% endhighlight %}
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
<div class="col-lg-6">
|
74
|
+
<h3>schedule.rb</h3>
|
75
|
+
<div class="commands">
|
76
|
+
{% highlight ruby %}
|
77
|
+
rate "1 day"
|
78
|
+
{% endhighlight %}
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
</section>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{% if page.subnav == false %}
|
2
|
+
|
3
|
+
{{ content }}
|
4
|
+
|
5
|
+
{% else %}
|
6
|
+
|
7
|
+
<section class="features" id="features">
|
8
|
+
<div class="container">
|
9
|
+
<div class="row">
|
10
|
+
{% if page.reference %}
|
11
|
+
<div class="col-md-9 reference-nav">
|
12
|
+
<a href="/reference">Back to Reference Index</a>
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
15
|
+
<div class="col-md-9 content-body">
|
16
|
+
<h1>{{ page.title }}</h1>
|
17
|
+
{{ content }}
|
18
|
+
{% include edit-on-github.html %}
|
19
|
+
</div>
|
20
|
+
{% include subnav.html %}
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</section>
|
24
|
+
|
25
|
+
{% endif %}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="edit-on-github">
|
2
|
+
<h2>Edit this page</h2>
|
3
|
+
<p>See a typo or an error? You can improve this page. This website is available on <a href="{{ site.gh_url }}">GitHub</a>, and contributions are encouraged and welcomed. We love pull requests from you! </p>
|
4
|
+
<ul>
|
5
|
+
<li><a href="{{ site.gh_url }}/blob/master/docs/{{ page.path }}" target="_blank">Suggest an edit to this page</a> (here's the <a href="{% link _docs/contributing.md %}" target="_blank">contributing guide</a>).</li>
|
6
|
+
<li><a href="{{ site.gh_url }}/issues/new?body=This%20issue%20is%20about%20<http://{{ site.url }}{{ page.url }}>%20(source%20file%3A%20<{{ site.gh_url }}/blob/master/docs/{{ page.path }}>)" target="_blank">Open an issue about this page</a> to report a
|
7
|
+
problem.</li>
|
8
|
+
</ul>
|
9
|
+
</div>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<footer class="text-center">
|
2
|
+
<div class="footer-above">
|
3
|
+
<div class="container">
|
4
|
+
<div class="row">
|
5
|
+
<div class="footer-col col-md-4">
|
6
|
+
<h3>More Tools</h3>
|
7
|
+
<ul class="list-unstyled tools">
|
8
|
+
<li><a href="https://rubyonjets.com">Jets</a></li>
|
9
|
+
<li><a href="https://ufoships.com">Ufo</a></li>
|
10
|
+
<li><a href="https://lono.cloud">Lono</a></li>
|
11
|
+
<li><a href="https://sonic-screwdriver.cloud">Sonic</a></li>
|
12
|
+
<li><a href="https://jack-eb.com">Jack</a></li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
<div class="footer-col col-md-4">
|
16
|
+
<h3><a href="https://boltops.com"><img class="footer-logo" src="/img/logos/boltops-logo-full.png" /></a></h3>
|
17
|
+
<ul class="list-inline">
|
18
|
+
{% for network in site.social %}
|
19
|
+
<li>
|
20
|
+
<a href="{{ network.url }}" class="btn-social btn-outline"><i class="fa fa-fw fa-{{ network.title }}"></i></a>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
<div class="footer-col col-md-4">
|
26
|
+
<h3>Contact</h3>
|
27
|
+
<p>{{ site.footer.contact }}</p>
|
28
|
+
<p>{{ site.footer.phone }}</p>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</footer>
|
34
|
+
|
35
|
+
<footer>
|
36
|
+
<div class="container">
|
37
|
+
<div class="footer-below">
|
38
|
+
<p>Maintained by {{ site.footer.copyright }} 20{{ site.time | date: '%y' }}</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</footer>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<!-- Google analytics -->
|
2
|
+
<script>
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
</script>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<head>
|
2
|
+
|
3
|
+
<meta charset="utf-8">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
5
|
+
<meta name="description" content="">
|
6
|
+
<meta name="author" content="">
|
7
|
+
|
8
|
+
{% if page.title %}
|
9
|
+
<title>{{ page.title }} - {{ site.title }}</title>
|
10
|
+
{% else %}
|
11
|
+
<title>CodeBuild DSL</title>
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
<meta name="description" content="{{ site.description }}">
|
15
|
+
<meta name="keywords" content="{{ site.keywords }}" />
|
16
|
+
{% if site.meta_author %}<meta name="author" content="{{ site.meta_author }}">{% endif %}
|
17
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
|
18
|
+
|
19
|
+
<!-- Bootstrap core CSS -->
|
20
|
+
<link href="/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
21
|
+
|
22
|
+
<!-- Custom fonts for this template -->
|
23
|
+
<link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css">
|
24
|
+
<link rel="stylesheet" href="/vendor/simple-line-icons/css/simple-line-icons.css">
|
25
|
+
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
|
26
|
+
<link href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900" rel="stylesheet">
|
27
|
+
<link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet">
|
28
|
+
|
29
|
+
<!-- Custom styles for this template -->
|
30
|
+
<link href="/new-age.css" rel="stylesheet">
|
31
|
+
|
32
|
+
<!-- Temporary navbar container fix -->
|
33
|
+
<style>
|
34
|
+
.navbar-toggler {
|
35
|
+
z-index: 1;
|
36
|
+
}
|
37
|
+
|
38
|
+
@media (max-width: 576px) {
|
39
|
+
nav > .container {
|
40
|
+
width: 100%;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
</style>
|
44
|
+
|
45
|
+
</head>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!-- Bootstrap core JavaScript -->
|
2
|
+
<script src="/vendor/jquery/jquery.min.js"></script>
|
3
|
+
<script src="/vendor/tether/tether.min.js"></script>
|
4
|
+
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
|
5
|
+
|
6
|
+
<!-- Plugin JavaScript -->
|
7
|
+
<script src="/vendor/jquery-easing/jquery.easing.min.js"></script>
|
8
|
+
|
9
|
+
<!-- Custom scripts for this template -->
|
10
|
+
<script src="/js/new-age.min.js"></script>
|
11
|
+
<script src="/js/nav.js"></script>
|
12
|
+
|
13
|
+
{% if site.google_analytics and jekyll.environment == "production" %}
|
14
|
+
{% include google_analytics.html %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div id="codefund"><!-- fallback content --></div>
|
18
|
+
<script src="https://codefund.app/properties/177/funder.js" async="async"></script>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- Navigation -->
|
2
|
+
<nav class="navbar fixed-top navbar-toggleable-md navbar-light" id="mainNav">
|
3
|
+
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarExample" aria-controls="navbarExample" aria-expanded="false" aria-label="Toggle navigation">
|
4
|
+
Menu <i class="fa fa-bars"></i>
|
5
|
+
</button>
|
6
|
+
<div class="container">
|
7
|
+
<a class="navbar-brand" href="/#page-top"><img class="navbar-logo" src="/img/logos/project-logo.png" />CodeBuild</a>
|
8
|
+
<div class="collapse navbar-collapse" id="navbarExample">
|
9
|
+
<ul class="navbar-nav ml-auto">
|
10
|
+
<li class="nav-item"><a class="nav-link" href="{% link quick-start.md %}">Quick Start</a></li>
|
11
|
+
<li class="nav-item"><a class="nav-link" href="{% link docs.md %}">Docs</a></li>
|
12
|
+
<li class="nav-item"><a class="nav-link" href="{% link support.md %}">Support</a></li>
|
13
|
+
<li class="nav-item"><a class="nav-link" href="https://github.com/tongueroo/codebuild">GitHub</a></li>
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</nav>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{% assign all_pages = site.pages | concat: site.docs | where_exp: "item", "item.nav_order" %}
|
2
|
+
{% assign links = all_pages | sort: "nav_order" %}
|
3
|
+
{% for link in links %}
|
4
|
+
{% if link.url == page.url %}
|
5
|
+
{% unless forloop.first %}
|
6
|
+
{% assign prev = tmpprev %}
|
7
|
+
{% endunless %}
|
8
|
+
{% if forloop.last %}
|
9
|
+
{% assign last = "/reference" %}
|
10
|
+
{% else %}
|
11
|
+
{% assign next = links[forloop.index] %}
|
12
|
+
{% endif %}
|
13
|
+
{% endif %}
|
14
|
+
{% assign tmpprev = link %}
|
15
|
+
{% endfor %}
|
16
|
+
|
17
|
+
{% if prev %}<a id="prev" class="btn btn-basic" href="{{ prev.url }}">Back</a>{% endif %}{% if last %}<a id="next" class="btn btn-primary" href="/reference">Next Step</a>{% endif %}
|
18
|
+
{% if next %}<a id="next" class="btn btn-primary" href="{{ next.url }}">Next Step</a>{% endif %}
|
19
|
+
<p class="keyboard-tip">Pro tip: Use the <- and -> arrow keys to move back and forward.</p>
|