Coder Social home page Coder Social logo

ec-acad-js-app's Introduction

GL Engineering Centre - Academy

Overview

CI/CD example to build, push and deploy your application to AWS ECS containers using Jenkins Declarative Pipeline.

Tech Stack:

Github

This contains our sample nodes application code.

Jenkins

JenkinsFile Containing the Jenkins declarative pipeline that is triggered on each pull request.

Docker

DockerFile containing image build information used by Dcoker on the Jenkins 'Building Image' stage to build the image containing the build artifacts.

AWS ECR

Used to store the Docker image received from Jenkins as part of the 'Push Image to ECR' stage.

ECS

Deploys the application as a container based on the image stored in ECR using the 'Deploy Image to ECR' stage.

Pipeline Stages:

Declarative Checkout SCM: Checks out src from repo

Declarative Tool Install:Install build tools (Maven/Node) required as part of the 'Build & Unit Test' stage

Build & Unit Test: Builds src dependencies and performs unit tests

Buidling Image: Builds local Docker image in Jenkins workspace from build artifact

Push Image to ECR: Pushes built image to ECR

Image Cleanup: Removes all local images created by Docker locally

Deploy to Deve: Deploys image to ECS cluster in the Dev environment from the ECR image

Deploy to Teste: Deploys image to ECS cluster in the Test environment from the ECR image

Deploy to Stagee: Deploys image to ECS cluster in the Staging environment from the ECR image

Deploy to Prode: Deploys image to ECS cluster in the Prod environment from the ECR image

ec-acad-js-app's People

Contributors

andy-lawless avatar naheemqureshi 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.