Giter Site home page Giter Site logo

devops's Introduction

DevOps Demo

To setup the demo, you will need to run 2 shell scripts.

First, clone this repo to your local disk that will be able to use oc command to access to your OCP server.

Then, changed path to bin folder and run ./init.sh script to initialize the demo environment. This script will create a few OCP projects to represent dev, test, prod environments. A tools project will be created to keep the CI/CD tools such as jenkins, gogs and etc.

Once the demo environments have been provisioned. Make sure all the PODs under the tools project are all ready running without error. Run the ./initDemoData.sh script to initilize the required demo data.

There are some manual steps required before running the initDemoData.sh script. Please run ./initDemoData.sh -h for more details.

Notes

  1. You may want to increase the resource limits for Jenkins and Nexus. Especially Nexus will need minimum 3GB RAM to run properly. These resource limits can be changed from the init.sh script using parameters before provisioning. Allocation of 4GB will be the best for smooth demo experience. With lower memory allocation, Jenkins build will always fail caused by Nexus keep restarting in the background. Higher memory ensure maven/build are cached once the first built has been done, which helps to cut down a lot of build time for all the subsequence builds. If you restarted the POD or server, make sure you have done a first build before the actual demo.
  2. Do a chmod +x init.sh if the script is without execution permission.
  3. Do a chmod +x initDemoData.sh if the script is without execution permission.

To Do

To be updated.

Video

Demo Video

Screen Shots

Projects

Projects

CI/CD Tools

CI/CD Tools

Gogs with nationalparks Sample Source Codes

Gogs

Gogs Git Hooks Settings

Gogs Settings

Nexus3 Repositories

Nexus Repo

Jenkins Console

Jenkins Console

Jenkins Settings

Jenkins Settings

Jenkins User Token

Jenkins User Token

Jenkins Builds

Jenkins Builds

nationalparks Image Build at Dev Environment

Jenkins User Token

Blue Apps is Serving Request

Jenkins User Token

Green Apps is Serving Request

Jenkins User Token

devops's People

Contributors

chengkuangan 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.