Skip to content

Commit f093f04

Browse files
author
Homza Lukáš
committed
first commit
0 parents  commit f093f04

File tree

14 files changed

+794
-0
lines changed

14 files changed

+794
-0
lines changed

.gitignore

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### JetBrains template
3+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
4+
5+
*.iml
6+
7+
## Directory-based project format:
8+
.idea/
9+
# if you remove the above rule, at least ignore the following:
10+
11+
# User-specific stuff:
12+
# .idea/workspace.xml
13+
# .idea/tasks.xml
14+
# .idea/dictionaries
15+
16+
# Sensitive or high-churn files:
17+
# .idea/dataSources.ids
18+
# .idea/dataSources.xml
19+
# .idea/sqlDataSources.xml
20+
# .idea/dynamic.xml
21+
# .idea/uiDesigner.xml
22+
23+
# Gradle:
24+
# .idea/gradle.xml
25+
# .idea/libraries
26+
27+
# Mongo Explorer plugin:
28+
# .idea/mongoSettings.xml
29+
30+
## File-based project format:
31+
*.ipr
32+
*.iws
33+
34+
## Plugin-specific files:
35+
36+
# IntelliJ
37+
/out/
38+
39+
# mpeltonen/sbt-idea plugin
40+
.idea_modules/
41+
42+
# JIRA plugin
43+
atlassian-ide-plugin.xml
44+
45+
# Crashlytics plugin (for Android Studio and IntelliJ)
46+
com_crashlytics_export_strings.xml
47+
crashlytics.properties
48+
crashlytics-build.properties
49+
### Java template
50+
*.class
51+
52+
# Mobile Tools for Java (J2ME)
53+
.mtj.tmp/
54+
55+
# Package Files #
56+
*.jar
57+
*.war
58+
*.ear
59+
60+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
61+
hs_err_pid*
62+

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Bamboo Satis Build
2+
3+
Bamboo Satis Build is a deployment task for Atlassian Bamboo that works together with [Satis Control Panel (SCP)](https://github.com/realshadow/satis-control-panel).
4+
5+
## How it works
6+
7+
Deployment task requires `composer.json` exported as shared build artifact to work correctly. Task will trigger partial
8+
update of Satis repository, thus rebuilding only the repository that this deployment task is used for. Partial update runs
9+
*synchronously* through [Satis Control Panel (SCP)](https://github.com/realshadow/satis-control-panel) and will wait for the
10+
rebuild to finish and thus complete or fail the deployment depending on the response from API.
11+
12+
## Global configuration
13+
14+
Following options can be set in global configuration:
15+
16+
* SCP API URL address that should point to API endpoint, e.g. *http://example.com/control-panel/api/repository*
17+
* VCS URL address should point to HTTP address of your repository in case you do not want to use SSH address, if configured, e.g. *http://example.com/scm/*

pom.xml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>sk.hts.bamboo.plugins</groupId>
6+
<artifactId>satisbuild</artifactId>
7+
<version>1.0.0</version>
8+
<organization>
9+
<name>H-Tech Solutions s.r.o.</name>
10+
<url>http://www.lukashomza.com/</url>
11+
</organization>
12+
<name>Satis Build Plugin</name>
13+
<description>This is the sk.hts.bamboo.plugins:satisbuild plugin for Atlassian Bamboo.</description>
14+
<packaging>atlassian-plugin</packaging>
15+
<properties>
16+
<bamboo.version>5.9.4</bamboo.version>
17+
<bamboo.data.version>5.9.4</bamboo.data.version>
18+
<amps.version>6.1.2</amps.version>
19+
<plugin.testrunner.version>1.2.3</plugin.testrunner.version>
20+
</properties>
21+
<dependencies>
22+
<dependency>
23+
<groupId>com.atlassian.bamboo</groupId>
24+
<artifactId>atlassian-bamboo-web</artifactId>
25+
<version>${bamboo.version}</version>
26+
<scope>provided</scope>
27+
</dependency>
28+
<dependency>
29+
<groupId>junit</groupId>
30+
<artifactId>junit</artifactId>
31+
<version>4.10</version>
32+
<scope>test</scope>
33+
</dependency>
34+
<!-- WIRED TEST RUNNER DEPENDENCIES -->
35+
<dependency>
36+
<groupId>com.atlassian.plugins</groupId>
37+
<artifactId>atlassian-plugins-osgi-testrunner</artifactId>
38+
<version>${plugin.testrunner.version}</version>
39+
<scope>test</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>javax.ws.rs</groupId>
43+
<artifactId>jsr311-api</artifactId>
44+
<version>1.1.1</version>
45+
<scope>provided</scope>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.google.code.gson</groupId>
49+
<artifactId>gson</artifactId>
50+
<version>2.2.2-atlassian-1</version>
51+
</dependency>
52+
<dependency>
53+
<groupId>com.mashape.unirest</groupId>
54+
<artifactId>unirest-java</artifactId>
55+
<version>1.4.7</version>
56+
</dependency>
57+
</dependencies>
58+
<build>
59+
<plugins>
60+
<plugin>
61+
<groupId>com.atlassian.maven.plugins</groupId>
62+
<artifactId>maven-bamboo-plugin</artifactId>
63+
<version>${amps.version}</version>
64+
<extensions>true</extensions>
65+
<configuration>
66+
<productVersion>${bamboo.version}</productVersion>
67+
<productDataVersion>${bamboo.data.version}</productDataVersion>
68+
</configuration>
69+
</plugin>
70+
<plugin>
71+
<artifactId>maven-compiler-plugin</artifactId>
72+
<configuration>
73+
<source>1.6</source>
74+
<target>1.6</target>
75+
</configuration>
76+
</plugin>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-compiler-plugin</artifactId>
80+
<configuration>
81+
<source>1.7</source>
82+
<target>1.7</target>
83+
</configuration>
84+
</plugin>
85+
</plugins>
86+
</build>
87+
</project>

0 commit comments

Comments
 (0)