~sinzui/juju-ci-tools/cloudsigma-lib

« back to all changes in this revision

Viewing changes to build_juju.py

  • Committer: Nate Finch
  • Date: 2015-06-02 03:47:22 UTC
  • mfrom: (968 origin/trunk)
  • mto: This revision was merged to the branch mainline in revision 976.
  • Revision ID: nate.finch@canonical.com-20150602034722-cr3lzq2yb6xdh7gz
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        crossbuild, product, '-b', '~/crossbuild', tar_artifact.file_name]
56
56
    run_command(command, dry_run=dry_run, verbose=verbose)
57
57
    globs = [
58
 
        'juju-setup-*.exe', 'juju-*-win2012-amd64.tgz', 'juju-*-osx.tar.gz']
 
58
        'juju-setup-*.exe', 'juju-*-win2012-amd64.tgz', 'juju-*-osx.tar.gz',
 
59
        'juju-*-centos7-amd64.tgz', 'juju-*-centos7.tar.gz']
59
60
    add_artifacts(workspace_dir, globs, dry_run=dry_run, verbose=verbose)
60
61
 
61
62
 
76
77
        help='The path to the juju-release-tools dir, default: %s' %
77
78
              DEFAULT_JUJU_RELEASE_TOOLS)
78
79
    parser.add_argument(
79
 
        'product', choices=['win-client', 'win-agent', 'osx-client'],
 
80
        'product', choices=['win-client', 'win-agent', 'osx-client', 'centos'],
80
81
        help='the kind of juju to make and package.')
81
82
    parser.add_argument(
82
83
        'workspace',  help='The path to the workspace to build in.')