Important : STACI repository will be deleted, as it is no longer being developed on. Please see our ASK project instead. https://github.com/Praqma/ask
STACI lets you run Atlassian products with easy command line scripts. It uses Docker to create the environment and adds features for integrating the services.
STACI consists of:
This repository is maintained by www.praqma.com
STACI uses properties files to configure the stack. You get started by following these steps:
.template
files in the conf
folder to files with just a .properties
extension.properties
filesprovider_type:virtualbox
in
staci.properties
docker
./staci.sh install
to install and start the stack./staci.sh install
: Create Docker host and images, and start Docker containers for
the chosen Atlassian tools./staci.sh stop
: Stop the Docker containers./staci.sh start
: Start existing Docker containers./staci.sh delete
: Delete the containersThere are currently no STACI commands to manage the Docker host.
The install
command creates a SystemInfo.html
in the root directory. It contains
links to all the services started.
bash
and have been tested on Linux and Macbin/install_on_ubuntu_server_16.x.sh
. It installs all the needed tools and setting described aboveTurn off SELinux or AppAmour, if applicable
Create data directory (See Preparation section)
pull the repository (git clone https://github.com/Praqma/staci.git)
cd staci
cp conf/staci.properties.template conf/staci.properties
vim conf/staci.properties
./staci.sh install
If you want to change the behaviour of STACI, edit the file ./conf/staci.properties
The containers have consistent data in /data/atlassian/ (default, edit staci.properties). You can take a backup by executing the script ./bin/backup.sh. This will tar-gz the volumes to /data/atlassian/backup/[date].
The pipeline
folder contains an implementation of the pragmatic workflow
for this project: A Jenkins setup which uses the Pretested Integration plugin to merge
changes from ready
branches into master
.
It is run like this:
pipeline/docker
github
seed
job run onceNotice that the generated job has no trigger. You need to manually build it to pick up
changes on a ready
branch.
Praqma has a workflow that encourages feature branching and a continuous delivery pipeline. It is described in this blog post: http://www.praqma.com/stories/a-pragmatic-workflow/
Once you have it set up with ghi
and the git
aliases, here is how you can work on an
issue:
ghi open
- Create an issueghi list
- List open issues to see the issue number you will fix, say 48git work-on 48
- Creates a feature branch for you, assigns the issue to yougit wrapup
- Commits changes and closes the issuegit deliver
- Pushes to a ready
branch, adds delivered
prefix to your local
feature branchready
branch and integrate it to master
git purge-all-delivered
- To delete your local feature branch that you no longer need