Statistics
| Branch: | Tag: | Revision:

root / ci / utils.py @ c31c6547

History | View | Annotate | Download (28.7 kB)

# Date Author Comment
478b7e6c 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Improve flavors/images finder

Allow for search both by name (using regular
expressions) or by id.

c31c6547 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Fix bugs with path expansion

Python does not do any automatic path expansions.
User has to call functions such as expanduser() and
expandvars().

Add uesr's id_rsa.pub file as default ssh_keys file.

fa51c114 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Allow the use of local repo

Instead of cloning Synnefo from its official repo,
user can choose (using --local-repo option, or by not
setting the synnefo_repo config parameter) to use
his local repo.

4e7f237a 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Install firefox

12064c44 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Install x2goserver

547783ba 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Remove forgotten debug message

df9a8fe1 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Automatic yes to apt-get prompts

4ae7c856 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Get flavor by name

The option flavor_name support a list of flavors to try.

Refs #4192

709c30a7 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: snf-deploy is now part of Synnefo software

Install snf-deploy from the Synnefo repo
and not from it's old one.

12942207 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Temporary_config supports multiple machines

Use one temporary_config that will contain information
about every machine we have build until now, so we
can go back and use/inspect one of them.

Refs #4199

b5f7605d 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Better handling of build_ids

Now a new build id is created every time we issue a
create command and build_id is None. Any subsequent
commands will use this build_id.

In case we don't provide a build_id (None) and we
try to run a command other than create (that needs to...

5fa55b8b 11/04/2013 05:27 pm Christos Stavrakakis

ci: Disable snf-deploy colors

Use --disable-colors option of snf-deploy to disable colors when
running snf-deploy from ci scripts.

83330429 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: turn system_uuid option into a hardcoded one

User doesn't need to specify the UUID of the owner of
system images (it's usually hard to find it).

Instead save the uuids for these users for our production and
testing deployments inside a list (DEFAULT_SYSTEM_IMAGES_UUID) and...

ec3bf0d9 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Redirect logging to stdout/stderr

Use stdout for info/debug messages and stderr for
warning/error messages.

05605745 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Add --ssh-keys command line option

Using this option one can specify a file containing
ssh authentication keys to be uploaded and installed
on the newly created server.

0bde371d 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Add support for downloading ssh_keys file

Currently support http, https and ftp protocols
using the wget utility.

0bf2fbbf 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Specify a flavor_name instead of a flavor_id

Specify a flavor_name (in form of a reg expression) to use.

049848fd 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: pep8 fixes

368b1919 11/04/2013 05:27 pm Christos Stavrakakis

ci: Add option to override schema

b2a87b5b 11/04/2013 05:27 pm Christos Stavrakakis

ci: Parse branch from repository

Guess the branch to build, based on the current branch of the
repository. Also track all remote branches when cloning Synnefo, because
it is needed by devflow.

497a3518 11/04/2013 05:27 pm Christos Stavrakakis

ci: Specify directory to fetch packages to

2a294545 11/04/2013 05:27 pm Christos Stavrakakis

ci: Add option to build and fetch documentation

e83992f1 11/04/2013 05:27 pm Christos Stavrakakis

ci: Create version files before building docs

Run 'devflow-update-version' to create all the version files, before
trying to build the docs.

b5e8d7ec 11/04/2013 05:27 pm Christos Stavrakakis

ci: s/mail/email in git config

c6dfe213 11/04/2013 05:27 pm Christos Stavrakakis

ci: Get credentials by kamakirc

Get credentials for deployment from .kamakirc instead of config file.
Also, add option in config file indicating which cloud for kamaki to
use. Finally, add option in SynnefoCI to override the cloud from config.

Refs #4193

b083511b 11/04/2013 05:27 pm Christos Stavrakakis

ci: Option to override image and flavor

Add option to use a custom image_id and flavor_id instead of getting
them from config file.

1ae36a27 11/04/2013 05:27 pm Christos Stavrakakis

ci: Remove 'deploy_on_io' option

Remove the 'deploy_on_io' option. Instead check if you will need to
compute manually the ssh port by the domain of the cyclades url.

e4f379f1 11/04/2013 05:27 pm Christos Stavrakakis

ci: Make some options optional

Make 'ssh_keys' and 'accept_ssh_from' optional, since there are not
mandatory for ci to work.

28b21989 11/04/2013 05:27 pm Christos Stavrakakis

ci: Add option to override configuration file

Add 'config_file' argument to SynnefoCI in order to use a different
configuration file. Also, added the corresponding option to 'snf-ci'
scirpt.

4b334f01 11/04/2013 05:27 pm Christos Stavrakakis

ci: Merge 'fetch_packages.py' to snf-ci script

Add '--fetch-packages' option to snf-ci script, in order to download the
created debian packages.

3c6275cf 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Redesign CI scripts

Spawn VM to use as builder-slave.
Build packages inside this VM.
Deploy Synnefo using snf-deploy.
Run unit tests.
Run functional tests using burnin.

05c406b1 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Fix some typos in utils.py

4f4f5054 11/04/2013 05:27 pm Ilias Tsitsimpis

ci: Include commands between $()

b5bc4955 11/04/2013 05:27 pm Christos Stavrakakis

ci: Fixes to ci code

  • override config file from env variable
  • pep8 fixes
  • do not display vm password
  • fail if cloning repo fails
  • do not use eval
69650960 11/04/2013 05:27 pm Christos Stavrakakis

ci: Copy ssh keys

Add option for copying ssh keys to the created vm.