{"id":20103025,"url":"https://github.com/stackrox/infra","last_synced_at":"2026-04-23T02:03:50.217Z","repository":{"id":194482782,"uuid":"196475555","full_name":"stackrox/infra","owner":"stackrox","description":"🌧️ Automated infrastructure and demo provisioning","archived":false,"fork":false,"pushed_at":"2026-04-17T11:32:59.000Z","size":4316,"stargazers_count":2,"open_issues_count":17,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-04-17T13:36:49.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://infra.rox.systems","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackrox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-11T23:06:06.000Z","updated_at":"2026-04-17T11:32:53.000Z","dependencies_parsed_at":"2026-04-01T21:01:01.197Z","dependency_job_id":null,"html_url":"https://github.com/stackrox/infra","commit_stats":null,"previous_names":["stackrox/infra"],"tags_count":373,"template":false,"template_full_name":null,"purl":"pkg:github/stackrox/infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Finfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Finfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Finfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Finfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackrox","download_url":"https://codeload.github.com/stackrox/infra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Finfra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32162614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"online","status_checked_at":"2026-04-23T02:00:06.710Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-13T17:34:03.887Z","updated_at":"2026-04-23T02:03:50.173Z","avatar_url":"https://github.com/stackrox.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Dev][dev-badge]][dev-link]\n[![Prod][prod-badge]][prod-link]\n\n# Infra\n\n🌧️ Automated infrastructure and demo provisioning\n\n## Development\n\nInfra (the server) and infractl (the cli) are written in Go, and use gRPC for\nclient-server communication. The UI uses a React/Typescript/Yarn toolchain (see\n[ui/README.md](ui/README.md)).\n\nWhile a development workflow can be achieved using a locally installed\ntoolchain, it is also possible to rely on CI. CI will lint, build and push the\ninfra server. And then deploy it to a development cluster created using the\nproduction infra deployment. A\n(comment)[https://github.com/stackrox/infra/pull/711#issuecomment-1270457578]\nwill appear on PRs with more detail.\n\n### Debugging\n\nIf opened in VS Code, you will find configurations for debugging CLI and Server.\n\n#### CLI\n\nTo debug a CLI command, update the VS Code launch configuration \"Debug CLI\" with the desired command and update the `INFRA_TOKEN` value if necessary.\nYou may also point to a different infra server with the `--endpoint` flag.\n\n#### Server\n\nTo debug the server, you need to fulfil the prerequisites first.\n\n1. Have an authenticated `gcloud` CLI and GNU `sed` installed.\n1. Have your `KUBECONFIG` point to a cluster where Argo Workflows and the ConfigMaps and Secrets for infra are deployed. This is most easily achieved by connecting to a PR cluster or deploying infra with `ENVIRONMENT=\u003cDEVELOPMENT,PRODUCTION\u003e make helm-deploy` to a new or local cluster. This cluster will only be used to run workflows.\n1. Run `make prepare-local-server-debugging` to set the contents of the `configuration` directory and compile the UI + CLI (for downloads).\n\nThen, you can use the \"Debug Server\" launch configuration.\n\n### Regenerate Go bindings from protos\n\nTo regenerate the Go proto bindings, run:\n\n`make proto-generated-srcs`\n\n### Building the server and cli\n\nTo compile a server and client binary, run:\n\n`make server cli-local`\n\n### Building or pushing images\n\nGitHub Actions will build and push the infra-server image based on `make tag` of\nthe most recent commit. Or you can build and push locally if you have the\ncorrect tooling installed with:\n\n`make image push`\n\n## Deployment\n\nFor additional information on how this service is deployed, please refer to the [deployment instructions](DEPLOYMENT.md).\n\n## Runbook\n\nFor additional information on how to debug and remediate issues with the deployed service, please refer to the [runbook instructions](TROUBLESHOOTING.md).\n\n[dev-badge]:      https://img.shields.io/badge/infra-development-green\n[dev-link]:       https://infra.rox.systems\n[prod-badge]:     https://img.shields.io/badge/infra-production-green\n[prod-link]:      https://infra.rox.systems\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Finfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackrox%2Finfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Finfra/lists"}