~canonical-platform-qa/qa-jenkins-jobs/update-chroot-builder

« back to all changes in this revision

Viewing changes to jobs/macros.yaml

  • Committer: Tarmac
  • Author(s): Sergio Cazzolato
  • Date: 2017-02-08 18:18:38 UTC
  • mfrom: (204.1.12 qa-jenkins-jobs)
  • Revision ID: tarmac-20170208181838-3ybt80h3gcg9l8q6
Update iso footprint jobs to support new grafana scripts.

Approved by platform-qa-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
            cat media_info
21
21
 
22
22
- builder:
 
23
    name: branch-bzr-project
 
24
    builders:
 
25
        - shell: |
 
26
            bzr branch {project-url} {project-name}
 
27
 
 
28
- builder:
23
29
    name: grafana-setup
24
30
    builders:
 
31
        - branch-bzr-project:
 
32
            project-url: 'lp:custom-grafana-integration'
 
33
            project-name: 'grafana-integration'
25
34
        - shell: |
26
 
            bzr branch lp:custom-grafana-integration $WORKSPACE/grafana-integration
27
35
            cat > $WORKSPACE/grafana.conf <<EOF
28
36
            export MONGO_HOST=10.25.236.10
29
37
            export MONGO_PORT=27017
39
47
    builders:
40
48
        - grafana-setup:
41
49
        - shell: |
 
50
            #!/bin/bash
42
51
            source $WORKSPACE/grafana.conf
43
52
            if [ -z "$BUILDSTAMP" ] ; then
44
53
                BUILDSTAMP=$(grep -o '([0-9.]\+)' media_info | tr -d '()')