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 @@
|
|
1
|
+
Codebuild is a tool that simplifies the process of creating CodeBuild projects. It does this by providing a DSL to create a CodeBuild project with some reasonable defaults.
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<div class="col-md-3 content-nav">
|
2
|
+
<ul>
|
3
|
+
<li><a href="{% link quick-start.md %}">Quick Start</a></li>
|
4
|
+
<li><a href="{% link docs.md %}">Docs</a>
|
5
|
+
<ul class="docs">
|
6
|
+
<li><a href="{% link _docs/install.md %}">Install</a></li>
|
7
|
+
<li><a href="{% link _docs/type-option.md %}">Type Option</a></li>
|
8
|
+
<li><a href="{% link _docs/variables.md %}">Variables Support</a></li>
|
9
|
+
<li><a href="{% link _docs/deploy.md %}">Deploy</a></li>
|
10
|
+
<li><a href="{% link _docs/start.md %}">Start</a></li>
|
11
|
+
<li><a href="{% link _docs/settings.md %}">Settings</a></li>
|
12
|
+
<li><a href="{% link _docs/conventions.md %}">Naming Conventions</a></li>
|
13
|
+
<li><a href="{% link _docs/github_oauth.md %}">Github Oauth</a></li>
|
14
|
+
</ul>
|
15
|
+
</li>
|
16
|
+
<li><a href="{% link _docs/dsl.md %}">DSL Syntax</a>
|
17
|
+
<ul>
|
18
|
+
{% assign docs = site.docs | where: "categories","dsl" %} {% for doc in docs -%}
|
19
|
+
<li><a href='{{doc.url}}'>{{doc.nav_text}}</a></li>
|
20
|
+
{% endfor %}
|
21
|
+
</ul>
|
22
|
+
</li>
|
23
|
+
<li><a href="{% link _docs/examples.md %}">Examples</a>
|
24
|
+
<ul>
|
25
|
+
{% assign docs = site.docs | where: "categories","example" %} {% for doc in docs -%}
|
26
|
+
<li><a href='{{doc.url}}'>{{doc.nav_text}}</a></li>
|
27
|
+
{% endfor %}
|
28
|
+
</ul>
|
29
|
+
</li>
|
30
|
+
<li>More
|
31
|
+
<ul class="more">
|
32
|
+
<li><a href="{% link support.md %}">Support</a></li>
|
33
|
+
<li><a href="{% link _docs/next-steps.md %}">Next Steps</a></li>
|
34
|
+
<li><a href="{% link reference.md %}">CLI Reference</a></li>
|
35
|
+
</ul>
|
36
|
+
</li>
|
37
|
+
</ul>
|
38
|
+
</div>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
## Introducing Jets
|
2
|
+
|
3
|
+
<div class="video-box"><div class="video-container"><iframe src="https://www.youtube.com/embed/17Y3AJl9dw4" frameborder="0" allowfullscreen=""></iframe></div></div>
|
4
|
+
|
5
|
+
## Jets Introduction Series
|
6
|
+
|
7
|
+
Introductions are focused on AWS fundamental essentials.
|
8
|
+
|
9
|
+
{% assign posts = site.data.intro_series %}
|
10
|
+
{% for post in posts %}
|
11
|
+
* [{{ post.title }}]({{ post.url }}){% endfor %}
|
12
|
+
|
13
|
+
## Jets Tutorial Series
|
14
|
+
|
15
|
+
Tutorials are focused on Jets fundamentals.
|
16
|
+
|
17
|
+
{% assign posts = site.data.tutorial_series %}
|
18
|
+
{% for post in posts %}
|
19
|
+
* [{{ post.title }}]({{ post.url }}){% endfor %}
|
20
|
+
|
21
|
+
## Jets Articles
|
22
|
+
|
23
|
+
Articles, tutorials, and demos on Jets.
|
24
|
+
|
25
|
+
{% assign posts = site.data.articles %}
|
26
|
+
{% for post in posts %}
|
27
|
+
* [{{ post.title }}]({{ post.url }}){% endfor %}
|
28
|
+
|
29
|
+
## Tutorials
|
30
|
+
|
31
|
+
* [HTML ActiveRecord Tutorial]({% link _docs/crud-html-activerecord.md %})
|
32
|
+
* [JSON ActiveRecord Tutorial]({% link _docs/crud-json-activerecord.md %})
|
33
|
+
|
34
|
+
## Videos
|
35
|
+
|
36
|
+
{% assign posts = site.data.video_playlists %}
|
37
|
+
{% for post in posts %}
|
38
|
+
* [{{ post.title }}]({{ post.url }}){% endfor %}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
title: codebuild completion
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
codebuild completion *PARAMS
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
Prints words for auto-completion.
|
13
|
+
|
14
|
+
Example:
|
15
|
+
|
16
|
+
codebuild completion
|
17
|
+
|
18
|
+
Prints words for TAB auto-completion.
|
19
|
+
|
20
|
+
Examples:
|
21
|
+
|
22
|
+
codebuild completion
|
23
|
+
codebuild completion hello
|
24
|
+
codebuild completion hello name
|
25
|
+
|
26
|
+
To enable, TAB auto-completion add the following to your profile:
|
27
|
+
|
28
|
+
eval $(codebuild completion_script)
|
29
|
+
|
30
|
+
Auto-completion example usage:
|
31
|
+
|
32
|
+
codebuild [TAB]
|
33
|
+
codebuild hello [TAB]
|
34
|
+
codebuild hello name [TAB]
|
35
|
+
codebuild hello name --[TAB]
|
36
|
+
|
37
|
+
|
38
|
+
## Options
|
39
|
+
|
40
|
+
```
|
41
|
+
[--verbose], [--no-verbose]
|
42
|
+
[--noop], [--no-noop]
|
43
|
+
```
|
44
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
title: codebuild completion_script
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
codebuild completion_script
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
Generates a script that can be eval to setup auto-completion.
|
13
|
+
|
14
|
+
To use, add the following to your `~/.bashrc` or `~/.profile`
|
15
|
+
|
16
|
+
eval $(codebuild completion_script)
|
17
|
+
|
18
|
+
|
19
|
+
## Options
|
20
|
+
|
21
|
+
```
|
22
|
+
[--verbose], [--no-verbose]
|
23
|
+
[--noop], [--no-noop]
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
title: codebuild delete
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
codebuild delete
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
Delete codebuild project.
|
13
|
+
|
14
|
+
|
15
|
+
## Options
|
16
|
+
|
17
|
+
```
|
18
|
+
[--sure=SURE] # Bypass are you sure prompt
|
19
|
+
[--type=TYPE] # folder to use within .codebuild folder for different build types
|
20
|
+
[--stack-name=STACK_NAME] # Override the generated stack name. If you use this you must always specify it
|
21
|
+
[--wait], [--no-wait] # Wait for operation to complete
|
22
|
+
# Default: true
|
23
|
+
[--verbose], [--no-verbose]
|
24
|
+
[--noop], [--no-noop]
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,58 @@
|
|
1
|
+
---
|
2
|
+
title: codebuild deploy
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
codebuild deploy
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
Deploy codebuild project.
|
13
|
+
|
14
|
+
## Examples
|
15
|
+
|
16
|
+
cb deploy PROJECT_NAME # explicitly specify project-name
|
17
|
+
cb deploy # infers the CodeBuild name from the parent folder
|
18
|
+
|
19
|
+
It is useful to just see the generated CloudFormation template with `--noop` mode:
|
20
|
+
|
21
|
+
cb deploy PROJECT_NAME --noop # see generated CloudFormation template
|
22
|
+
|
23
|
+
## Types
|
24
|
+
|
25
|
+
By default, the codebuild tool looks up files in the `.codebuild` folder. Example:
|
26
|
+
|
27
|
+
.codebuild/buildspec.yml
|
28
|
+
.codebuild/project.rb
|
29
|
+
.codebuild/role.rb
|
30
|
+
|
31
|
+
### Examples
|
32
|
+
|
33
|
+
cb deploy PROJECT_NAME --type deploy
|
34
|
+
|
35
|
+
This will look up buildspec.yml, project.rb, and role.rb files in the `.codebuild/deploy` folder. So:
|
36
|
+
|
37
|
+
.codebuild/deploy/buildspec.yml
|
38
|
+
.codebuild/deploy/project.rb
|
39
|
+
.codebuild/deploy/role.rb
|
40
|
+
|
41
|
+
Likewise `cb deploy PROJECT_NAME --type unit` would result in:
|
42
|
+
|
43
|
+
.codebuild/unit/buildspec.yml
|
44
|
+
.codebuild/unit/project.rb
|
45
|
+
.codebuild/unit/role.rb
|
46
|
+
|
47
|
+
|
48
|
+
## Options
|
49
|
+
|
50
|
+
```
|
51
|
+
[--type=TYPE] # folder to use within .codebuild folder for different build types
|
52
|
+
[--stack-name=STACK_NAME] # Override the generated stack name. If you use this you must always specify it
|
53
|
+
[--wait], [--no-wait] # Wait for operation to complete
|
54
|
+
# Default: true
|
55
|
+
[--verbose], [--no-verbose]
|
56
|
+
[--noop], [--no-noop]
|
57
|
+
```
|
58
|
+
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
title: codebuild init
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
codebuild init
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
Set up initial .codebuild files.
|
13
|
+
|
14
|
+
## Examples
|
15
|
+
|
16
|
+
cb init # infers the name from the parent folder
|
17
|
+
cb init my-project # set the name
|
18
|
+
|
19
|
+
## Type Option
|
20
|
+
|
21
|
+
The type option is useful to generate subfolder under .codebuild that contain another codebuild project. Example:
|
22
|
+
|
23
|
+
cb init --type unit
|
24
|
+
|
25
|
+
Thi generates the cb files under the `.codebuild/unit` folder.
|
26
|
+
|
27
|
+
.codebuild
|
28
|
+
└── unit
|
29
|
+
├── buildspec.yml
|
30
|
+
├── project.rb
|
31
|
+
├── role.rb
|
32
|
+
└── schedule.rb
|
33
|
+
|
34
|
+
To tell the codebuild tool to use these files, you specify the `--type` option as a part of the other commands. Examples:
|
35
|
+
|
36
|
+
cb deploy --type unit
|
37
|
+
cb start --type unit
|
38
|
+
|
39
|
+
## Structure
|
40
|
+
|
41
|
+
So if you need multiple CodeBuild projects that perform different tasks but are both related to the same code repo, you might have a structure like this:
|
42
|
+
|
43
|
+
.codebuild
|
44
|
+
├── deploy
|
45
|
+
│ ├── buildspec.yml
|
46
|
+
│ ├── project.rb
|
47
|
+
│ ├── role.rb
|
48
|
+
│ └── schedule.rb
|
49
|
+
└── unit
|
50
|
+
├── buildspec.yml
|
51
|
+
├── project.rb
|
52
|
+
├── role.rb
|
53
|
+
└── schedule.rb
|
54
|
+
|
55
|
+
## Custom Templates
|
56
|
+
|
57
|
+
If you would like the `cb init` command to use your own custom templates, you can achieve this with the `--template` and `--template-mode` options. Example:
|
58
|
+
|
59
|
+
cb init --template=tongueroo/codebuild-custom-template
|
60
|
+
|
61
|
+
This will clone the repo on GitHub into the `~/.codebuild/templates/tongueroo/codebuild-custom-template` and use that as an additional template source. The default `--template-mode=additive` mode means that if there's a file in `tongueroo/codebuild-custom-template` that exists it will use that in place of the default template files.
|
62
|
+
|
63
|
+
If you do not want to use any of the original default template files within the codebuild gem at all, you can use the `--template-mode=replace` mode. Replace mode will only use templates from the provided `--template` option. Example:
|
64
|
+
|
65
|
+
cb init --template=tongueroo/codebuild-custom-template --template-mode=replace
|
66
|
+
|
67
|
+
You can also specific the full GitHub url. Example:
|
68
|
+
|
69
|
+
cb init --template=https://github.com/tongueroo/codebuild-custom-template
|
70
|
+
|
71
|
+
If you would like to use a local template that is not on GitHub, then created a top-level folder in `~/.codebuild/templates` without a subfolder. Example:
|
72
|
+
|
73
|
+
cb init --template=my-custom # uses ~/.codebuild/templates/my-custom
|
74
|
+
|
75
|
+
|
76
|
+
## Options
|
77
|
+
|
78
|
+
```
|
79
|
+
[--force] # Bypass overwrite are you sure prompt for existing files
|
80
|
+
[--name=NAME] # CodeBuild project name
|
81
|
+
[--template=TEMPLATE] # Custom template to use
|
82
|
+
[--template-mode=TEMPLATE_MODE] # Template mode: replace or additive
|
83
|
+
[--type=TYPE] # Type option creates a subfolder under .codebuild
|
84
|
+
[--verbose], [--no-verbose]
|
85
|
+
[--noop], [--no-noop]
|
86
|
+
```
|
87
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
title: codebuild start
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
codebuild start
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
start codebuild project.
|
13
|
+
|
14
|
+
# Examples
|
15
|
+
|
16
|
+
cb start # infers the name from the parent folder
|
17
|
+
cb start stack-name # looks up project via CloudFormation stack
|
18
|
+
cb start demo-project # looks up project via codebuild project name
|
19
|
+
|
20
|
+
## Overriding Env Variables at Runtime
|
21
|
+
|
22
|
+
You can override env variables at runtime with `--env-vars`. Examples:
|
23
|
+
|
24
|
+
cb start --type vpc --env-vars K1=v1 K2=v2
|
25
|
+
cb start --type vpc --env-vars K1=v1 K2=ssm:v2 # support for PARAMETER_STORE
|
26
|
+
|
27
|
+
|
28
|
+
## Options
|
29
|
+
|
30
|
+
```
|
31
|
+
[--source-version=SOURCE_VERSION] # git branch
|
32
|
+
# Default: master
|
33
|
+
b, [--branch=BRANCH] # git branch
|
34
|
+
# Default: master
|
35
|
+
[--env-vars=one two three] # env var overrides. IE: KEY1=VALUE1 KEY2=VALUE2
|
36
|
+
[--type=TYPE] # folder to use within .codebuild folder for different build types
|
37
|
+
[--stack-name=STACK_NAME] # Override the generated stack name. If you use this you must always specify it
|
38
|
+
[--wait], [--no-wait] # Wait for operation to complete
|
39
|
+
# Default: true
|
40
|
+
[--verbose], [--no-verbose]
|
41
|
+
[--noop], [--no-noop]
|
42
|
+
```
|
43
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// Bootstrap overrides for this template
|
2
|
+
.bg-primary {
|
3
|
+
// background: $theme-primary;
|
4
|
+
// background: -webkit-linear-gradient($theme-primary, darken($theme-primary, 5%));
|
5
|
+
// background: linear-gradient(#c70000, darken($theme-primary, 5%));
|
6
|
+
background-color: #730c0c !important;
|
7
|
+
}
|
8
|
+
|
9
|
+
.text-primary {
|
10
|
+
color: $theme-primary;
|
11
|
+
}
|
12
|
+
|
13
|
+
.no-gutter > [class*='col-'] {
|
14
|
+
padding-right: 0;
|
15
|
+
padding-left: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
.btn-outline {
|
19
|
+
color: white;
|
20
|
+
border: 1px solid;
|
21
|
+
border-color: white;
|
22
|
+
&:hover,
|
23
|
+
&:focus,
|
24
|
+
&:active,
|
25
|
+
&.active {
|
26
|
+
color: white;
|
27
|
+
border-color: $theme-primary;
|
28
|
+
background-color: $theme-primary;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.btn {
|
33
|
+
border-radius: 300px;
|
34
|
+
@include alt-font;
|
35
|
+
}
|
36
|
+
|
37
|
+
.btn-xl {
|
38
|
+
font-size: 11px;
|
39
|
+
padding: 15px 45px;
|
40
|
+
}
|