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/12/25 23:06:03 UTC
[2/6] couchdb-ci git commit: add license headers
add license headers
Project: http://git-wip-us.apache.org/repos/asf/couchdb-ci/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ci/commit/9bdbc076
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ci/tree/9bdbc076
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ci/diff/9bdbc076
Branch: refs/heads/master
Commit: 9bdbc076b55536d9f0c5b362410fba664969d044
Parents: f1a84d8
Author: Bastian Krol <ba...@web.de>
Authored: Tue Dec 22 15:21:21 2015 +0100
Committer: Bastian Krol <ba...@web.de>
Committed: Tue Dec 22 15:21:21 2015 +0100
----------------------------------------------------------------------
Vagrantfile | 17 +++++++++++++++++
ansible/docker-inventories/ubuntu-worker | 20 +++++++++++++++++++-
ansible/roles/ubuntu-worker/files/build-ci.sh | 17 +++++++++++++++++
ansible/roles/ubuntu-worker/tasks/couchdb.yml | 17 +++++++++++++++++
.../roles/ubuntu-worker/tasks/dependencies.yml | 17 +++++++++++++++++
ansible/roles/ubuntu-worker/tasks/main.yml | 17 +++++++++++++++++
ansible/roles/ubuntu-worker/tasks/rebar.yml | 17 +++++++++++++++++
ansible/roles/ubuntu-worker/vars/main.yml | 17 +++++++++++++++++
ansible/run-ansible-local.sh | 17 +++++++++++++++++
ansible/site.yml | 18 +++++++++++++++++-
.../definitions/couchdb-ci-ubuntu-14.04/apt.sh | 17 +++++++++++++++++
.../couchdb-ci-ubuntu-14.04/build_time.sh | 17 +++++++++++++++++
.../couchdb-ci-ubuntu-14.04/cleanup.sh | 17 +++++++++++++++++
.../couchdb-ci-ubuntu-14.04/definition.rb | 17 +++++++++++++++++
.../couchdb-ci-ubuntu-14.04/preseed.cfg | 17 +++++++++++++++++
.../definitions/couchdb-ci-ubuntu-14.04/ruby.sh | 17 +++++++++++++++++
.../definitions/couchdb-ci-ubuntu-14.04/sudo.sh | 17 +++++++++++++++++
.../couchdb-ci-ubuntu-14.04/vagrant.sh | 17 +++++++++++++++++
.../definitions/couchdb-ci-ubuntu-14.04/vbox.sh | 17 +++++++++++++++++
build-container.sh | 18 ++++++++++++++++++
docker/ubuntu-worker/Dockerfile | 16 ++++++++++++++++
enter-container.sh | 17 +++++++++++++++++
22 files changed, 376 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/Vagrantfile
----------------------------------------------------------------------
diff --git a/Vagrantfile b/Vagrantfile
index 664e6fe..0b542de 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,5 +1,22 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
Vagrant.configure(2) do |config|
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/docker-inventories/ubuntu-worker
----------------------------------------------------------------------
diff --git a/ansible/docker-inventories/ubuntu-worker b/ansible/docker-inventories/ubuntu-worker
index f738686..5855984 100644
--- a/ansible/docker-inventories/ubuntu-worker
+++ b/ansible/docker-inventories/ubuntu-worker
@@ -1,11 +1,29 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
# Alternative ansible hosts file (aka inventory) for running Ansible on
# localhost. This is used when running Ansible inside Docker instead of
# using it as a Vagrant provisioner. The purpose of this is to set the Ansible
# role.
-
+#
# This makes Ansible run role ubuntu-worker on localhost.
# Use ansible-playbook with options
# --inventory-file=docker-inventories/ubuntu-worker and
# additionally --connection=local to avoid using an ssh connection.
+
[ubuntu-workers]
localhost
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/roles/ubuntu-worker/files/build-ci.sh
----------------------------------------------------------------------
diff --git a/ansible/roles/ubuntu-worker/files/build-ci.sh b/ansible/roles/ubuntu-worker/files/build-ci.sh
index 23743b5..f216c25 100755
--- a/ansible/roles/ubuntu-worker/files/build-ci.sh
+++ b/ansible/roles/ubuntu-worker/files/build-ci.sh
@@ -1,5 +1,22 @@
#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
set -e
cd /usr/src/couchdb
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/roles/ubuntu-worker/tasks/couchdb.yml
----------------------------------------------------------------------
diff --git a/ansible/roles/ubuntu-worker/tasks/couchdb.yml b/ansible/roles/ubuntu-worker/tasks/couchdb.yml
index a6b0e88..047b5bc 100644
--- a/ansible/roles/ubuntu-worker/tasks/couchdb.yml
+++ b/ansible/roles/ubuntu-worker/tasks/couchdb.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
- name: create couchdb group
group:
name: couchdb
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/roles/ubuntu-worker/tasks/dependencies.yml
----------------------------------------------------------------------
diff --git a/ansible/roles/ubuntu-worker/tasks/dependencies.yml b/ansible/roles/ubuntu-worker/tasks/dependencies.yml
index 2fe9cef..c513096 100644
--- a/ansible/roles/ubuntu-worker/tasks/dependencies.yml
+++ b/ansible/roles/ubuntu-worker/tasks/dependencies.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
- name: import the Erlang Solutions key into apt
apt_key:
url: http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/roles/ubuntu-worker/tasks/main.yml
----------------------------------------------------------------------
diff --git a/ansible/roles/ubuntu-worker/tasks/main.yml b/ansible/roles/ubuntu-worker/tasks/main.yml
index ac8241e..beb153c 100644
--- a/ansible/roles/ubuntu-worker/tasks/main.yml
+++ b/ansible/roles/ubuntu-worker/tasks/main.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
- include: dependencies.yml
- include: rebar.yml
- include: couchdb.yml
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/roles/ubuntu-worker/tasks/rebar.yml
----------------------------------------------------------------------
diff --git a/ansible/roles/ubuntu-worker/tasks/rebar.yml b/ansible/roles/ubuntu-worker/tasks/rebar.yml
index 99623f6..b6108fb 100644
--- a/ansible/roles/ubuntu-worker/tasks/rebar.yml
+++ b/ansible/roles/ubuntu-worker/tasks/rebar.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
- name: create rebar group
group:
name: rebar
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/roles/ubuntu-worker/vars/main.yml
----------------------------------------------------------------------
diff --git a/ansible/roles/ubuntu-worker/vars/main.yml b/ansible/roles/ubuntu-worker/vars/main.yml
index 2703fb2..7d60c00 100644
--- a/ansible/roles/ubuntu-worker/vars/main.yml
+++ b/ansible/roles/ubuntu-worker/vars/main.yml
@@ -1 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
rebar_version: 2.6.1
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/run-ansible-local.sh
----------------------------------------------------------------------
diff --git a/ansible/run-ansible-local.sh b/ansible/run-ansible-local.sh
index b18b071..17ba0c5 100755
--- a/ansible/run-ansible-local.sh
+++ b/ansible/run-ansible-local.sh
@@ -1,5 +1,22 @@
#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
# CAUTION: This script runs the Ansible scripts directly on your machine
# instead of inside a Docker container or Vagrant box. It might mess up your
# system. Only use this if you know what you are doing.
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/ansible/site.yml
----------------------------------------------------------------------
diff --git a/ansible/site.yml b/ansible/site.yml
index 0940588..e5e65d6 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -1,4 +1,20 @@
----
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
# Apply common configuration for all Ubuntu workers
- hosts: ubuntu-workers
remote_user: root
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/apt.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/apt.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/apt.sh
index 49774ee..478cd73 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/apt.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/apt.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
apt-get -y update
apt-get -y upgrade
apt-get -y install linux-headers-$(uname -r) build-essential
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/build_time.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/build_time.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/build_time.sh
index c9b2c6e..c6f282b 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/build_time.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/build_time.sh
@@ -1 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
date > /etc/vagrant_box_build_time
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/cleanup.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/cleanup.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/cleanup.sh
index dd5a300..8ec91c2 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/cleanup.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/cleanup.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
apt-get -y autoremove
dd if=/dev/zero of=/EMPTY bs=1M
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/definition.rb
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/definition.rb b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/definition.rb
index 93a23c2..32cd19a 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/definition.rb
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/definition.rb
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
Veewee::Session.declare({
:cpu_count => '1',
:memory_size => '512',
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/preseed.cfg
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/preseed.cfg b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/preseed.cfg
index 2ab89c1..a8f998e 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/preseed.cfg
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/preseed.cfg
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
## Options to set on the command line
d-i debian-installer/locale string en_US.utf8
d-i console-setup/ask_detect boolean false
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/ruby.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/ruby.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/ruby.sh
index 2782d7f..b199cd9 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/ruby.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/ruby.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
apt-get -y install libyaml-0-2
RUBY_VERSION=2.0.0-p247
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/sudo.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/sudo.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/sudo.sh
index 65ccf16..d53bc88 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/sudo.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/sudo.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
groupadd -r admin
usermod -a -G admin vagrant
cp /etc/sudoers /etc/sudoers.orig
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vagrant.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vagrant.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vagrant.sh
index da0e2c1..b73298a 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vagrant.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vagrant.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vbox.sh
----------------------------------------------------------------------
diff --git a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vbox.sh b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vbox.sh
index 1270338..bb70b56 100644
--- a/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vbox.sh
+++ b/baseboxes/definitions/couchdb-ci-ubuntu-14.04/vbox.sh
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
# Without libdbus virtualbox would not start automatically after compile
apt-get -y install --no-install-recommends libdbus-1-3
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/build-container.sh
----------------------------------------------------------------------
diff --git a/build-container.sh b/build-container.sh
index ff3f21f..8ac11d6 100755
--- a/build-container.sh
+++ b/build-container.sh
@@ -1,2 +1,20 @@
#!/usr/bin/env bash
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
docker build -f docker/ubuntu-worker/Dockerfile -t couchdb-build-ubuntu-14.04-erlang-18.2 .
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/docker/ubuntu-worker/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/ubuntu-worker/Dockerfile b/docker/ubuntu-worker/Dockerfile
index 60b1bcf..8051cd6 100644
--- a/docker/ubuntu-worker/Dockerfile
+++ b/docker/ubuntu-worker/Dockerfile
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+
# NOTE: All docker files need to be run from ../../, that is
# docker build -f /docker/ubuntu-worker/Dockerfile
http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/9bdbc076/enter-container.sh
----------------------------------------------------------------------
diff --git a/enter-container.sh b/enter-container.sh
index 725b89f..8818304 100755
--- a/enter-container.sh
+++ b/enter-container.sh
@@ -1,5 +1,22 @@
#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
CONTAINER=$1
if [[ -z $CONTAINER ]]; then
CONTAINER="couchdb-build-ubuntu-14.04-erlang-18.2"