{"id":19049857,"url":"https://github.com/emalm/investigation-buildpack","last_synced_at":"2026-06-25T07:31:16.196Z","repository":{"id":73135247,"uuid":"67193313","full_name":"emalm/investigation-buildpack","owner":"emalm","description":"The game is afoot!","archived":false,"fork":false,"pushed_at":"2017-03-03T18:57:40.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T09:43:59.422Z","etag":null,"topics":["buildpack","cloud-foundry","debugging"],"latest_commit_sha":null,"homepage":null,"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/emalm.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":"2016-09-02T05:38:35.000Z","updated_at":"2017-03-07T21:32:56.000Z","dependencies_parsed_at":"2023-02-25T21:30:34.287Z","dependency_job_id":null,"html_url":"https://github.com/emalm/investigation-buildpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emalm%2Finvestigation-buildpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emalm%2Finvestigation-buildpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emalm%2Finvestigation-buildpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emalm%2Finvestigation-buildpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emalm","download_url":"https://codeload.github.com/emalm/investigation-buildpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240106476,"owners_count":19748648,"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":["buildpack","cloud-foundry","debugging"],"created_at":"2024-11-08T23:12:08.011Z","updated_at":"2026-05-10T18:30:17.888Z","avatar_url":"https://github.com/emalm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Investigation buildpack for Cloud Foundry\n\nThis buildpack provides a mechanism to inspect the runtime environment of an\napp staging task on Cloud Foundry. It allows invocation of a custom command in\nthe compile step and then waiting for a configurable period of time. The\n`detect` script returns 1, so the buildpack is never selected automatically.\n\n## Usage\n\nUse as a Git-based buildpack:\n\n```\n$ cf push my-app -b https://github.com/ematpl/investigation-buildpack.git\n```\n\nInstall the buildpack in your Cloud Foundry deployment (requires admin access):\n\n```\n$ git clone https://github.com/ematpl/investigation-buildpack.git\n$ cf create-buildpack investigation investigation-buildpack 1000\n```\n\nCustom configuration:\n\n```\n$ cf push my-app -b investigation --no-start\n$ cf set-env my-app INV_COMMAND 'echo \"$VCAP_APPLICATION\"'\n$ cf set-env my-app INV_WAIT_DURATION_SECONDS 300\n$ cf start my-app\n```\n\n## Configuration\n\nThe buildpack respects the following environment variables to provide custom\nfunctionality:\n\n- `INV_COMMAND`: Command to execute at the start of the compilation step. No\n  default.\n- `INV_WAIT`: Whether to wait for some period of time after invoking the\n  compile script. Defaults to `true`.\n- `INV_WAIT_DURATION_SECONDS`: Approximate duration in seconds to wait: will be\n  rounded down to the nearest 5 seconds. Defaults to `900`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femalm%2Finvestigation-buildpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femalm%2Finvestigation-buildpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femalm%2Finvestigation-buildpack/lists"}