Puppet manifests for new build system

Registered by Roman Vyalov

Puppet manifests for new build system

Blueprint information

Status:
Complete
Approver:
Roman Vyalov
Priority:
High
Drafter:
Roman Vyalov
Direction:
Approved
Assignee:
Dmitry Kaigarodеsev
Definition:
Approved
Series goal:
Accepted for 7.0.x
Implementation:
Implemented
Milestone target:
milestone icon 7.0
Started by
Roman Vyalov
Completed by
Roman Vyalov

Related branches

Sprints

Whiteboard

1. Using docker repo:
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
echo "deb https://get.docker.com/ubuntu docker main" | tee -a /etc/apt/sources.list.d/docker.list
apt-get update

2. Packages to install:
- lxc-docker
- git
- devscripts
- reprepro
- createrepo
- rpm
- yum
- yum-utils
- python-setuptools
- python-pbr
- wget
- rsync

3. Load AUFS module
modprobe aufs

4. jenkins user must be a part of docker group:
usermod jenkins -G docker

5. Cloning repo:
git clone https://github.com/dburm/docker-builder

6. Using repo:
pushd docker-builder
git checkout master
docker build -t mockbuild mockbuild/
docker build -t sbuild sbuild/

7. Using nearest upstream mirrors:
DIST_VERSION=6 bash -x create-rpm-chroot.sh
DIST_VERSION=7 bash -x create-rpm-chroot.sh
DIST=precise bash -x create-deb-chroot.sh
DIST=trusty bash -x create-deb-chroot.sh

8. Finishing setup:
popd
rm -rf docker-builder

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.