fuel-qa/fuelweb_test/helpers/regenerate_centos_repo
Dennis Dmitriev fadb50130d Add auxiliary repositories to a just created cluster
- after uploading files to auxiliary repos, add the appropriate
repository to the last created cluster

- fix some issues in regenerate_repo_* scripts to allow working
with completely empty repositories.

Note that for patching feature the following variables should
point to the local auxiliary repositories:

export LOCAL_MIRROR_UBUNTU='/var/www/nailgun/ubuntu/auxiliary/'
export LOCAL_MIRROR_CENTOS='/var/www/nailgun/centos/auxiliary/'

The following variables added for new repos in a cluster:
AUX_DEB_REPO_PRIORITY=1150
AUX_RPM_REPO_PRIORITY=15

For auxiliary repository priority on Fuel admin node hardcoded
value 15, and for nailgun repo 20.

- add DockerActions for performing actions with group of containers

Impelements: blueprint package-fuel-components
Change-Id: If3a734550659f462a3911da93c6107026ad5702a
2015-04-21 13:04:22 +03:00

6 lines
72 B
Bash

#!/bin/bash
REPO_PATH=$1
createrepo --update ${REPO_PATH} 2>/dev/null