Since we don't use docker, we shouldn't update kernel for build
environment
Implements blueprint: get-rid-docker-containers
Change-Id: I731d3bc3e74c25dddb2d54f01f4f12370089afd2
We got rid of using docker containers
on the master node. Now we deploy all
Fuel service directly on the host.
Implements blueprint: get-rid-docker-containers
Change-Id: Ie636d33d091a95fb0ff8fbd71e49cbccf1cb34fa
This new 'listing' target puts lists of
files in $(BUILD_DIR) and in local_mirror
to files, so to use them to identify the content of the ISO.
It also finds all fuel related rpm packages that are put into the ISO
and puts their changelog into listing-package-changelog.txt
file. This file can be used to identify SHA sums
of repos that are used to build corresponding packages.
Change-Id: I4738cea6fbd9539b945607943f3bcaf1c0554057
Related-Bug: #1515517
Since key for devops repo [1] was changed, we need to update it:
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1D2B45A2
[1]. http://mirror.fuel-infra.org/devops/ubuntu/
Change-Id: I9bdfa3d006cf1b0c8d8247da5dce95bb231adbb6
Since we are using dch on package building while running make iso
we need to have it.
Change-Id: Ib8a97bae5ed751c8faf3d4a54c6fd22a82417dda
Related-blueprint: package-fuel-components
This commit is a squashed version of commits that
implement packaging of fuel components. In order to
make our packaging process better I had to introduce
some new macros and do additional cleanup.
The main paradigm that we are following with this commit is
the following:
1 GIT REPO -> 1 PACKAGING SPEC -> N PACKAGES
Though it would be ideal to have only one package per git repo,
but this is left for further releases
This change is very essential to make updates process easier
as we provide only one type of artifacts that a user can fetch -
distro-specific package
This particular commit does not introduce new DEB packages
(such as packages of OCF scripts and other binaries that
we currently put onto the slave nodes with puppet instead of
installing them as packages) which will be introduced as
a part of whole packaging initiative a little bit later
1) Add prepare_git_source macro
This change is important to always
checkout the code from git working
or we can end up with garbage getting
into package source code and add
version.txt file to source archives
2) Remove nailgun-redhat-license package
This package is obsolete - we do not need
it.
3) Package fuel-library into RPM package
4) Delete old packages and misc stuff
This change is a little cleanup of python-tasklib
and other leftovers
5) Change RPM sandbox configuration
Change RPM sandbox configuration to use upstream mirrors
to be able to install nailgun build dependencies
6) Alter Nailgun spec
a) Change nailgun spec to use NPM during package
build
b) Switch nailgun to prepare_git_source
c) Package all packages of fuel-web repo using
only nailgun.spec
7) Alter RPM sandbox preparation to install build-deps
8) Package astute and mcagents using astute.spec
9) Include all built RPMs
Include all RPMS that were built inside the sandbox
10) Package fuel-ostf with git-archive
11) Build python-fuelclient using git_archive macro
12) Move specs to particular git repositories
13) Rename fuel-library and ostf to make macros easier
14)Adjust build scripts to fetch specs from particular
fuel repositories
FUEL DEB-packaging related code
15) Restore part of make system code for DEB packages building
16) Nailgun debian spec files for all nailgun-based packages
17) Clean up SANDBOX for Ubuntu generation
18) Clean up some package building scripts
19) Put PACKAGE_VERSION variable into the top config.mk
20) Add dockerctl and change fuel-library tar.tg path
21) Move deb rules to particula repos
22) Allow to rebuild deb repo with reprepro on-the-fly
24) Fix repocleanup stanza to parse source packages metadata
25) Debmirror whole repos in order not to break reprepro
26) Make docker image build depend on late RPM packages
or it may lead to race conditions
27) Clean up old deb packages with one shot instead
of parallel run
Change-Id: I15ae4d0abe51c72b28793e1a1ef30fec0f668b73
Blueprint: package-fuel-components
1) Change mirroring procedure for Ubuntu:
- USE_MIRROR=none: rsync the whole mirror from build server
- USE_MIRROR=<location>: mirror only required MOS distro
Added support for different mirroring methods.
2) Remove procedure of building Fuel deb packages
3) Remove building of deb-based IBP images
4) Remove deb-based chroots
5) Modify creation of Ubuntu diff mirror artifact
Implements: separate-mos-from-linux
Change-Id: Icd10aea6ebddb27976e88ceb930be9afac0241ad
The only purpose of using multistrap was collecting the base packages
from the multiple APT repositories, now this task is done properly with
APT itself, so multistrap is not necessary any more.
blueprint support-ubuntu-trusty
DocImpact
Change-Id: Id10c13946ce9a7d56d69067772bfd5db012722e4
Docker >=1.3.2 runs load operation within a chroot
that does not container xz utility. It is necessary
to extract xz first and then pipe it into docker load.
Pin version of docker to latest stable 1.3.2 version.
Change-Id: I3c7ad72bbe688efcc40e80fca34660b349f3d9b1
Closes-Bug: #1397970
Fixes ISO build failure. Apparently the version of yum (and yum-utils)
shipped with precise is unable to handle OSCI repositories metadata.
Change-Id: Icf1b4226b7b6a73da821cdc2fef60372b1b4c9a2
Closes-bug: #1381535
1. In case Ubuntu 14.04:
- add devops repository and install multistrap version 2.1.6
- Pin multistrap version 2.1.6
2. In case Ubuntu 12.04:
- add chris-lea (for nodejs) repository with higher priority
- install nodejs from chris-lea repository
3. For all distributions
- fixed npm global installation permission issue
- ensure bc package is present for make img target
Closes-Bug: #1337343
Closes-Bug: #1312654
Change-Id: I62ba9257fb3d575d996bf4c57b5d983c0050fd3b
Resolving all the dependencies is cumbersome and time consuming,
and missing one minor step can result in a dev environment that
can not build an ISO (but does not necessarily tell you what is missing).
Proposed script helps to ensure that all the dependencies are installed.
Change-Id: Ib71c8790e3cb2902d91e06b7ea7cc92657c52385
Related-Bug: #1324723