Giter Site home page Giter Site logo

sepia-deployment-scripts's Introduction

Sepia Deployment Scripts

A set of scripts to setup a continuous delivery pipeline on AWS.

Prerequisites

Initial setup

Fork these sample repositories:

Then, add your forked liferay-game repository to your Travis account and make sure you set the following environment variables (keep them not visible):

Variable Definition
AWS_ACCOUNT_ID The ACCOUNT ID of your AWS account
AWS_ACCESS_KEY_ID Your AWS ACCESS KEY ID
AWS_SECRET_ACCESS_KEY Your AWS SECRET ACCESS KEY
DOCKER_ORG Your public organization in Dockerhub
DOCKER_USER Your Dockerhub user
DOCKER_PWD Your Dockerhub password
DOCKER_AUTH_TOKEN Your Docker Auth Token
GITHUB_TOKEN A Github personal access token with repo access to your liferay-game-deployment repository
GITHUB_USER The Github user of your liferay-game-deployment repository

To obtain the value for DOCKER_AUTH_TOKEN follow the steps described in Using Images from a Private Repository. The value you need to enter is referred on that link as auth_token.

To obtain the value for GIHUB_TOKEN follow these steps: Creating a token.

Creating and updating the pipeline

In Travis, launch a first build of your liferay-game repository. Apart from running the tests, it will automatically build and publish a Docker image to your Dockerhub organization. Your liferay-game-deployment repository will be updated with the version of the recently generated Docker image. Then, all the elements of your continuous delivery pipeline will be automatically generated in your AWS account. Finally, deployments and tests of your Docker image will execute on each environment of your pipeline, until it is ready for production.

Now perform any change in the code of the liferay-game and push it to your Github master branch. The same process is repeated, except for the generation of the delivery pipeline in AWS, which is skipped because it was created during the first build.

sepia-deployment-scripts's People

Contributors

ruben-pulido avatar juliocamarero avatar

Watchers

Sampsa Sohlman avatar James Cloos 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.