1. 12 Mar, 2014 7 commits
    • Dimitris Aragiorgis's avatar
      deploy: Remove old fabfile · 6f9c1490
      Dimitris Aragiorgis authored
      ..and replace it with the `fabfile2.py`.
      Update Copyright dates.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
    • Dimitris Aragiorgis's avatar
      deploy/ci: Small refactor regarding ssh/ddns keys · f1efbb09
      Dimitris Aragiorgis authored
      In case `keygen` founds the keys it does nothing. If `--force` is
      passed then it re-creates the keys.
      Currently ci installs the deploy package during `build` command.
      Move keygen action from ci's `deploy_synnefo` phase to the
      `build_synnefo` phase.
      Do not use the `--force` flag so that deploy can be re-entrant on
      any level.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
    • Dimitris Aragiorgis's avatar
      deploy: Add state dir and use it for status · 19fa4790
      Dimitris Aragiorgis authored
      Introduce new setting in [dirs] section of deploy.conf: `state`.
      Override this setting with `--state-dir` option (useful when running
      deploy from source).
      This dir is currently used to store snf-deploy's `snf_deploy_status`
      file, that shows which components on which nodes have been
      installed. Do not update this file if `--dry-run` is used.
      Additionally introduce `--templates-dir` option that overrides
      `template` setting in [dirs] section of `deploy.conf`.
      Note that override options do not modify the configuration files.
      Changes are performed in the execution context of each snf-deploy
      To run snf-deploy from source use:
      $ python setup.py develop
      $ snf-deploy keygen -c conf -t files -s /tmp
      $ snf-deploy all --autoconf -c conf -t files -s /tmp
      Add the above setting to snf-ci's schema files.
      Update Copyright dates.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
    • Dimitris Aragiorgis's avatar
      deploy: Create the ddns and .ssh dirs · e329c2be
      Dimitris Aragiorgis authored
      These dirs are needed to store the ddns and .ssh files created by
      snf-deploy keygen. All these files should reside in the template dir
      since are going to be moved to target nodes.
      Add those dirs in .gitignore since we don't want to track any temp
      files created if we run snf-deploy from source.
      Update Copyright dates.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
    • Ilias Tsitsimpis's avatar
      snf-ci: Use Synnefo's API to determine the ssh port · 9583e0bc
      Ilias Tsitsimpis authored
      The API provides port translation for every server. Use this to
      determine the ssh port of 'demo.synnefo.org' and replace the hard
      coded values in the code.
      Closes #15
    • Alex Pyrgiotis's avatar
      ci: Add uninstall option · 7516c35e
      Alex Pyrgiotis authored
      The uninstall option uses the "--uninstall" switch of `python setup.py
      develop`. The behavior of the "--uninstall" switch can be found in the
      setuptools docs [1].
      [1] https://pythonhosted.org/setuptools/setuptools.html#develop
    • Alex Pyrgiotis's avatar
      ci: Add ssh port option · ea312629
      Alex Pyrgiotis authored
      Add an option to connect to a specific ssh port of the created VM.
      It is mainly useful when running ci from a VM in demo.synnefo.org. In
      this case, we don't want to deduct the ssh port from the returned
      server IP since the demo's DNAT applies only to connections out of the
      demo's private network.
  2. 11 Mar, 2014 7 commits
  3. 10 Mar, 2014 13 commits
  4. 07 Mar, 2014 2 commits
  5. 05 Mar, 2014 11 commits