Giter Club home page Giter Club logo

st2-packages-builder's Introduction

Purpose

A vagrant box with tools that will help build StackStorm packages

What packages?

Specifically st2 and st2mistral as build by StackStorm/st2-packages.

How does this work?

To provision

git clone [email protected]:manasdk/st2-package-builder.git
cd st2-packages-builder
vagrant up

To build st2 packages from master

vagrant ssh
git clone [email protected]:StackStorm/st2-packages.git
cd st2-packages
docker-compose run el6                               # distro can be one of el6, el7, trusty, wheezy, jessie

To build st2 packages for a specific branch

# Pretty much copied the command from https://github.com/StackStorm/st2-packages/blob/a7a11767343042d12a5b48659f7c8ebb71af8ada/.circle/docker-compose.sh
docker-compose run -e ST2_GITURL=<repo_url> ST2_GITREV=<branch_name> trusty run

Packages can be found in /tmp/st2-packages. See this for more info.

Debugging

After build and test stages finished all docker containers remain active, so you are welcome to some more in-depth testing if desired. To do so simply run:

  1. List containers
  • sudo docker ps
  • Find the required testing container
  • In our case it will be st2packages_trustytest_1
  1. To get a shell inside container
  • sudo docker exec -it st2packages_trustytest_1 bash

Once done, you are inside the testing environment where all services are up and running. Don't forget to do (after exec):

export TERM=xterm

At this point you can do any manual testing which is required.

st2-packages-builder's People

Contributors

manasdk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.