harness /harness

Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries.

★ 38,876⑂ 3,457👁 534⑃ 1,592● 2,043▤ 59◈ 0
GoApache-2.0Created 2014-02-07www.harness.io/open-source
38,876
stars
+12
3,457
forks
534
watchers
1,592
prs
2,043
issues
59
releases
0
discussions

README

Harness
Harness Open Source is an open source development platform packed with the power of code hosting, automated DevOps pipelines, hosted development environments (Gitspaces), and artifact registries.

 Overview
Harness Open source is an open source development platform packed with the power of code hosting, automated DevOps pipelines, Gitspaces, and artifact registries.


 Running Harness locally
 The latest publicly released docker image can be found on harness/harness.

To install Harness yourself, simply run the command below. Once the container is up, you can visit http://localhost:3000 in your browser.

bash
docker run -d \
  -p 3000:3000 \
  -p 3022:3022 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /tmp/harness:/data \
  --name harness \
  --restart always \
  harness/harness

 The Harness image uses a volume to store the database and repositories. It is highly recommended to use a bind mount or named volume as otherwise all data will be lost once the container is stopped.

See developer.harness.io to learn how to get the most out of Harness.

 Where is Drone?

Harness Open Source represents a massive investment in the next generation of Drone. Where Drone focused solely on continuous integration, Harness adds source code hosting, developer environments (gitspaces), and artifact registries; providing teams with an end-to-end, open source DevOps platform.

The goal is for Harness to eventually be at full parity with Drone in terms of pipeline capabilities, allowing users to seamlessly migrate from Drone to Harness.

But, we expect this to take some time, which is why we took a snapshot of Drone as a feature branch drone (README) so it can continue development.

As for Harness, the development is taking place on the main branch.

For more information on Harness, please visit developer.harness.io.

For more information on Drone, please visit drone.io.

 Harness Open Source Development
 Pre-Requisites

Install the latest stable version of Node and Go version 1.20 or higher, and then install the below Go programs. Ensure the GOPATH bin directory is added to your PATH.

Install protobuf
- Check if you've already installed protobuf protoc --version
- If your version is different than v3.21.11, run brew unlink protobuf
- Get v3.21.11 curl -s https://raw.githubusercontent.com/Homebrew/homebrew-core/9de8de7a533609ebfded833480c1f7c05a3448cb/Formula/protobuf.rb  /tmp/protobuf.rb
- Install it brew install /tmp/protobuf.rb
- Check out your version protoc --version

Install protoc-gen-go and protoc-gen-go-rpc:

- Install protoc-gen-go v1.28.1 go install google.golang.org/protobuf/cmd/[email protected]
(Note that this will install a binary in $GOBIN so make sure $GOBIN is in your $PATH)

- Install protoc-gen-go-grpc v1.2.0 go install google.golang.org/grpc/cmd/[email protected]

bash
$ make dep
$ make tools


 Build

First step is to build the user interface artifacts:

bash
$ pushd web
$ yarn install
$ yarn build
$ popd


After 

Top issues

Latest release

v2.28.2 v2.28.2 2026-04-20
Full Changelog: https://github.com/harness/harness/compare/v2.28.1...v2.28.2

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON