Coder Social home page Coder Social logo

kohsuke / evergreen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jenkins-infra/evergreen

0.0 1.0 0.0 3.96 MB

An automatically self-updating Jenkins distribution

License: MIT License

Makefile 2.14% Shell 5.27% Dockerfile 1.14% HTML 2.66% CSS 6.91% JavaScript 81.88%

evergreen's Introduction

Evergreen

evergreen icon

if you prefer IRC, check out irc.gitter.im

Evergreen is an automatically updating rolling distribution system for Jenkins It consists of server-side, and client-side components to support a Chrome-like upgrade experience for Jenkins users.

Jenkins Evergreen provides the end-user with a pre-assembled collection of legos that can be immediately used to implement CI [1] and CD [2] workloads. At the same time, this focus on end-users success in these well-defined scenarios will help the Jenkins project develop new features, and fix bugs, more rapidly than before.

Getting Started

Evergreen is currently in alpha and is not recommended for production just yet.

Getting started with a Docker-based installation

The easiest way to get started with Jenkins Evergreen is to use the Docker image which has already been auto-configured for running workloads on Docker itself. When jenkins/evergreen:docker-cloud is launched, it will automatically download the latest version of Jenkins and the most essential plugins and automatically configure some basic authentication, Docker settings and Jenkins Pipeline.

In the example below, Jenkins Evergreen will be made available on port 8080 and persist its data in $PWD/jenkins-home, allowing the container to be restarted if necessary.

Starting Jenkins Evergreen
docker volume create jenkins-evergreen-data && \
docker pull jenkins/evergreen:docker-cloud && \
docker run --name evergreen \
    --restart=always \
    -ti \
    -p 8080:80 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v jenkins-evergreen-data:/evergreen/ \
    -e LOG_LEVEL=debug \
    jenkins/evergreen:docker-cloud

Fetching the administrator password

Once Jenkins has been configured and run, you will need to fetch the dynamically generated administrator password in order to log in.

docker exec evergreen cat /evergreen/jenkins/home/secrets/initialAdminPassword

Getting started with an AWS-based installation

Note

This documentation is coming soon.

Milestones

Jenkins Evergreen is currently pre-release software, with a few upcoming milestones of development.

Milestone One

The first milestone of Jenkins Evergreen is to provide the first full-update-cycle of the Evergreen distribution mechanism. Like the first wire stretched across suspension bridges the goal of Milestone One is to build the tooling necessary to deliver the "bigger parts" of Jenkins Evergreen.

The bare minimum components to support subsequent continuously delivered milestones as:

  • Packaged Jenkins + evergreen-client inside of a Docker container.

  • Safe upgrade system implemented for Jenkins Evergreen to tolerate Deployment failures.

  • Minimum Evergreen backend services necessary to coordinate new upgrades for connected Jenkins Evergreen Instances, including:

    • Capturing basic error telemetry to determine whether a new Deployment was successful.

    • Maintaining long-lived connections with Instances

    • Storing "Status" information for connected Instances.

  • Basic demonstration of pre-configuration of Jenkins Evergreen with "automatically sane defaults"

  • Development workflow for identifying and managing new "versions" of Jenkins Evergreen for Deployment.

Milestone Two

Currently unplanned

The second milestone for Jenkins Evergreen is much more focused on the end-user experience while exercising the continuous delivery process built out in Milestone One.

Beta

Currently unplanned

Public Release

Currently unplanned

Deployment

The model applied with the Evergreen distribution system is one similar to "deploying" Software-as-a-Service, without having a centralized "production" environment. When documentation refers to a "Deployment", that entails a new "Upgrade" of Jenkins Evergreen being made available in the Evergreen hosted service layer, and the backend orchestration necessary to ping connected Instances to initiate their local upgrade process.

A Deployment is then considered successful when all connected Jenkins Evergreen Instances are running that new version of Jenkins Evergreen.

The Four Opens

Inspired by the Openstack project [3] Jenkins Evergreen follows "The Four Opens":

Open Source

We do not produce “open core” software.

We are committed to creating truly open source software that is usable and scalable. Truly open source software is not feature or performance limited and is not crippled.

We use the MIT license.

Open Design

We are committed to an open design process. The development cycle requires active collaboration to gather requirements and write specifications for upcoming releases. Those events, which are open to anyone, include users, developers, and upstream projects. We gather requirements, define priorities and flesh out technical design to guide development for the next development cycle.

The community controls the design process. You can help make this software meet your needs.

Open Development

We maintain a publicly available source code repository through the entire development process. We do public code reviews. We have public roadmaps. This makes participation simpler, allows users to follow the development process and participate in QA at an early stage.

Open Community

One of our core goals is to maintain a healthy, vibrant developer and user community. Most decisions are made using a lazy consensus model. All processes are documented, open and transparent.

Hacking on the project

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.