Example: setup a deployment pipeline in Harness
+ Deploy webapi to Azure Service Apps
+ Deploy webapi to Azure Kubernetes Service
-
Create a Harness Account
-
Install a Harness Delegates Run a command in Command line(I am using my Machine as docker delegate)
docker run --cpus=1 --memory=2g \ -e DELEGATE_NAME=docker-delegate \ -e NEXT_GEN="true" \ -e DELEGATE_TYPE="DOCKER" \ -e ACCOUNT_ID=0bKPVrNUQ2uni0e728NSgw \ -e DELEGATE_TOKEN=MjJkM2JlMTcxNjMxYTZiYjQ5NmNiNWMwM2YwOGM1YTQ= \ -e LOG_STREAMING_SERVICE_URL=https://app.harness.io/gratis/log-service/ \ -e MANAGER_HOST_AND_PORT=https://app.harness.io/gratis harness/delegate:23.03.78904
-
Create a Project