Switch MOS DEB repos to new format, update configs from fuel-main

Change-Id: I49d389cbfce8ac6976a524e1de788485f12442e6
Closes-Bug: #1484434
This commit is contained in:
Vitaly Parakhin 2015-08-13 13:17:13 +03:00
parent f2bccfc0b3
commit 4c0d048596
6 changed files with 45 additions and 7 deletions

View File

@ -19,7 +19,7 @@ MIRROR_UBUNTU_HTTPDIR=$MIRROR_UBUNTU_DIR
# MOS Ubuntu packages # MOS Ubuntu packages
MIRROR_MOS_UBUNTU_HOST="mirror.fuel-infra.org" MIRROR_MOS_UBUNTU_HOST="mirror.fuel-infra.org"
MIRROR_MOS_UBUNTU_DIR="mirror/mos/ubuntu" MIRROR_MOS_UBUNTU_DIR="mirror/mos-repos/ubuntu/7.0"
MIRROR_MOS_UBUNTU_HTTPDIR="mos-repos/ubuntu/7.0" MIRROR_MOS_UBUNTU_HTTPDIR="mos-repos/ubuntu/7.0"
# Configure repository paths # Configure repository paths

View File

@ -201,7 +201,7 @@ endif
# will be used. # will be used.
YUM_REPOS?=official fuel subscr_manager YUM_REPOS?=official fuel subscr_manager
MIRROR_CENTOS?=http://mirrors-local-msk.msk.mirantis.net/centos-$(PRODUCT_VERSION)/$(CENTOS_RELEASE) MIRROR_CENTOS?=http://mirrors-local-msk.msk.mirantis.net/centos-$(PRODUCT_VERSION)/$(CENTOS_RELEASE)
MIRROR_CENTOS_KERNEL?=http://mirror.centos.org/centos-6/6.6/ MIRROR_CENTOS_KERNEL?=$(MIRROR_CENTOS)
SANDBOX_MIRROR_CENTOS_UPSTREAM?=http://mirrors-local-msk.msk.mirantis.net/centos-$(PRODUCT_VERSION)/$(CENTOS_RELEASE) SANDBOX_MIRROR_CENTOS_UPSTREAM?=http://mirrors-local-msk.msk.mirantis.net/centos-$(PRODUCT_VERSION)/$(CENTOS_RELEASE)
SANDBOX_MIRROR_EPEL?=http://mirror.yandex.ru/epel/ SANDBOX_MIRROR_EPEL?=http://mirror.yandex.ru/epel/
MIRROR_UBUNTU_METHOD?=http MIRROR_UBUNTU_METHOD?=http
@ -243,3 +243,22 @@ PRODUCTION?=docker
# Copy local /etc/ssl certs inside SANDBOX, which used for build deb mirror and packages. # Copy local /etc/ssl certs inside SANDBOX, which used for build deb mirror and packages.
# This option should be enabled, in case you have to pass https repos for Ubuntu. # This option should be enabled, in case you have to pass https repos for Ubuntu.
SANDBOX_COPY_CERTS?=0 SANDBOX_COPY_CERTS?=0
# Development option only:
# Please dont change them if you dont know what they do ##
# If not empty, will try save "build/upgrade/deps" pip cache from upgrade module only,
# to file $(ARTS_DIR)/$(SAVE_UPGRADE_PIP_ART)
# Example:
# SAVE_UPGRADE_PIP_ART?=fuel-dev.art_pip_from_upg_module.tar.gz
SAVE_UPGRADE_PIP_ART?=
# If not empty, will try to download this archive and use like pip cache
# for creating upgrade module.
# Example:
# USE_UPGRADE_PIP_ART_HTTP_LINK?=http://127.0.0.1/files/deps.pip.tar.gz
# Content example:
# deps.pip.tar.gz:\
# \argparse-1.2.1.tar.gz
# \docker-py-0.3.2.tar.gz
USE_UPGRADE_PIP_ART_HTTP_LINK?=

