Relevant things:
- This GitHub repo
- The azure-microk8s-test/azure-microk8s-test project
- The Azure Pipelines app
- PATs Configuration
Links I found useful:
- Getting started with Azure and GitHub
- Create your first pipeline
- Use Azure and self-hosted agencts
- Run the Azure DevOps agent in Docker
- Setup PATs for Access
The final parts:
docker build -t localhost:32000/azpagent:registry .
docker push localhost:32000/azpagent
microk8s kubectl create secret generic azure-microk8s-secret \
--from-literal=AZP_URL=https://dev.azure.com/<ORG HERE> \
--from-literal=AZP_TOKEN=<TOKEN HERE>
microk8s kubectl apply -f azure-microk8s-deployment.yaml