Kubernetes based pool provider implementation for Azure DevOps pipelines
Перейти к файлу
Preeti Bansal 14d01c9df3 Update azure-pipelines-1.yml for Azure Pipelines 2020-01-02 14:12:29 +05:30
.vscode local deploy uses kubeconfig.fixed agentId labels in create and delete 2019-09-04 14:40:14 +05:30
agent-custom adding dockerfile for windows agent 2019-10-22 17:57:30 +05:30
agentpods Changes for Cleanup 2019-12-20 12:23:11 +05:30
helm Changes for Cleanup 2019-12-20 12:23:11 +05:30
manifests Changes for Cleanup 2019-12-20 12:23:11 +05:30
.gitignore moved k8s related code to its own package 2019-09-05 12:14:48 +05:30
Dockerfile Added L0 testcases and logging 2019-10-22 17:23:08 +05:30
README.md [v2.30] working with new agent image 2019-09-26 15:43:26 +05:30
Security.md added security file back 2019-09-06 11:10:35 +05:30
azure-pipelines-1.yml Update azure-pipelines-1.yml for Azure Pipelines 2020-01-02 14:12:29 +05:30
azure-pipelines-L2Testcase.yml Update azure-pipelines-L2Testcase.yml for Azure Pipelines 2019-11-14 21:06:13 +05:30
azure-pipelines.yml Update azure-pipelines.yml for Azure Pipelines 2019-10-22 18:04:41 +05:30
consistent-hash.go Correcting consistent hashing and adding test case 2019-10-15 10:02:30 +05:30
consistent_hash_test.go Added L0 testcases and logging 2019-10-22 17:23:08 +05:30
constants.go Better error handling 2019-09-26 12:16:39 +05:30
contracts.go working with new image 2019-09-26 15:20:41 +05:30
go.mod Correcting consistent hashing and adding test case 2019-10-15 10:02:30 +05:30
go.sum go dep 2019-09-05 15:21:11 +05:30
hmac.go correcting hmac code 2019-10-31 10:01:01 +05:30
hmac_test.go Adding test case 2019-10-31 11:17:16 +05:30
http_handler_test.go Adding http test cases 2019-10-30 19:17:11 +05:30
kubernetes-auth.go Added L0 testcases and logging 2019-10-22 17:23:08 +05:30
kubernetes.go Changes for Cleanup 2019-12-20 12:23:11 +05:30
kubernetes_test.go Changes for Cleanup 2019-12-20 12:23:11 +05:30
main.go Changes for Cleanup 2019-12-20 12:23:11 +05:30

README.md

k8s-poolprovider

helm install k8s-poolprovider --name=myhelmchart --set "vsts.VSTS_SECRET=shared secret"

For local testing

Use the kubernetes.yaml and buildkit.yaml under Manifests folder to set up the application on your cluster. This works if you want to test the containerised application on a kubernetes cluster.

When using VS Code, the launch.json has been appropriately modified for local debugging. If debugging locally,

  1. Make sure you can run kubectl commands from your machine, and a kubeconfig file is present on your machine.
  2. Create a new namespace 'azuredevops' on your cluster.
  3. Create an opaque secret in the azuredevops namespace with the required secrets set. kubectl create secret generic vsts --from-literal=VSTS_SECRET=sharedSecret -n azuredevops
  4. Voila! You can start debugging directly from VS code. When the deployment happens, hit localhost:8082 with the correct APIs and see the app in action.