Giter Club home page Giter Club logo

crabserver's Introduction

CRAB CI/CD flow with Jenkins

1. Building RPMs
  • Each new release created in CRABServer repository triggers Jenkins job that builds RPMs and docker image for crabcache, crabserver, crabtaskworker.
  • In master branch agreed naming convention for tagging new releases should follow this logic: v3.YYMMDD. Note: dash is not allowed in branch or tag name.
  • Built RPMs are stored in comp.crab_[branch] repository every time overwriting old RPMs files. [branch] stands for the branch name which was used to create new release, e.g. comp.crab_master.
2. Building Docker images
  • If RPMs build job was successful, Jenkins job that builds Docker images is triggered.
  • Built images are stored in cmssw/[crabcache|crabserver|crabtaskworker] Docker Hub repository.
  • After build is done, email notification is sent confirming that overall build process is done with indication whether build failed or succeed. Log is attached to the email for investigation.
3. Deploying crabserver
  • crabserver can be deployed to given environment by entering needed parameters in this Jenkins job.
  • Two parameters should be provided before starting the build job: DOCKER_IMAGE_TAG and ENVIRONMENT.
  • DOCKER_IMAGE_TAG requires to enter image tag that should be deployed.
  • ENVIRONMENT requires to enter k8s host name where provided tag should be deployed. Default value points to cmsweb-testbed.cern.ch.
  • After deployment of crabserver is done, email notification is sent confirming that deployment process is done with indication whether it failed or succeed. Log is attached to the email for investigation.

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.