Statistics
| Branch: | Tag: | Revision:

root / ci / utils.py @ 83330429

History | View | Annotate | Download (21.5 kB)

# Date Author Comment
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...

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.