Coder Social home page Coder Social logo

appster's Introduction

NGINX Plus CICD Demo

A CICD demo for NGINX Plus. Just add licenses

Requirements

  1. A build server (Gitlab Runner) with docker and Crossplane installed
  2. Gitlab repository mirroring to this repo with the Gitlab Container Registry for your project enabled
  3. Gitlab CICD continuous integration service

Instructions

  1. Place the following files in the directories of your build server
    • Retrieve your NGINX Plus Key and Certificate from the NGINX customer portal or from an activated evaluation, and copy the nginx-repo.crt and nginx-repo.crt files into etc/ssl/nginx/
  2. Automate a CICD pipeline using gitlab. A example gitlab CI/CD pipeline file (.gitlab-ci.yml) is provided.
  3. Modify the Dockerfile as necessary, e.g. To install addtional NGINX Plus Dynamic modules. Place your own NGINX Plus configurations into etc/nginx/, including files in sub directories: i.e. etc/nginx/conf.d and etc/nginx/stream.conf.d

Demos

  1. Clone repo to local machine
  2. Demonstrate a configuration change in the NGINX config or change in the Web App. E.g. Search and replace iphone_7.png with iphone_x.png. Change and revert as needed
  3. Commit and push changes to code repository:
git commit .; git commit -m "change description"; git push origin master
  1. Watch the build process in realtime on Gitlab

TODO:

  • Extend the CICD pipeline to deploy NGINX i.e. "Production"

appster's People

Contributors

armsultan avatar

Watchers

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