{"id":20882019,"url":"https://github.com/weaveworks/progressive-delivery","last_synced_at":"2025-05-12T17:31:13.390Z","repository":{"id":222347920,"uuid":"491957924","full_name":"weaveworks/progressive-delivery","owner":"weaveworks","description":"This repository contains the progressive delivery API handlers that Weave GitOps Enterprise serves.","archived":false,"fork":false,"pushed_at":"2023-11-09T15:20:08.000Z","size":1950,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-01T08:44:52.569Z","etag":null,"topics":["flagger","weave-gitops-enterprise"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/weaveworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-05-13T15:52:33.000Z","updated_at":"2024-03-05T09:43:05.000Z","dependencies_parsed_at":"2024-02-13T18:55:54.679Z","dependency_job_id":null,"html_url":"https://github.com/weaveworks/progressive-delivery","commit_stats":null,"previous_names":["weaveworks/progressive-delivery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fprogressive-delivery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fprogressive-delivery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fprogressive-delivery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fprogressive-delivery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaveworks","download_url":"https://codeload.github.com/weaveworks/progressive-delivery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253787242,"owners_count":21964300,"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":["flagger","weave-gitops-enterprise"],"created_at":"2024-11-18T07:28:40.605Z","updated_at":"2025-05-12T17:31:12.843Z","avatar_url":"https://github.com/weaveworks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# progressive-delivery\n\nThis repository contains the progressive delivery API handlers that Weave GitOps Enterprise serves.\n\n## Local development environment\n\nTo install all dependencies use `make dependencies`.\n\n## Publish new version\n\nUpdate `package.json` with the new version and run `make publish-js-lib`\n\n## Start dev server\n\nUse Tilt to deploy the dev-server on the cluster:\n\n```bash\nmake dev-cluster\n```\n\nTo install extra resources, use the `./tools/install-resources.sh` script:\n\n```bash\n❯ ./tools/install-resources.sh -h\nusage: ./tools/install-resources.sh [-i] [-f] [-c]\n\nInstall extra resources.\n\nOPTIONS:\n   -c|--canaries     Install Canary objects\n   -f|--flagger      Install Flagger\n   -i|--istio        Install Istio\n   -h|--help         Show this message\n```\n\nUse ea gRPC client to interact with the API, for example:\n\n* [BloomRPC](https://github.com/bloomrpc/bloomrpc) has a nice GUI.\n* [gRPCurl](https://github.com/fullstorydev/grpcurl) can be used from command\n    line.\n\n### Example queries\n\n```bash\n❯ grpcurl -plaintext localhost:9002 ProgressiveDeliveryService.ListCanaries\n```\n```json\n{\n  \"canaries\": [\n    {\n      \"name\": \"hello-world\",\n      \"clusterName\": \"Default\",\n      \"provider\": \"traefik\",\n      \"targetReference\": {\n        \"kind\": \"Deployment\",\n        \"name\": \"hello-world\"\n      },\n      \"targetDeployment\": {\n        \"uid\": \"4b871207-63e7-4981-b067-395c59b3676b\",\n        \"resourceVersion\": \"1997\",\n        \"fluxLabels\": {\n          \"kustomizeNamespace\": \"hello-world\",\n          \"kustomizeName\": \"hello-world\"\n        }\n      },\n      \"status\": {\n        \"phase\": \"Initialized\",\n        \"lastTransitionTime\": \"2022-06-03T12:36:23Z\",\n        \"conditions\": [\n          {\n            \"type\": \"Promoted\",\n            \"status\": \"True\",\n            \"lastUpdateTime\": \"2022-06-03T12:36:23Z\",\n            \"lastTransitionTime\": \"2022-06-03T12:36:23Z\",\n            \"reason\": \"Initialized\",\n            \"message\": \"Deployment initialization completed.\"\n          }\n        ]\n      }\n    }\n  ],\n  \"nextPageToken\": \"eyJDb250aW51ZVRva2VucyI6eyJEZWZhdWx0Ijp7ImNhcGQtc3lzdGVtIjoiIiwiY2FwaS1rdWJlYWRtLWJvb3RzdHJhcC1zeXN0ZW0iOiIiLCJjYXBpLWt1YmVhZG0tY29udHJvbC1wbGFuZS1zeXN0ZW0iOiIiLCJjYXBpLXN5c3RlbSI6IiIsImNlcnQtbWFuYWdlciI6IiIsImRlZmF1bHQiOiIiLCJkZXgiOiIiLCJmbGFnZ2VyIjoiIiwiZmx1eC1zeXN0ZW0iOiIiLCJoZWxsby13b3JsZCI6IiIsImt1YmUtbm9kZS1sZWFzZSI6IiIsImt1YmUtcHVibGljIjoiIiwia3ViZS1zeXN0ZW0iOiIiLCJsb2NhbC1wYXRoLXN0b3JhZ2UiOiIiLCJ0cmFlZmlrIjoiIn19fQo=\"\n}\n```\n\n```bash\n❯ grpcurl \\\n    -d '{\"clusterName\": \"Default\", \"name\": \"hello-world\", \"namespace\": \"hello-world\"}' \\\n    -plaintext localhost:9002 ProgressiveDeliveryService.GetCanary\n```\n\n```json\n{\n  \"canary\": {\n    \"namespace\": \"hello-world\",\n    \"name\": \"hello-world\",\n    \"clusterName\": \"Default\",\n    \"provider\": \"traefik\",\n    \"targetReference\": {\n      \"kind\": \"Deployment\",\n      \"name\": \"hello-world\"\n    },\n    \"targetDeployment\": {\n      \"uid\": \"4b871207-63e7-4981-b067-395c59b3676b\",\n      \"resourceVersion\": \"3394152\",\n      \"fluxLabels\": {\n        \"kustomizeNamespace\": \"hello-world\",\n        \"kustomizeName\": \"hello-world\"\n      }\n    },\n    \"status\": {\n      \"phase\": \"Succeeded\",\n      \"failedChecks\": 1,\n      \"lastTransitionTime\": \"2022-06-10T10:29:03Z\",\n      \"conditions\": [\n        {\n          \"type\": \"Promoted\",\n          \"status\": \"True\",\n          \"lastUpdateTime\": \"2022-06-10T10:29:03Z\",\n          \"lastTransitionTime\": \"2022-06-10T10:29:03Z\",\n          \"reason\": \"Succeeded\",\n          \"message\": \"Canary analysis completed successfully, promotion finished.\"\n        }\n      ]\n    },\n    \"deploymentStrategy\": \"canary\"\n  },\n  \"automation\": {\n    \"kind\": \"Kustomization\",\n    \"name\": \"hello-world\",\n    \"namespace\": \"hello-world\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaveworks%2Fprogressive-delivery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaveworks%2Fprogressive-delivery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaveworks%2Fprogressive-delivery/lists"}