~dannf/charms/+source/scalebot-jenkins:metadata-updates

Last commit made on 2017-01-20
Get this branch:
git clone -b metadata-updates https://git.launchpad.net/~dannf/charms/+source/scalebot-jenkins
Only dann frazier can upload to this branch. If you are dann frazier please log in for upload directions.

Branch merges

Branch information

Name:
metadata-updates
Repository:
lp:~dannf/charms/+source/scalebot-jenkins

Recent commits

459467e... by dann frazier

Add repo field

Cleans up a warning reported during 'charm build'.

7aaefb3... by dann frazier

Change maintainer to team e-mail address

The maintainer field does not support a list. We're currently using the
"|" syntax to allow us to put in what looks like a list - but that syntax
is really putting in a long string that includes the "-" and "\n" characters:

  $ python3
  Python 3.5.2 (default, Nov 17 2016, 17:05:23)
  [GCC 5.4.0 20160609] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import yaml
  >>> data = yaml.load(open('metadata.yaml', 'r'))
  >>> data['maintainer']
  '- dann frazier <email address hidden>\n- sean feole <email address hidden>\n'
  >>>

Let's instead use the team e-mail address:

  $ python3
  Python 3.5.2 (default, Nov 17 2016, 17:05:23)
  [GCC 5.4.0 20160609] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import yaml
  >>> data = yaml.load(open('metadata.yaml', 'r'))
  >>> data['maintainer']
  '<email address hidden>'
  >>>

07e5504... by dann frazier

Add series field to metadata

Only xenial is listed as supported at this time. Currently nothing
in this layer is known to prohibit trusty, but we can't test that
because we use the jenkins-charm layer which is restricted to xenial.

55a765d... by Sean Feole

- Removed @only handler and replaced with @when_any
- Removed status_set & set_state because we don't have any other handlers with depends on configure_jenkins_jobbuilder()
- Hooked username & password into charm config, so we modify /etc/jenkins_jobs/jjb.init accordingly when user/passwd changes

de95215... by Sean Feole

Fixing Pipe in 'Maintainer' line

0f58082... by Sean Feole

Forgot to add '|' in metadata.yaml 'Maintainers:'

b572e0c... by Sean Feole

- Removed /lib/ directory
- Updated reactive/scalebot-jenkins.py to include JJB code
- Tested

c4c284f... by Sean Feole

Syncing changes from Master

211c347... by dann frazier

Use jenkins-charm layer instead of installing jenkins ourselves

jenkins-charm isn't an official/published layer at this time, so
you have to clone that layer to a local directory, and set LAYER_PATH to
that directory, so 'charm build' can find it.

The jenkins-charm layer can be cloned from:
  git clone https://github.com/jenkinsci/jenkins-charm

e73dc6e... by Sean Feole

Fixed a spelling error in the comments of scalebot.py.
- Fixed the if statement - changed if/pass/else to simply if.
- Removed Pathlib no need to touch file, (Cruft left over from debug)