Skip to content

Instantly share code, notes, and snippets.

@scottpurdy
Created August 24, 2016 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottpurdy/a49d342c32b4340792ac4fb8ea09a043 to your computer and use it in GitHub Desktop.
Save scottpurdy/a49d342c32b4340792ac4fb8ea09a043 to your computer and use it in GitHub Desktop.
<!--
~ Numenta Platform for Intelligent Computing (NuPIC)
~ Copyright (C) 2016, Numenta, Inc. Unless you have purchased from
~ Numenta, Inc. a separate commercial license for this software code, the
~ following terms and conditions apply:
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero Public License version 3 as
~ published by the Free Software Foundation.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU Affero Public License for more details.
~
~ You should have received a copy of the GNU Affero Public License
~ along with this program. If not, see http://www.gnu.org/licenses.
~
~ http://numenta.org/licenses/
~
-->
<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
<!--
~ Component imports
-->
<component-import key="i18nResolver" interface="com.atlassian.sal.api.message.I18nResolver"/>
<component-import key="credentialsAccessor" interface="com.atlassian.bamboo.credentials.CredentialsAccessor"/>
<component-import key="encryptionService" interface="com.atlassian.bamboo.security.EncryptionService"/>
<!--
~ Custom capability types
-->
<capabilityType key="system.twine.executable" name="twine"
class="com.numenta.bamboo.tasks.TwineCapabilityTypeModule" sortOrder="9005">
<description>The Twine capability type</description>
<resource type="freemarker" name="edit" location="templates/editTwineCapability.ftl"/>
</capabilityType>
<capabilityType key="system.vagrant.executable" name="vagrant"
class="com.numenta.bamboo.tasks.VagrantCapabilityTypeModule" sortOrder="9010">
<description>The Vagrant capability type</description>
<resource type="freemarker" name="edit" location="templates/editVagrantCapability.ftl"/>
</capabilityType>
<!--
~ Custom credential types
-->
<credentialType key="quayCredentials" name="Quay.io"
class="com.numenta.bamboo.tasks.QuayCredentialType">
<resource type="freemarker" name="edit" location="templates/editQuayCredentials.ftl"/>
</credentialType>
<credentialType key="pypiCredentials" name="PyPI"
class="com.numenta.bamboo.tasks.PyPICredentialType">
<resource type="freemarker" name="edit" location="templates/editPyPICredentials.ftl"/>
</credentialType>
<!--
~ Task implementations
-->
<taskType key="com.numenta.bamboo.tasks.linux64" name="Numenta Linux 64" class="com.numenta.bamboo.tasks.NumentaLinux64Task">
<description>A task for running commands in isolation on 64 bit Linux.</description>
<category name="builder"/>
<category name="test"/>
<configuration class="com.numenta.bamboo.tasks.NumentaLinux64TaskConfigurator"/>
<resource type="freemarker" name="edit" location="templates/editNumentaLinux64Task.ftl"/>
<resource type="freemarker" name="view" location="templates/viewNumentaLinux64Task.ftl"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<taskType key="com.numenta.bamboo.tasks.syncWithGitHubPullRequest" name="Numenta Sync With GitHub Pull Request" class="com.numenta.bamboo.tasks.NumentaSyncWithGitHubPullRequestTask">
<description>A task for syncing a working directory with a specific GitHub Pull Request.</description>
<category name="repository"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<taskType key="com.numenta.bamboo.tasks.vagrant" name="Numenta Vagrant Task" class="com.numenta.bamboo.tasks.NumentaVagrantTask">
<description>A task for running commands in isolation using vagrant virtual machines.</description>
<category name="builder"/>
<category name="test"/>
<configuration class="com.numenta.bamboo.tasks.NumentaVagrantTaskConfigurator"/>
<resource type="freemarker" name="edit" location="templates/editVagrantTask.ftl"/>
<resource type="freemarker" name="view" location="templates/viewVagrantTask.ftl"/>
<resource type="freemarker" name="bash" location="templates/bash.ftl"/>
<resource type="freemarker" name="powershell" location="templates/powershell.ftl"/>
<resource type="freemarker" name="Vagrantfile" location="templates/Vagrantfile.ftl"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<taskType key="com.numenta.bamboo.tasks.quay" name="Quay Deployment Task" class="com.numenta.bamboo.tasks.QuayTask">
<description>A task used to deploy docker images to 'quay.io' registry</description>
<category name="deployment"/>
<configuration class="com.numenta.bamboo.tasks.QuayTaskConfigurator"/>
<resource type="freemarker" name="edit" location="templates/editQuayTask.ftl"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<taskType key="com.numenta.bamboo.tasks.pythonDeploy" name="Python Deployment Task" class="com.numenta.bamboo.tasks.PythonDeployTask">
<description>A task used to deploy Python packages.</description>
<category name="deployment"/>
<configuration class="com.numenta.bamboo.tasks.PythonDeployTaskConfigurator"/>
<resource type="freemarker" name="edit" location="templates/editPythonDeployTask.ftl"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<taskType key="com.numenta.bamboo.tasks.s3deploy" name="S3 Deployment Task" class="com.numenta.bamboo.tasks.S3DeployTask">
<description>A task used to deploy artifacts to AWS S3 bucket</description>
<category name="deployment"/>
<configuration class="com.numenta.bamboo.tasks.S3DeployTaskConfigurator"/>
<resource type="freemarker" name="edit" location="templates/editS3DeployTask.ftl"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<taskType key="com.numenta.bamboo.tasks.debug" name="Debug Task" class="com.numenta.bamboo.tasks.DebugTask">
<description>A task used to deploy artifacts to AWS S3 bucket</description>
<configuration class="com.numenta.bamboo.tasks.DebugTaskConfigurator"/>
<resource type="freemarker" name="edit" location="templates/editDebugTask.ftl"/>
<resource type="download" name="icon" location="images/numenta-mark-80px.png"/>
</taskType>
<!--
~ Build processors
-->
<buildProcessor key="vagrantCleanup" name="Numenta Vagrant boxes Cleanup"
class="com.numenta.bamboo.tasks.VagrantBoxCleanupProcessor">
<skipIfFailed>false</skipIfFailed>
<description>Cleans up detached vagrant boxes started by Numenta Vagrant tasks</description>
</buildProcessor>
<buildProcessor key="buildStatusWebhook" name="Numenta Build Status Webhook"
class="com.numenta.bamboo.tasks.BuildStatusWebhookProcessor">
<skipIfFailed>false</skipIfFailed>
<description>Issues build status webhooks</description>
</buildProcessor>
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}" />
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/numenta-mark-80px.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="com.numenta.bamboo.tasks" location="numenta-bamboo-tasks"/>
<!-- add our web resources -->
<web-resource key="numenta-bamboo-tasks-resources" name="Numenta Bamboo Tasks Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="numenta-bamboo-tasks.css" location="/css/numenta-bamboo-tasks.css"/>
<resource type="download" name="numenta-bamboo-tasks.js" location="/js/numenta-bamboo-tasks.js"/>
<resource type="download" name="images/" location="/images"/>
<resource type="download" name="templates/" location="/templates"/>
<context>com.numenta.bamboo.tasks</context>
</web-resource>
</atlassian-plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment