~uosci/ubuntu-openstack-ci/trunk

« back to all changes in this revision

Viewing changes to deployment/jobs/charm_pusher_cinder_master/config.xml

Add secgroup cleanup and restrict sudo privileges

Adjust for limited sudo privileges for the jenkins user

Add post-destroy info dump

Remove shim for hashsum mismatch issue in Juju 1.25.6

Bail earlier if mojo operations fail

Update jenkins sudoers

Fixes and workarounds for:
 - https://bugs.launchpad.net/charm-test-infra/+bug/1647000
 - https://github.com/juju/charmstore-client/issues/104
 - https://github.com/juju/docs/issues/1555
 - https://bugs.launchpad.net/bugs/1541482
 - https://bugs.launchpad.net/bugs/1647000
 - https://bugs.launchpad.net/bugs/1646909
 - https://bugs.launchpad.net/bugs/1333162
 - https://bugs.launchpad.net/bugs/1625624
 - https://bugs.launchpad.net/bugs/1570216

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?><project>
2
2
  <actions/>
3
 
  <description>&lt;p&gt;Watch for git commits and kick off charmstore charm upload/publish paths.&lt;/p&gt;
 
3
  <description>&lt;p&gt;Watch for git commits and kick off charmstore charm upload/release paths.&lt;/p&gt;
4
4
&lt;p&gt;&lt;i&gt;Dynamically Generated Job - Do not edit through the Jenkins Web UI.  You will lose your changes.&lt;/i&gt;&lt;/p&gt;
5
5
&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
6
6
  <keepDependencies>false</keepDependencies>
7
 
  <disabled>false</disabled>
8
7
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
9
8
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
10
9
  <concurrentBuild>false</concurrentBuild>
76
75
  </scm>
77
76
  <triggers class="vector">
78
77
    <hudson.triggers.SCMTrigger>
79
 
      <spec>H/5 * * * *</spec>
 
78
      <spec>H/10 * * * *</spec>
80
79
      <ignorePostCommitHooks>true</ignorePostCommitHooks>
81
80
    </hudson.triggers.SCMTrigger>
82
81
  </triggers>
95
94
    </hudson.tasks.Shell>
96
95
    <hudson.tasks.Shell>
97
96
      <command>#!/bin/bash -e
98
 
${OSCI_ROOT}/job-parts/build_charm_push_and_publish.sh
 
97
${OSCI_ROOT}/job-parts/build_charm_pusher.sh
99
98
</command>
100
99
    </hudson.tasks.Shell>
101
100
  </builders>
108
107
      <defaultExcludes>true</defaultExcludes>
109
108
    </hudson.tasks.ArtifactArchiver>
110
109
    <hudson.plugins.emailext.ExtendedEmailPublisher>
111
 
      <recipientList>ryan.beisner@canonical.com, james.page@canonical.com, carlos.gonzales@canonical.com</recipientList>
 
110
      <recipientList>openstack-charm-ci-watchers@lists.launchpad.net</recipientList>
112
111
      <configuredTriggers>
113
 
        <hudson.plugins.emailext.plugins.trigger.FailureTrigger>
114
 
          <email>
115
 
            <recipientList/>
116
 
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
117
 
            <body>$PROJECT_DEFAULT_CONTENT</body>
118
 
            <sendToRequester>false</sendToRequester>
119
 
            <sendToDevelopers>false</sendToDevelopers>
120
 
            <includeCulprits>false</includeCulprits>
121
 
            <sendToRecipientList>true</sendToRecipientList>
122
 
          </email>
123
 
        </hudson.plugins.emailext.plugins.trigger.FailureTrigger>
124
112
        <hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
125
113
          <email>
126
114
            <recipientList/>
134
122
        </hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
135
123
      </configuredTriggers>
136
124
      <contentType>text/plain</contentType>
137
 
      <defaultSubject>[UOSCI] $DEFAULT_SUBJECT - ${ENV,var="BASE_NAME"} ${ENV,var="GIT_BRANCH"} ${ENV,var="DISPLAY_NAME"}</defaultSubject>
 
125
      <defaultSubject>[UOSCI] $DEFAULT_SUBJECT</defaultSubject>
138
126
      <defaultContent>$DEFAULT_SUBJECT
139
127
${ENV,var="BASE_NAME"} ${ENV,var="DISPLAY_NAME"}
140
128
${GIT_URL} (${GIT_BRANCH})
141
129
${GIT_COMMIT}
142
130
 
143
 
Charm store refs published:
144
 
${FILE,path="cs_refs_published.txt"}
 
131
Charm store refs pushed and released:
 
132
${FILE,path="cs_refs_released.txt"}
145
133
</defaultContent>
146
 
      <attachmentsPattern>cs_refs_published.txt</attachmentsPattern>
 
134
      <attachmentsPattern>cs_refs_released.txt</attachmentsPattern>
147
135
      <presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
148
 
      <attachBuildLog>true</attachBuildLog>
 
136
      <attachBuildLog>false</attachBuildLog>
149
137
      <saveOutput>false</saveOutput>
150
138
      <disabled>false</disabled>
151
 
      <replyTo>uosci-testing-bot@ubuntu.com</replyTo>
 
139
      <replyTo>$DEFAULT_REPLYTO</replyTo>
152
140
    </hudson.plugins.emailext.ExtendedEmailPublisher>
153
141
  </publishers>
154
142
  <buildWrappers/>