View File

@ -42,6 +42,8 @@ dstat
erlang-dev erlang-dev
ethtool ethtool
fence-agents fence-agents
fm10k-dkms
fuel-agent
fuel-utils fuel-utils
galera galera
git git
@ -78,6 +80,8 @@ libnss3-tools
libssl0.9.8 libssl0.9.8
linux-firmware linux-firmware
linux-firmware-nonfree linux-firmware-nonfree
live-boot
live-boot-initramfs-tools
lksctp-tools lksctp-tools
lldpad lldpad
mc mc
@ -89,10 +93,13 @@ memcached
mongodb-clients mongodb-clients
mongodb-server mongodb-server
monit monit
murano msmtp-mta
murano-api
murano-dashboard murano-dashboard
murano-engine
mysql-client mysql-client
mysql-server-wsrep-5.6 mysql-server-wsrep-5.6
nailgun-agent
nailgun-mcagents nailgun-mcagents
nailgun-net-check nailgun-net-check
neutron-common neutron-common
@ -140,14 +147,15 @@ nova-compute-kvm
nova-compute-qemu nova-compute-qemu
nova-conductor nova-conductor
nova-consoleauth nova-consoleauth
nova-consoleproxy
nova-network nova-network
nova-novncproxy
nova-objectstore nova-objectstore
nova-scheduler nova-scheduler
novnc novnc
ntp ntp
ohai ohai
openhpid openhpid
openssh-client
openssh-server openssh-server
openstack-dashboard openstack-dashboard
openvswitch-switch openvswitch-switch
@ -228,6 +236,7 @@ sahara-engine
screen screen
sheepdog sheepdog
socat socat
squashfs-tools
swift swift
swift-account swift-account
swift-container swift-container
@ -247,6 +256,7 @@ vim
virt-what virt-what
vlan vlan
xinetd xinetd
xz-utils
zabbix-agent zabbix-agent
zabbix-frontend-php zabbix-frontend-php
zabbix-server-mysql zabbix-server-mysql

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
fuel-createmirror (7.0-2) experimental; urgency=low
* Thu Aug 13 2015 vparakhin <vparakhin@mirantis.com>
- Switch MOS DEB repos to new format, update configs from fuel-main
fuel-createmirror (7.0-1) experimental; urgency=low fuel-createmirror (7.0-1) experimental; urgency=low
* Fri Aug 07 2015 skulanov <skulanov@mirantis.com> * Fri Aug 07 2015 skulanov <skulanov@mirantis.com>

View File

@ -1,6 +1,6 @@
%define name fuel-createmirror %define name fuel-createmirror
%{!?version: %define version 7.0} %{!?version: %define version 7.0}
%{!?release: %define release 1} %{!?release: %define release 2}
Name: %{name} Name: %{name}
Version: %{version} Version: %{version}
@ -69,6 +69,9 @@ fi
/opt/%{name}-%{version}/README.md /opt/%{name}-%{version}/README.md
%changelog %changelog
* Thu Aug 13 2015 vparakhin <vparakhin@mirantis.com>
- Switch MOS DEB repos to new format, update configs from fuel-main
* Fri Aug 07 2015 Sergey Kulanov <skulanov@mirantis.com> * Fri Aug 07 2015 Sergey Kulanov <skulanov@mirantis.com>
- Bump version to 7.0. Update code from upstream - Bump version to 7.0. Update code from upstream

View File

@ -56,8 +56,8 @@ done
cat <<EOF > ${apt_alt_etc}/preferences cat <<EOF > ${apt_alt_etc}/preferences
Package: * Package: *
Pin: origin ${UPSTREAM} Pin: release o=Mirantis
Pin-Priority: 1001 Pin-Priority: 1101
EOF EOF
if ! apt-get $apt_altstate_opts update; then if ! apt-get $apt_altstate_opts update; then