{"id":20381666,"url":"https://github.com/briandenicola/codespaces-developer-demo","last_synced_at":"2026-02-21T20:32:58.122Z","repository":{"id":47766298,"uuid":"516281854","full_name":"briandenicola/codespaces-developer-demo","owner":"briandenicola","description":"A demonstration on how to use GitHub CodeSpaces customized with DevContainers for modern application development. ","archived":false,"fork":false,"pushed_at":"2025-04-17T18:47:45.000Z","size":221,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T18:51:40.182Z","etag":null,"topics":["aks-kubernetes-cluster","azapi","bridge","devcontainer","golang","kubernetes","skaffold"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/briandenicola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-21T08:09:20.000Z","updated_at":"2025-04-17T18:47:45.000Z","dependencies_parsed_at":"2023-02-17T22:45:41.211Z","dependency_job_id":"649a3a48-ca02-4492-a034-ce8598c084f0","html_url":"https://github.com/briandenicola/codespaces-developer-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/briandenicola/codespaces-developer-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandenicola%2Fcodespaces-developer-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandenicola%2Fcodespaces-developer-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandenicola%2Fcodespaces-developer-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandenicola%2Fcodespaces-developer-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briandenicola","download_url":"https://codeload.github.com/briandenicola/codespaces-developer-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandenicola%2Fcodespaces-developer-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29692521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aks-kubernetes-cluster","azapi","bridge","devcontainer","golang","kubernetes","skaffold"],"created_at":"2024-11-15T02:14:44.913Z","updated_at":"2026-02-21T20:32:58.106Z","avatar_url":"https://github.com/briandenicola.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nThis repository is a demostration on how to use GitHub CodeSpaces customized with DevContainers for modern application development. It leverages AKS plus its Web Application Routing feature and Skaffold. \n\n* [Web Application Routing](https://docs.microsoft.com/en-us/azure/aks/web-app-routing) is a developer tool that makes it easier for developers to create dev environments accessible for TLS.  \n* [Skaffold](https://skaffold.dev/docs/) is a continous deployment tool used by developers to automate pushing changes to a Kubernetes cluster.  \n* [DevContainers](https://containers.dev/) build consistent developer environments\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/briandenicola/codespaces-developer-demo)\n\n# Quicksteps\n## Complete Environment\n\u003e **_NOTE:_** `task up` will create all required Azure resources (locked down to the Codespace's current IP Address) then deploy code via `skaffold run`\n```bash\n    az login --scope https://graph.microsoft.com/.default\n    task up\n```\n\n## Deploy Skaffold - Dev Mode\n\u003e **_NOTE:_** Dev Mode will continuously build, test, and deploy changes to your kubernetes cluster when your code changes \n```bash\n    task skaffold -- dev\n```\n\n## Deploy Skaffold - Run Mode\n\u003e **_NOTE:_**  Run Mode will build, test, and deploy your code to your kubernetes cluster once\n```bash\n    task skaffold -- run\n```\n\n## Clean up\n```bash\n    task down\n```\n\n## Notes\n* This will create an AKS cluster and deploy code to it using Skaffold.\n* If you are using Codespaces, then after a restart, do:\n    ```bash\n        task update-firewalls\n    ```\n    * This will add the Codespaces IP addres to the ACLs for Azure Container Registry, Key Vault and AKS\n\n# Validate \n* Skaffold will automtically run Golang Unit test cases and a Custom curl Test on each build/deploy \n* Web Applciation Routing will create an external load balancer and configure an Nginx ingress configured with a self signed certificate\n    * The Uri will be in the form of https://api.${random_pet}-${random_id}.local.\n        ```bash\n            cd scripts\n            ./network-tests.sh\n        ```\n* Skaffold is also set for port-forwading so the service can be accessible over localhost as well\n\n# Backlog\n- [X] Workload identity deployment\n- [X] Developer namespace with OSM enabled \n- [X] Update for Web Application Routing \n- [X] Update Documentation and examples\n\n# Issues\n- [X] There is a current issue with Web Application Routing when using a custom Service Account\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriandenicola%2Fcodespaces-developer-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriandenicola%2Fcodespaces-developer-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriandenicola%2Fcodespaces-developer-demo/lists"}