Kubernetes based pool provider implementation for Azure DevOps pipelines
Перейти к файлу
Preeti Bansal 113b0051ef Update azure-pipelines-1.yml for Azure Pipelines 2020-03-27 12:01:56 +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 adding shared secret parameter 2020-01-29 15:51:40 +05:30
pkg changes to support existing certificate 2020-01-28 12:06:28 +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-1.yml Update azure-pipelines-1.yml for Azure Pipelines 2020-03-27 12:01:56 +05:30
azure-pipelines-L2Testcase.yml changing cluster name 2020-01-29 13:48:14 +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 https support 2020-01-16 20:48:54 +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 Adding command line parameters with flags 2020-01-29 09:24:11 +05:30
kubernetes_test.go Addressing review comments 2020-01-07 16:27:01 +05:30
main.go hmac validation for buildctl api 2020-01-28 13:16:35 +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.