You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by ba...@apache.org on 2015/08/16 19:47:31 UTC
[14/23] couchdb-ci git commit: use ntp to synch clocks
use ntp to synch clocks
Project: http://git-wip-us.apache.org/repos/asf/couchdb-ci/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ci/commit/eda9fabc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ci/tree/eda9fabc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ci/diff/eda9fabc
Branch: refs/heads/master
Commit: eda9fabc9110d8fcad6a34330fd79e52fed1d81e
Parents: 52029ff
Author: Bastian Krol <ba...@web.de>
Authored: Thu Jul 9 09:28:16 2015 +0200
Committer: Bastian Krol <ba...@web.de>
Committed: Thu Jul 9 09:28:16 2015 +0200
----------------------------------------------------------------------
ansible/readme.markdown | 17 +++++++++++++++++
ansible/site.yml | 1 +
readme.markdown | 2 +-
vagrant/readme.markdown | 5 +++++
4 files changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/eda9fabc/ansible/readme.markdown
----------------------------------------------------------------------
diff --git a/ansible/readme.markdown b/ansible/readme.markdown
new file mode 100644
index 0000000..c0cd6fb
--- /dev/null
+++ b/ansible/readme.markdown
@@ -0,0 +1,17 @@
+Ansible Configuration for the CouchDB CI Setup
+==============================================
+
+This folder contains the Ansible scripts to provision the various servers used in the CouchDB CI setup.
+
+## Prerequesites
+
+You need to have [Ansible](http://www.ansible.com/home) installed.
+
+When Ansible is installed, you need to install an additional Ansible role:
+```bash
+[sudo] ansible-galaxy install geerlingguy.ntp
+```
+
+## Launching and Provisioning the Boxes
+
+TODO
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/eda9fabc/ansible/site.yml
----------------------------------------------------------------------
diff --git a/ansible/site.yml b/ansible/site.yml
index 7675974..ad11d8f 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -4,6 +4,7 @@
remote_user: root
roles:
- common
+ - geerlingguy.ntp
# Configure and deploy Jenkins master
- hosts: jenkins-master
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/eda9fabc/readme.markdown
----------------------------------------------------------------------
diff --git a/readme.markdown b/readme.markdown
index 2a517a2..5ae7925 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -13,7 +13,7 @@ Current state:
- [x] install and configure nginx
- [x] create CouchDB build job in Jenkins via Ansible
- [x] switch to master-worker Jenkins setup
-- [ ] use ntp server for master and workers
+- [x] use ntp server for master and workers
- [ ] actually fetch CouchDB from VCS
- [ ] optional: switch to Jenkins Job DSL plug-in for defining jobs?
- [ ] all apt-get commands should pin a specific version, in the base box definition as well as in Ansible. How?
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/eda9fabc/vagrant/readme.markdown
----------------------------------------------------------------------
diff --git a/vagrant/readme.markdown b/vagrant/readme.markdown
index 81a2992..463e1a1 100644
--- a/vagrant/readme.markdown
+++ b/vagrant/readme.markdown
@@ -12,6 +12,11 @@ When Vagrant is installed you need to install an additional plug-in:
vagrant plugin install vagrant-hosts
```
+plus an additional Ansible role
+```bash
+[sudo] ansible-galaxy install geerlingguy.ntp
+```
+
Also, you might need to run
```bash
VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0