<commit_before>edeploy-software-factory-roles
==============================

The edeploy roles for software factory roles.

Creating a bootable image
-------------------------

You need a configuration file for creating bootable images. For example:

	# Size of the root filesystem in MB or auto
	#ROOT_FS_SIZE=1000
	ROOT_FS_SIZE=auto

	# Output format supported by qemu-img
	# Use 'qemu-img --help | grep Supported | cut -d ":" -f2' to get the full list
	IMAGE_FORMAT=qcow2

	# Network Configuration
	# Only auto is supported now
	NETWORK_CONFIG=auto

Save this as "jenkins.virt". Now create an image:

	sudo make jenkins VIRTUALIZED=jenkins.virt

The image will be saved as `/var/lib/debootstrap/install/D7-H.1.0.0/jenkins-D7-H.1.0.0.img.qcow2`.


Deployment stages
-----------------

* eDeploy: Image creation
* LXC/eNocloud: Image boot
* cloudinit: Create static configuration + puppetmaster server address
* *puppetmaster* can be configured
* Each role first register their IP address to puppetmaster
* *Ldap* / *Mysql* can be configured
* Redmine register its api access key
* *Gerrit* can be configured
* *Redmine* can be configured
* Jenkins register its ssh public key<commit_msg>Update readme for adding a note about pigz.<commit_after>edeploy-software-factory-roles
==============================

The edeploy roles for software factory roles.

Creating a bootable image
-------------------------

You need a configuration file for creating bootable images. For example:

	# Size of the root filesystem in MB or auto
	#ROOT_FS_SIZE=1000
	ROOT_FS_SIZE=auto

	# Output format supported by qemu-img
	# Use 'qemu-img --help | grep Supported | cut -d ":" -f2' to get the full list
	IMAGE_FORMAT=qcow2

	# Network Configuration
	# Only auto is supported now
	NETWORK_CONFIG=auto

Install pigz before building to speed up the image compression.

Save this as "jenkins.virt". Now create an image:

	sudo make jenkins VIRTUALIZED=jenkins.virt

The image will be saved as `/var/lib/debootstrap/install/D7-H.1.0.0/jenkins-D7-H.1.0.0.img.qcow2`.


Deployment stages
-----------------

* eDeploy: Image creation
* LXC/eNocloud: Image boot
* cloudinit: Create static configuration + puppetmaster server address
* *puppetmaster* can be configured
* Each role first register their IP address to puppetmaster
* *Ldap* / *Mysql* can be configured
* Redmine register its api access key
* *Gerrit* can be configured
* *Redmine* can be configured
* Jenkins register its ssh public key
{'fraction_non_alphanumeric': 0.12767676767676767, 'fraction_numerical': 0.012121212121212121, 'mean_word_length': 3.698292220113852, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7669414', 'n_tokens_mistral': 780, 'n_tokens_neox': 737, 'n_words': 282}