Giter Site home page Giter Site logo

Comments (5)

rawlingsj avatar rawlingsj commented on July 18, 2024

@pmuir @catrobson @jstrachan do these designs cater for CI verses CD pipelines or are both on the same screen? I think that may get busy and it would be a nicer experience if you can just view the pull request or release pipelines.

FWIW on the next jenkins release builds will have an annotation on them to identify if the build is CI or CD.

apiVersion: v1
kind: Build
metadata:
  annotations:
    fabric8.io/pipeline.type: cd

from fabric8-runtime-console.

catrobson avatar catrobson commented on July 18, 2024

Right now I think these are only the CD pipelines. What is the difference from a user flow perspective for a CI pipeline - does the CI pipeline provide a "Pull request" action at the end of it at which point that would then create a CD pipeline once the pull request is accepted?

So -
User clicks "Build" in Che, a CI pipeline is created and the code is deployed to environments based on definition in pipeline (usually integration I would guess).
User clicks "pull request" in Che. Once pull request is approved, a CD pipeline is created and the code is deployed to Stage/Production based on definition of pipeline.

from fabric8-runtime-console.

rawlingsj avatar rawlingsj commented on July 18, 2024

The CI pipeline is run automatically when a user opens a pull request and on subsequent pushes to the PR branch. This will typically run unit tests, bayesian analysis, code quality steps etc. Further down the line we can perform a snapshot deployment so that folks can see the app running the Pull Request before merging to master.

Right now I'd say the main action on a pull request is Merge but we might want to support rebase and other github style features in the future.

BTW I can't remember if it was decided that users would use the github merge for the short term deliverables or be able to perform that action from the fabric8 ui.

from fabric8-runtime-console.

catrobson avatar catrobson commented on July 18, 2024

Ok, so for any deployment, would you be in either a CI flow or a CD flow, but not both? Trying to understand if they layout as we have it - DeploymentConfig --> Pipeline works for both CI and CD, and if in fact it would show a CI pipeline until there was a CD pipeline that would overwrite it? Maybe a short call would be better since I'm clearly not exactly sure how this works and what I need to reflect :)

from fabric8-runtime-console.

rawlingsj avatar rawlingsj commented on July 18, 2024

Yeah - right now the CI pipeline isn't doing a deployment, it will do in the future though.

So a CI pipeline is automatically triggered on a new or changed Pull Request, it will build a snapshot, run unit tests and bayesian analysis.

Once the PR is merged the CD pipeline will be automatically triggered. This will include doing a release, bayesian analysis, integration testing, deployment to stage, approve, deploy to run.

Maybe a short call would be better since I'm clearly not exactly sure how this works and what I need to reflect :)

sure thing :)

from fabric8-runtime-console.

Related Issues (20)

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.