Harness is the industry’s first Software Delivery Platform to use AI to simplify your DevOps processes - CI, CD & GitOps, Feature Flags, Cloud Costs, and much more.
Follow below steps to install, configure and use Harness on Mac M2
On M2 Chip, we need to install Rosetta which enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.
$ /usr/sbin/softwareupdate --install-rosetta --agree-to-license
Enable the below configurations in Docker Desktop, which will enable using Rosetta on M2.
Harness CI Community Edition (aka Drone) is a modern Continuous Integration platform to automate their build, test and release workflows using a powerful, cloud native pipeline engine.
TODO
Clone harness repo and provision all necessary services using docker-compose
$ git clone https://github.com/harness/harness-cd-community.git
$ cd harness-cd-community/docker-compose/harness
$ docker-compose up -d
Running docker-compose ps
should show the below services provisioned.
Open http://localhost/#/signup and complete the registration form to start using Harness CD. Signed up user will be created as admin user.
We should be able to access the webpage post signup
Run below command to stop and remove containers ans networks
$ docker-compose down
Delete unused images
$ docker image prune -a
if Harness signup page is failing with 502 Bad Gateway
, then follow instructions to comment out mongo
configuration in docker-compose.yml
file.