{"id":23507381,"url":"https://github.com/k-candidate/hello-dev","last_synced_at":"2026-05-05T20:40:49.418Z","repository":{"id":216327528,"uuid":"741041074","full_name":"k-candidate/hello-dev","owner":"k-candidate","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-01T00:12:15.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T19:15:22.511Z","etag":null,"topics":["argo","argo-cd","argocd","container","docker","dockerfile","gha","github-actions","k8s","keda","keda-scalers","kubernetes","trivy","trivy-scan"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k-candidate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-09T15:22:49.000Z","updated_at":"2024-02-04T19:58:32.000Z","dependencies_parsed_at":"2024-01-30T00:24:48.806Z","dependency_job_id":"65f08a6e-6f66-48f4-a79e-d85a93dda49a","html_url":"https://github.com/k-candidate/hello-dev","commit_stats":null,"previous_names":["k-candidate/hello-k8s","k-candidate/hello-dev"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-candidate%2Fhello-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-candidate%2Fhello-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-candidate%2Fhello-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-candidate%2Fhello-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-candidate","download_url":"https://codeload.github.com/k-candidate/hello-dev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253768484,"owners_count":21961338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["argo","argo-cd","argocd","container","docker","dockerfile","gha","github-actions","k8s","keda","keda-scalers","kubernetes","trivy","trivy-scan"],"created_at":"2024-12-25T10:18:29.028Z","updated_at":"2026-05-05T20:40:49.382Z","avatar_url":"https://github.com/k-candidate.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-dev\n\n![Flow chart of how this works](/docs/assets/images/miro_flow.jpg)\nMiro board: https://miro.com/app/board/uXjVN8cKiGo=/?share_link_id=396473428527\n\n\n- This repo corresponds to the dev env. It is the one that is responsible for building the image and pushing it to Docker Hub: https://hub.docker.com/r/kcandidate/hello\n- Once we know that the image works as expected, then we can promote it to prod. In this case, we simply do it by changing the image tag in https://github.com/k-candidate/hello-prod/blob/main/resources/hello-deploy.yaml\n- ArgoCD takes care of the deployments for both dev and prod: https://github.com/k-candidate/argocd-demo-install\n\n## Demo\nTo demonstrate, do the following:\n- Clone the repo\n- Change the version in `index.html` and `resources/hello-deploy.yaml`\n- Push\n```\ngit add .\ngit commit -m \"feat: newer version\"\ngit tag v1.0.8\ngit push origin --tags v1.0.8\ngit push\n```\n- Github Actions will take care of building and pushing the image to Docker Hub.\n- ArgoCD will take care of deploying the new version to dev.\n- Make sure that all works ok in dev.\n- If you deem this version stable, and decide to upgrade prod, then simply change the image tag in https://github.com/k-candidate/hello-prod/blob/main/resources/hello-deploy.yaml and ArgoCD will take care of deploying the new image to prod.\n\n## TO DO:\n- [x] Use `trivy` to scan the image for vulnerabilities and upload results to Security tab.\n- [x] Add Autoscaling using KEDA.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-candidate%2Fhello-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-candidate%2Fhello-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-candidate%2Fhello-dev/lists"}