Coder Social home page Coder Social logo

kogito-pipelines's Introduction

kogito-pipelines

CI/CD pipelines for Kogito

Nightly & Release pipelines

Background & Objectives

The Kogito project is composed of 3 parts:

  • Runtimes (kogito-runtimes, kogito-apps, kogito-examples)

    • Jar artifacts
    • Deployed to Maven repository
  • Images (kogito-images)

    • Cekit (docker) build
    • Deployed to Quay
  • Operator (kogito-cloud-operator)

    • Go / OperatorSDK
    • Deployed to Quay

The objectives are:

  • Unify deployment process from runtimes to operator
  • Avoid human interaction
  • Reuse processes

Problems / Solutions

Problems

  • Need runtimes’ artifacts to test images & operator
  • Different technologies (Java, Cekit/Docker, Go)
  • High-level tests are done in BDD tests (operator)

Solution

  • Main pipeline to control the flow
  • Separate build&tests and promote
  • Promote is done only when all tests in all repositories are ok
  • Each “repo” keeps its own deployment/promote process

Nightly pipeline

The nightly pipeline for Kogito is responsible to build&test runtimes artifacts, images and operator.
For that, it will call different jobs for deployment and then for promote if all tests passed.

Nightly pipeline

If the pipeline is failing or is unstable, then a notification is sent to Zulip.

Release pipeline

The release pipeline aims to enhance the nightly pipeline by providing added features like set version, create/merge PRs, git tag...

Release pipeline

Some steps are still manual (like jar artifacts promotion to Maven Central) and notifications are sent to Zulip for manual intervention.

Job dependencies

In order to perform, Nightly and Release pipelines need to call deploy and promote jobs for runtimes, images and operator.
Those jobs should be present at the same level as the nightly and/or release job, so they can be found when called.

Here is the list of jobs and link to Jenkinsfiles:

kogito-pipelines's People

Contributors

errantepiphany avatar kaitou786 avatar msmagnanijr avatar radtriste 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.