{"id":20102940,"url":"https://github.com/stackrox/release-registry","last_synced_at":"2026-01-07T07:17:42.523Z","repository":{"id":160299345,"uuid":"593656485","full_name":"stackrox/release-registry","owner":"stackrox","description":"A mechanism to mark, identify and search release artifacts using Quality Milestones.","archived":false,"fork":false,"pushed_at":"2024-05-29T16:00:51.000Z","size":828,"stargazers_count":0,"open_issues_count":12,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T02:46:15.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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":null,"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}},"created_at":"2023-01-26T14:48:39.000Z","updated_at":"2025-01-29T08:52:15.000Z","dependencies_parsed_at":"2023-06-01T22:45:42.448Z","dependency_job_id":"c75f47d2-cac2-482f-80c0-a52a460b8878","html_url":"https://github.com/stackrox/release-registry","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frelease-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frelease-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frelease-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frelease-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackrox","download_url":"https://codeload.github.com/stackrox/release-registry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949651,"owners_count":20698925,"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":[],"created_at":"2024-11-13T17:33:44.294Z","updated_at":"2026-01-07T07:17:42.494Z","avatar_url":"https://github.com/stackrox.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Release Registry\n\nA mechanism to mark, identify and search release artifacts using Quality Milestones.\n\n## Documentation\n\n- [Introduction and Requirements](./docs/introduction.md)\n- [Use Cases](./docs/use-cases.md)\n- [Data Model](./docs/data-model.md)\n- [Architecture](./docs/architecture.md)\n- [API](./docs/api.md)\n- [Standard Operating Procedures](./docs/sop/00-toc.md)\n\n## Bootstrapping\n\n1. Update `example/config.yaml` to reflect your environment. All options can be found in the configuration package.\n1. Generate localhost certificates for the gRPC gateway: `make server-renew-cert`. They will be placed in the `example` directory.\n\n### Authentication\n\nFollow the guide in the [infra-auth-lib](https://github.com/stackrox/infra-auth-lib/tree/main#how-to-create-the-oidc-configuration-file) to create your OIDC configuration file.\n\nReference the path to this configuration file in the main configuration file under `tenant.oidcConfigFile`.\n\n### Local Docker run\n\nAfter finishing the previous bootstrapping steps, run:\n\n```bash\ndocker run -p 8443:8443 -v $(pwd)/example:/example quay.io/rhacs-eng/release-registry:$(make tag)\n```\n\nIf the image does not exist, run `make server-image` first.\nChoose a free port on your system, if `8443` is already used.\nUse different paths to mount if your configuration files specify so - the command above works with the example configuration files and bootstrapping commands as specified.\n\n### Helm\n\nIf you want to deploy to GKE, create a new global IP:\n\n```bash\ngcloud compute addresses create --project \u003cPROJECT\u003e \u003cNAME OF ADDRESS\u003e --global --ip-version IPV4\n```\n\nThe name of the address should be recorded in `.Values.reservedAddressName`.\n\n## Developing\n\nTests are available in the `tests` directory and the Go packages.\nThey contain unit, integration and end-to-end tests.\n\n- *Unit tests* assert function output on individual package level.\n- *Integration tests* test interplay between components with mocked dependencies.\n- *End-to-end tests* emulate user behaviour and test the external interfaces of the service.\n\n### Requirements\n\nFor the end-to-end tests, must obtain a test token or create your own for the robot user `roxbot+release-registry-e2e@redhat.com`.\nThis token must be available in the environment variable `RELREG_TEST_TOKEN` when running end-to-end-tests.\n\nThe example assumes you run a local server with self-signed certificates.\nIf running against dev or production infrastructure, remove the `--insecure` flag and change the location.\n\n```bash\ncurl --insecure --location 'https://localhost:8443/v1/token-create' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: Bearer \u003cENTER PASSWORD FROM CONFIG tenant.password HERE\u003e' \\\n--data-raw '{\n    \"Name\": \"release-registry-e2e-gha\",\n    \"Description\": \"CI token used for E2E tests on release-registry (GHA)\",\n    \"Email\": \"roxbot+release-registry-e2e@redhat.com\"\n}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Frelease-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackrox%2Frelease-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Frelease-registry/lists"}