In this blog post, we cover CI part of CICD with Docker as an example. At a high level, this blog post will show you a way to create a docker image and push it to a registry on every commit to a github repo. You've probably read our own James Fryman's excellent blog post on continuous delivery with StackStorm in a more traditional environment. If not, I highly recommend reading it. Before getting into the details, here's some motivation for switching to container based immutable infrastructure.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dfw1-maas-prod-api0:/etc/sv/check_http_status_code# grep "17:50:12" /var/log/apache2/access/log/current | |
monitoring.api.rackspacecloud.com:80 10.14.238.3 - - [19/Jan/2013:17:50:12 +0000] "GET /" 301 349 "-" "-" "-" 401 | |
monitoring.api.rackspacecloud.com:80 10.14.238.2 - - [19/Jan/2013:17:50:12 +0000] "GET /" 301 349 "-" "-" "-" 503 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined | |
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" \"%{X-Response-Id}o\" %D" raxvhost_combined | |
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined | |
LogFormat "%h %l %u %t \"%r\" %>s %O" common | |
LogFormat "%{Referer}i -> %U" referer | |
LogFormat "%{User-agent}i" agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input: "one two three" | |
Output: "eno owt eerht" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WF1 | |
A: | |
B: | |
C: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [freight] adding st2api_0.8.0-5_amd64.deb to pool | |
# [freight] adding st2auth_0.8.0-5_amd64.deb to pool | |
# [freight] adding st2common_0.8.0-5_amd64.deb to pool | |
# [freight] adding st2debug_0.8.0-5_amd64.deb to pool | |
# [freight] adding st2reactor_0.8.0-5_amd64.deb to pool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Spark [491] | |
Path: /Applications/Spark.app/Contents/MacOS/Spark | |
Identifier: Cisco-Systems.Spark | |
Version: 1.3244 (3244) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Spark [491] | |
User ID: 501 | |
Date/Time: 2015-08-19 11:38:43.543 -0700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installation failures and next steps | |
==================================== | |
We have seen installer failing for the following reasons: | |
1) Problem: Installer is running behind a proxy. | |
Solution: While we make the installer resilient to handle proxies (probably next release), please use AWS to try out StackStorm. | |
Here are the image ids available in the us-east-1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Documents ❯❯❯ traceroute stackstorm.slack.com ⏎ | |
traceroute: Warning: stackstorm.slack.com has multiple addresses; using 52.5.113.141 | |
traceroute to stackstorm.slack.com (52.5.113.141), 64 hops max, 52 byte packets | |
1 rt-n56u (192.168.200.1) 1.297 ms 0.860 ms 1.270 ms | |
2 24.130.8.1 (24.130.8.1) 13.910 ms 13.385 ms 14.055 ms | |
3 te-0-3-0-2-sur04.santaclara.ca.sfba.comcast.net (68.86.249.169) 17.148 ms 15.017 ms 13.761 ms | |
4 hu-0-3-0-7-ar01.hayward.ca.sfba.comcast.net (68.87.192.253) 15.344 ms | |
hu-0-3-0-6-ar01.hayward.ca.sfba.comcast.net (68.87.192.249) 15.396 ms 15.670 ms | |
5 he-0-19-0-0-ar01.santaclara.ca.sfba.comcast.net (68.85.154.253) 23.606 ms 16.103 ms | |
hu-0-0-0-1-ar01.santaclara.ca.sfba.comcast.net (68.85.57.145) 15.556 ms |
OlderNewer