cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject cordova-medic git commit: Adding docs for adding slaves to Apache's master. Also adding some helpful pointers.
Date Tue, 14 Apr 2015 08:50:24 GMT
Repository: cordova-medic
Updated Branches:
  refs/heads/master 527280797 -> cd54cfdc9


Adding docs for adding slaves to Apache's master. Also adding some helpful pointers.

This closes #42


Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/cd54cfdc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/cd54cfdc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/cd54cfdc

Branch: refs/heads/master
Commit: cd54cfdc9b510ce0d225d0e7376a1e009393db83
Parents: 5272807
Author: Dmitry Blotsky <dblotsky@microsoft.com>
Authored: Tue Apr 7 17:52:25 2015 -0700
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Tue Apr 14 11:49:52 2015 +0300

----------------------------------------------------------------------
 SLAVES.md | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/cd54cfdc/SLAVES.md
----------------------------------------------------------------------
diff --git a/SLAVES.md b/SLAVES.md
index 9a1e974..9c99985 100644
--- a/SLAVES.md
+++ b/SLAVES.md
@@ -1,10 +1,14 @@
 Cordova Medic Slaves
 ====================
 
-# Introduction
-
 This document describes slave-specific setup for Cordova Medic for running builds on each
platform.
 
+## Slave Setup
+
+### All Operating Systems
+
+Since the build process writes and rewrites many files to the file system of the slave machine,
the slave directory *should be excluded from the operating system's file system indexing*
process to avoid disk thrashing.
+
 ### iOS
 
 For iOS slaves, Xcode is required. It can be obtained from the Apple App Store, which requires
an Apple ID. For deployment to physical devices, a valid Apple Developer license is also necessary.
@@ -29,11 +33,26 @@ For emulation, at least one Android Virtual Device should be available,
which ca
 
 ### Windows 8 and Windows 8.1
 
-For Windows slaves, Visual Studio is required. For deployment to devices, a Windows Developer
License is also required. To install a developer, run the following from PowerShell:
+For Windows slaves, Visual Studio is required. For deployment to devices, a Windows Developer
License is also required. To install a license, run the following from PowerShell:
 
     Show-WindowsDeveloperLicenseRegistration
 
+## Connecting to Apache's Master
+
+There is an installation of Buildbot running on Apache Infrastructure, which can be reached
at [ci.cordova.io][ci], and which also runs Medic builds. To connect a slave to this master,
the following few extra steps are required:
+
+1. The slave needs to be defined in `master.cfg` in the Apache Infrastructure [SVN repository][infra_svn]
(this requires Cordova committer access)
+2. Credentials for connecting to the master need to be obtained via a [JIRA ticket][infra_jira]
to the Apache Infrastructure team
+3. The slave needs to be configured to connect to the Apache master, which can done either:
+    a. By modifying an existing slave's `buildbot.tac` to point to the Apache master and
use the given password **OR**
+    b. By creating a new slave with a **dummy** password\*, and then editing the slave's
`buildbot.tac`
+
+\***WARNING**: The real password should *not* be passed as a CLI parameter when creating
a new slave because then *the password would be exposed in shell history*
+
 [android_full]: http://developer.android.com/sdk/installing/index.html?pkg=studio
 [android_cli]:  http://developer.android.com/sdk/installing/index.html?pkg=tools
 [vs_cordova]:   http://www.visualstudio.com/en-us/explore/cordova-vs.aspx
 [issue]:        https://issues.apache.org/jira/browse/CB-8535
+[ci]:           http://ci.cordova.io
+[infra_jira]:   https://www.apache.org/dev/infra-contact
+[infra_svn]:    https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message