cloudsidedev / appside

Multitenant environment automation.
http://cloudside.ch
GNU Affero General Public License v3.0
38 stars 7 forks source link

CI #5

Closed ivomarino closed 7 years ago

ivomarino commented 7 years ago

We want to add continuous integration via Jenkins to the AppFlow development process. This means when we push to master or some else to-define branch we automatically:

all this via Jenkins which can run remotely or locally.

ivomarino commented 7 years ago

We've started using a solution based on Docker and Jenkins.

sneaker commented 7 years ago

Hi Ivo

I recently implemented this using gitlab. Everything based on docker. Maybe you want to have a look at it https://about.gitlab.com/gitlab-ci/ Gitlab also provides a git repository and a new issue tracking system. It can be hosted by yourself or use a free (for closed source development) version on gitlab.com. You really can feel that it is from one hand. It works much better than all this plugins from various sources on jenkins.

Maybe worth a look Best, Thomas

ivomarino commented 7 years ago

thanks @sneaker, sounds great I'll take a look. Since yesterday we're running Jenkins as a simple docker-compose process on OSX and Linux:

atlantis_ci

it's actually quite simple, Jenkins in Docker connects back to the dockerhost (bare metal notebook) via ssh destroys and recreates Vagrant boxes there in order to provision them from scratch each time, seems starting to work for now;)

ivomarino commented 7 years ago

we have a first complete AppFlow run via Jenkins on testing:

atlantis_ci_success

ivomarino commented 7 years ago

Introduced with https://github.com/ttssdev/appflow/commit/01f4cb6d90809dcfd37dc6958a30ac425f737c42 based on Docker, on OSX sudo ifconfig lo0 alias 10.200.10.1/24 ; source ~/.appflow/config ; docker stop jenkins ; docker-compose up then Jenkins will be on http://localhost:8080.