codepipeline 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +16 -11
- data/.gitmodules +9 -0
- data/.rspec +1 -1
- data/CHANGELOG.md +16 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +111 -0
- data/Guardfile +19 -0
- data/LICENSE.txt +18 -17
- data/README.md +44 -20
- data/Rakefile +10 -2
- data/codepipe.gemspec +38 -0
- 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 +43 -0
- data/docs/_docs/deploy.md +72 -0
- data/docs/_docs/dsl.md +13 -0
- data/docs/_docs/dsl/approve.md +62 -0
- data/docs/_docs/dsl/pipeline.md +56 -0
- data/docs/_docs/dsl/pipeline/action.md +28 -0
- data/docs/_docs/dsl/pipeline/codebuild.md +62 -0
- data/docs/_docs/dsl/pipeline/prefix-and-suffix.md +57 -0
- data/docs/_docs/dsl/role.md +79 -0
- data/docs/_docs/dsl/schedule.md +29 -0
- data/docs/_docs/dsl/sns.md +27 -0
- data/docs/_docs/dsl/webhook.md +31 -0
- data/docs/_docs/ecs-deploy.md +24 -0
- data/docs/_docs/examples/different-branches.md +50 -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 +31 -0
- data/docs/_includes/commands.html +92 -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 +15 -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 +46 -0
- data/docs/_includes/tutorials.md +38 -0
- data/docs/_layouts/default.html +12 -0
- data/docs/_reference/pipe-completion.md +44 -0
- data/docs/_reference/pipe-completion_script.md +25 -0
- data/docs/_reference/pipe-delete.md +25 -0
- data/docs/_reference/pipe-deploy.md +26 -0
- data/docs/_reference/pipe-init.md +25 -0
- data/docs/_reference/pipe-start.md +25 -0
- data/docs/_reference/pipe-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 +24 -0
- data/docs/dsl/pipeline.md +76 -0
- data/docs/dsl/role.md +66 -0
- data/docs/dsl/schedule.md +20 -0
- data/docs/img/docs/codepipeline-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 +73 -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/codepipeline +14 -0
- data/exe/pipe +14 -0
- data/lib/codepipe.rb +23 -0
- data/lib/codepipe/autoloader.rb +21 -0
- data/lib/codepipe/aws_services.rb +20 -0
- data/lib/codepipe/aws_services/helpers.rb +71 -0
- data/lib/codepipe/build.rb +13 -0
- data/lib/codepipe/cli.rb +60 -0
- data/lib/codepipe/command.rb +82 -0
- data/lib/codepipe/completer.rb +159 -0
- data/lib/codepipe/completer/script.rb +6 -0
- data/lib/codepipe/completer/script.sh +10 -0
- data/lib/codepipe/core.rb +63 -0
- data/lib/codepipe/create.rb +12 -0
- data/lib/codepipe/delete.rb +27 -0
- data/lib/codepipe/deploy.rb +40 -0
- data/lib/codepipe/dsl/pipeline.rb +37 -0
- data/lib/codepipe/dsl/pipeline/approve.rb +34 -0
- data/lib/codepipe/dsl/pipeline/codebuild.rb +57 -0
- data/lib/codepipe/dsl/pipeline/github.rb +36 -0
- data/lib/codepipe/dsl/role.rb +50 -0
- data/lib/codepipe/dsl/schedule.rb +30 -0
- data/lib/codepipe/dsl/sns.rb +15 -0
- data/lib/codepipe/dsl/ssm.rb +22 -0
- data/lib/codepipe/dsl/webhook.rb +27 -0
- data/lib/codepipe/evaluate.rb +47 -0
- data/lib/codepipe/help.rb +9 -0
- data/lib/codepipe/help/completion.md +22 -0
- data/lib/codepipe/help/completion_script.md +3 -0
- data/lib/codepipe/help/hello.md +5 -0
- data/lib/codepipe/init.rb +57 -0
- data/lib/codepipe/pipeline.rb +61 -0
- data/lib/codepipe/pipeline/s3_bucket.rb +88 -0
- data/lib/codepipe/role.rb +181 -0
- data/lib/codepipe/schedule.rb +99 -0
- data/lib/codepipe/sequence.rb +66 -0
- data/lib/codepipe/setting.rb +79 -0
- data/lib/codepipe/sns.rb +43 -0
- data/lib/codepipe/stack.rb +95 -0
- data/lib/codepipe/start.rb +83 -0
- data/lib/codepipe/update.rb +12 -0
- data/lib/codepipe/version.rb +3 -0
- data/lib/codepipe/webhook.rb +60 -0
- data/lib/codepipeline.rb +1 -6
- data/lib/template/.codepipeline/pipeline.rb.tt +33 -0
- data/lib/template/.codepipeline/schedule.rb +3 -0
- data/lib/template/.codepipeline/settings.yml +9 -0
- data/lib/template/.codepipeline/sns.rb +14 -0
- data/spec/fixtures/app/.codepipeline/pipeline.rb +12 -0
- data/spec/fixtures/app/.codepipeline/schedule.rb +1 -0
- data/spec/fixtures/app/.codepipeline/webhook.rb +1 -0
- data/spec/fixtures/pipelines/approve.rb +22 -0
- data/spec/fixtures/pipelines/approve_existing_sns.rb +24 -0
- data/spec/lib/cli_spec.rb +18 -0
- data/spec/lib/pipeline/approve_spec.rb +32 -0
- data/spec/lib/pipeline_spec.rb +12 -0
- data/spec/lib/role_spec.rb +12 -0
- data/spec/lib/schedule_spec.rb +12 -0
- data/spec/lib/webhook_spec.rb +12 -0
- data/spec/spec_helper.rb +35 -0
- metadata +419 -22
- data/.travis.yml +0 -7
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/codepipeline.gemspec +0 -27
- data/lib/codepipeline/version.rb +0 -3
@@ -0,0 +1,92 @@
|
|
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
|
+
pipe init
|
17
|
+
pipe deploy
|
18
|
+
pipe start
|
19
|
+
pipe 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
|
+
.codepipeline
|
28
|
+
├── pipeline.rb
|
29
|
+
├── schedule.rb
|
30
|
+
├── settings.yml
|
31
|
+
└── webhook.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
|
+
pipe deploy # infers the pipeline name from the parent folder
|
42
|
+
pipe deploy pipeline-name # explicitly specify pipeline name
|
43
|
+
|
44
|
+
pipe start # infers the pipeline name from the parent folder
|
45
|
+
pipe start demo-project # explicitly specify pipeline name
|
46
|
+
{% endhighlight %}
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
<div class="col-lg-6">
|
50
|
+
<h3>pipeline.rb</h3>
|
51
|
+
<div class="commands">
|
52
|
+
{% highlight ruby %}
|
53
|
+
stage "Source" do
|
54
|
+
github(
|
55
|
+
source: "tongueroo/demo-cb",
|
56
|
+
branch: "master",
|
57
|
+
auth_token: ssm("/codebuild/github/tongueroo/oauth_token")
|
58
|
+
)
|
59
|
+
end
|
60
|
+
stage "DeployStacks" do
|
61
|
+
codebuild "demo1" # action declaration
|
62
|
+
codebuild "demo2", "demo3" # will run in parallel
|
63
|
+
codebuild "demo4" # action declaration
|
64
|
+
end
|
65
|
+
{% endhighlight %}
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
<div class="row">
|
70
|
+
<div class="col-lg-6">
|
71
|
+
<h3>role.rb</h3>
|
72
|
+
<div class="commands">
|
73
|
+
|
74
|
+
{% highlight ruby %}
|
75
|
+
iam_policy("logs", "ssm")
|
76
|
+
{% endhighlight %}
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
<div class="col-lg-6">
|
80
|
+
<h3>webhook.rb</h3>
|
81
|
+
<div class="commands">
|
82
|
+
{% highlight ruby %}
|
83
|
+
github_token(ssm("/codebuild/github/token"))
|
84
|
+
{% endhighlight %}
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</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="http://ufoships.com">Ufo</a></li>
|
9
|
+
<li><a href="http://lono.cloud">Lono</a></li>
|
10
|
+
<li><a href="http://sonic-screwdriver.cloud">Sonic</a></li>
|
11
|
+
<li><a href="http://jack-eb.com">Jack</a></li>
|
12
|
+
<li><a href="https://boltops.com/toolbelt">Toolbelt</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>TODO: default title</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,15 @@
|
|
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 %}
|
@@ -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" />CodePipeline</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/codepipeline">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>
|
@@ -0,0 +1 @@
|
|
1
|
+
TODO: reference description
|
@@ -0,0 +1,46 @@
|
|
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/deploy.md %}">Deploy</a></li>
|
8
|
+
<li><a href="{% link _docs/start.md %}">Start</a></li>
|
9
|
+
<li><a href="{% link _docs/settings.md %}">Settings</a></li>
|
10
|
+
<li><a href="{% link _docs/conventions.md %}">Conventions</a></li>
|
11
|
+
</ul>
|
12
|
+
</li>
|
13
|
+
<li><a href="{% link _docs/dsl.md %}">DSL Syntax</a>
|
14
|
+
<ul>
|
15
|
+
{% assign docs = site.docs | where: "categories","dsl" %} {% for doc in docs -%}
|
16
|
+
{% if doc.nav_text == "Pipeline" %}
|
17
|
+
<li><a href='{{doc.url}}'>{{doc.nav_text}}</a>
|
18
|
+
<ul>
|
19
|
+
{% assign docs = site.docs | where: "categories","dsl-pipeline" %} {% for doc in docs -%}
|
20
|
+
<li><a href='{{doc.url}}'>{{doc.nav_text}}</a></li>
|
21
|
+
{% endfor %}
|
22
|
+
</ul>
|
23
|
+
</li>
|
24
|
+
{% else %}
|
25
|
+
<li><a href='{{doc.url}}'>{{doc.nav_text}}</a></li>
|
26
|
+
{% endif %}
|
27
|
+
{% endfor %}
|
28
|
+
</ul>
|
29
|
+
</li>
|
30
|
+
<li>Examples
|
31
|
+
<ul>
|
32
|
+
{% assign docs = site.docs | where: "categories","examples" %} {% for doc in docs -%}
|
33
|
+
<li><a href='{{doc.url}}'>{{doc.nav_text}}</a></li>
|
34
|
+
{% endfor %}
|
35
|
+
</ul>
|
36
|
+
</li>
|
37
|
+
<li>More
|
38
|
+
<ul class="more">
|
39
|
+
<li><a href="{% link _docs/ecs-deploy.md %}">ECS Deploy</a></li>
|
40
|
+
<li><a href="{% link support.md %}">Support</a></li>
|
41
|
+
<li><a href="{% link _docs/next-steps.md %}">Next Steps</a></li>
|
42
|
+
<li><a href="{% link reference.md %}">CLI Reference</a></li>
|
43
|
+
</ul>
|
44
|
+
</li>
|
45
|
+
</ul>
|
46
|
+
</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: pipe completion
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
pipe completion *PARAMS
|
9
|
+
|
10
|
+
## Description
|
11
|
+
|
12
|
+
Prints words for auto-completion.
|
13
|
+
|
14
|
+
Example:
|
15
|
+
|
16
|
+
codepipe completion
|
17
|
+
|
18
|
+
Prints words for TAB auto-completion.
|
19
|
+
|
20
|
+
Examples:
|
21
|
+
|
22
|
+
codepipe completion
|
23
|
+
codepipe completion hello
|
24
|
+
codepipe completion hello name
|
25
|
+
|
26
|
+
To enable, TAB auto-completion add the following to your profile:
|
27
|
+
|
28
|
+
eval $(codepipe completion_script)
|
29
|
+
|
30
|
+
Auto-completion example usage:
|
31
|
+
|
32
|
+
codepipe [TAB]
|
33
|
+
codepipe hello [TAB]
|
34
|
+
codepipe hello name [TAB]
|
35
|
+
codepipe 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: pipe completion_script
|
3
|
+
reference: true
|
4
|
+
---
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
pipe 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 $(codepipe completion_script)
|
17
|
+
|
18
|
+
|
19
|
+
## Options
|
20
|
+
|
21
|
+
```
|
22
|
+
[--verbose], [--no-verbose]
|
23
|
+
[--noop], [--no-noop]
|
24
|
+
```
|
25
|
+
|