{"id":44988283,"url":"https://github.com/kosli-dev/loan-calculator","last_synced_at":"2026-02-18T20:28:29.281Z","repository":{"id":45163692,"uuid":"237265659","full_name":"kosli-dev/loan-calculator","owner":"kosli-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T11:28:22.000Z","size":380,"stargazers_count":2,"open_issues_count":2,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-17T11:29:07.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/kosli-dev.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,"publiccode":null,"codemeta":null}},"created_at":"2020-01-30T17:23:15.000Z","updated_at":"2025-02-17T10:32:45.000Z","dependencies_parsed_at":"2024-08-13T08:27:17.326Z","dependency_job_id":"b64d6f5a-dcf2-4cd9-a76b-85a3aae247c8","html_url":"https://github.com/kosli-dev/loan-calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kosli-dev/loan-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosli-dev%2Floan-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosli-dev%2Floan-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosli-dev%2Floan-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosli-dev%2Floan-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kosli-dev","download_url":"https://codeload.github.com/kosli-dev/loan-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosli-dev%2Floan-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29594256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"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":[],"created_at":"2026-02-18T20:28:28.516Z","updated_at":"2026-02-18T20:28:29.273Z","avatar_url":"https://github.com/kosli-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Loan Calculator Demo   \n\nThis repository provides a demo project for getting started with the [Merkely DevOps Change Management Platform](https://app.merkely.com).\n\n# Getting started with Github Actions\n\nPre-requisites: You will need an account on Merkely, Dockerhub and Github.\n\n1. Fork this repo so you can follow along.\n2. Change `MERKELY_OWNER` in [env-files/github.env](env-files/github.env#L1) to the name of your user or team in the Merkely platform.\n3. Choose a name for your Merkely pipeline. The name must not contain whitespace.   \n4. Change `MERKELY_PIPELINE` in [env-files/github.env](env-files/github.env#L2) to the name of your pipeline. \n5. Add the secrets below in your github repository settings.\n\n| SECRET NAME | NOTES |\n| ----------- | ----- |\n| `MERKELY_API_TOKEN` | Your Merkely api token is in [your profile page](https://app.merkely.com/settings/profile). |\n| `DOCKERHUB_DEPLOY_USERNAME` | Your dockerhub username |\n| `DOCKERHUB_REPO_OWNER` | Your repository owner in dockerhub, typically the same as `DOCKERHUB_DEPLOY_USERNAME` |\n| `DOCKERHUB_DEPLOY_TOKEN` | For deploying your docker image, you will need to create a [personal access token](https://docs.docker.com/docker-hub/access-tokens/) |\n\n\nFor example:\n\n![secrets](docs/images/secrets.png)\n\n\n# The pipelines\n\nYou will notice that this project comes with a CI/CD implementation using github actions.\n\nThere is a [master pipeline](.github/workflows/master_pipeline.yml) following these steps:\n\n* Build and Publish Docker Image\n* Declare Merkely Pipeline\n* Run test suite and log summary to Merkely\n* Run security analysis and log summary to Merkely\n* Run coverage and log summary to Merkely\n* Deploy to STAGE and log deployment to Merkely\n\nIn addition, we have these manually triggered ci pipeline:\n* [Request Approval](.github/workflows/request_approval.yml)\n* [Deploy to Production](.github/workflows/deploy_to_production.yml)\n\n\n# Things to try\n\n1. Go to the github actions and run the master pipeline.  See the results in Merkely.\n\n2. Check deployments are blocked without approval.\n   * Run the `Deploy to Production` workflow.  It should fail because the artifact is not approved for deployment.\n   * Run the `Request approval in Merkely` workflow.  It will request an approval in Merkely.\n   * You can see this in the `Approvals` tab in your pipeline in Merkely's UI.\n   * Go ahead and approve it in Merkely's UI.\n   * Re-run the `Deploy to Production` workflow. This time it should succeed.\n\n3. Extra-credit: Smuggling in security failures\n\n\n# Useful links\n\n* [Merkely Login Page](https://app.merkely.com/)\n* [Merkely Documentation](https://docs.merkely.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosli-dev%2Floan-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkosli-dev%2Floan-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosli-dev%2Floan-calculator/lists"}