You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/01/06 19:35:48 UTC

[1/4] incubator-trafficcontrol git commit: change tarball name from incubator-... to incubation-...

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 4ba5c5221 -> 491b00d6c


change tarball name from incubator-... to incubation-...


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/f965b097
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/f965b097
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/f965b097

Branch: refs/heads/master
Commit: f965b09742fdabaee5368fd62930ed48cfcf9e87
Parents: 4ba5c52
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Jan 5 16:12:15 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Jan 5 16:51:09 2017 -0700

----------------------------------------------------------------------
 build/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f965b097/build/functions.sh
----------------------------------------------------------------------
diff --git a/build/functions.sh b/build/functions.sh
index 9175906..816d4c1 100755
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -159,7 +159,7 @@ function buildRpm () {
 # ---------------------------------------
 function createTarball() {
 	local projDir=$(cd "$1"; pwd)
-	local projName=incubator-trafficcontrol
+	local projName=incubation-trafficcontrol
 	local version=$(getVersion "$TC_DIR")
 	local tarball="dist/$projName-$version.tar.gz"
 


[4/4] incubator-trafficcontrol git commit: This closes #164

Posted by mi...@apache.org.
This closes #164


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/491b00d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/491b00d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/491b00d6

Branch: refs/heads/master
Commit: 491b00d6c0d6b966b9f211d6875942e21a244eab
Parents: 77c8ad0
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Fri Jan 6 12:35:32 2017 -0700
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Fri Jan 6 12:35:32 2017 -0700

----------------------------------------------------------------------

----------------------------------------------------------------------



[3/4] incubator-trafficcontrol git commit: add docker-compose cleanup and component names to build instructions

Posted by mi...@apache.org.
add docker-compose cleanup and component names to build instructions


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/77c8ad07
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/77c8ad07
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/77c8ad07

Branch: refs/heads/master
Commit: 77c8ad078a6e9925a6b780323bcb377611753793
Parents: c5b7cd1
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri Jan 6 10:58:54 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jan 6 11:29:25 2017 -0700

----------------------------------------------------------------------
 BUILD.md | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/77c8ad07/BUILD.md
----------------------------------------------------------------------
diff --git a/BUILD.md b/BUILD.md
index db2adb2..aabefe9 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -14,10 +14,24 @@ are automatically loaded into the image used to build each component.
 From the top level of the incubator-trafficcontrol directory.  Use the BRANCH
 environment variable to specify the version of Traffic Control to build.   One
 or more components (with \_build suffix added) can be added on the command
-line:
+line.
 
-> $ BRANCH=1.8.x docker-compose -f infrastructure/docker/build/docker-compose.yml up traffic\_monitor\_build
+Clean up any previously-built docker containers:
+> $ docker-compose -f infrastructure/docker/build/docker-compose.yml down -v
 
-If no component names are provided here, all components will be built.
+And images:
+> $ docker images | awk '/traffic\_.\*\_build/ { print $3 }' | xargs docker rmi -f
 
+Create and run new build containers:
+> $ BRANCH=1.8.x docker-compose -f infrastructure/docker/build/docker-compose.yml up [ container name ...] 
 
+Container names can be one or more of these:
+* `traffic_monitor_build`
+* `traffic_ops_build`
+* `traffic_portal_build`
+* `traffic_router_build`
+* `traffic_stats_build`
+
+If no component names are provided on the command line, all components will be built.
+
+All rpms are copied to the following directory:  `infrastructure/docker/build/artifacts`.


[2/4] incubator-trafficcontrol git commit: add build instruction

Posted by mi...@apache.org.
add build instruction


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/c5b7cd19
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/c5b7cd19
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/c5b7cd19

Branch: refs/heads/master
Commit: c5b7cd19a0156ed425efa3575b198e90c970e910
Parents: f965b09
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Jan 5 14:47:52 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Jan 5 16:51:46 2017 -0700

----------------------------------------------------------------------
 BUILD.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c5b7cd19/BUILD.md
----------------------------------------------------------------------
diff --git a/BUILD.md b/BUILD.md
new file mode 100644
index 0000000..db2adb2
--- /dev/null
+++ b/BUILD.md
@@ -0,0 +1,23 @@
+# Building Traffic Control Components
+
+## Build using docker-compose
+
+This is the easiest way to build all the components of Traffic Control; all requirements
+are automatically loaded into the image used to build each component.
+
+### Requirements
+- `docker` (https://docs.docker.com/engine/installation/)
+- `docker-compose` (https://docs.docker.com/compose/install/)
+
+### Steps
+
+From the top level of the incubator-trafficcontrol directory.  Use the BRANCH
+environment variable to specify the version of Traffic Control to build.   One
+or more components (with \_build suffix added) can be added on the command
+line:
+
+> $ BRANCH=1.8.x docker-compose -f infrastructure/docker/build/docker-compose.yml up traffic\_monitor\_build
+
+If no component names are provided here, all components will be built.
+
+