msa-deployer

command module
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

MSA Deployer Build Status

This tool is the one we're using at MySocialApp (iOS and Android social app builder - SaaS) to simplify deployment. It launch gitlab pipelines jobs and give a wizzard for some specific actions.

  +---------------+   +------------+  +---------------+
  | MSA Deployer  |-->| Gitlab API |  | Launch action |
  +------+--------+   +-----+------+  +---------------+
         |                  |                 ^
         v                  v                 |
    +---------+       +-----------+    +------+-------+
    | Wizzard |       | Gitlab CI |    | Docker Image |
    +----+----+       +----+------+    +--------------+
         |                  |                 ^
         v                  v                 |
  +--------------+     +---------+   +--------+-------+
  | Local Action |     | CD Jobs |-->| Clone MSA repo |
  +--------------+     +---------+   +----------------+

Some explaination:

  • MSA Deployer: When this tool is run, you can perform local actions or remote (through GitLab CI/CD)
  • Local Action: Some actions do not request GitLab API to be performed
  • GitLab API: Config file need to be fulfill to authorize access
  • Gitlab CI: Use .gitlab-ci.yml in your repository. Jobs will be used to make a pipeline
  • CD Jobs: Jobs will be created to be played once dependencies will be satisfied
  • Clone MSA repo: Git repository with submodules will be pulled
  • Docker image: a dedicated image with dependencies has to be made and will be pulled
  • Launch action: actions inside the docker image will be performed

Configuration

To be able to use the deployer, you need to make this config file and fill with your own config:

gitlab_project_id: ""
gitlab_pipeline_token: ""
gitlab_private_token: ""

Usage

Simply run this to get all available options:

./msa-deployer --help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL