Kubernetes based pool provider implementation for Azure DevOps pipelines
Перейти к файлу
Preeti Bansal b6aa860c50 Addressing review comments 2020-01-07 16:27:51 +05:30
.vscode removing status 2019-12-27 11:18:01 +05:30
agent-custom replacing vsts with azurepipelines 2020-01-02 17:41:59 +05:30
agentpods Changes for Cleanup 2019-12-20 12:23:11 +05:30
cmd/manager operator-sdk 2019-12-23 17:57:58 +05:30
helm Addressing review comments 2020-01-07 16:27:51 +05:30
pkg Addressing review comments 2020-01-07 16:27:01 +05:30
version operator-sdk 2019-12-23 17:57:58 +05:30
.gitignore operator-sdk 2019-12-23 17:57:58 +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-L2Testcase.yml testcase 2020-01-02 17:55:57 +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
crd_controller_test.go refactoring code 2020-01-02 16:36:56 +05:30
go.mod operator-sdk 2019-12-23 17:57:58 +05:30
go.sum operator-sdk 2019-12-23 17:57:58 +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 Addressing review comments 2020-01-07 16:27:01 +05:30
kubernetes-auth.go Addressing review comments 2020-01-07 16:27:01 +05:30
kubernetes.go Addressing review comments 2020-01-07 16:27:01 +05:30
kubernetes_test.go Addressing review comments 2020-01-07 16:27:01 +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.