{"id":20132544,"url":"https://github.com/aherrmann/bazel-remote-retry-testing","last_synced_at":"2026-02-05T18:30:55.765Z","repository":{"id":71967602,"uuid":"458232275","full_name":"aherrmann/bazel-remote-retry-testing","owner":"aherrmann","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-13T10:13:40.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-10T19:27:58.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/aherrmann.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},"funding":{"open_collective":"bazel-rules-authors-sig"}},"created_at":"2022-02-11T15:05:29.000Z","updated_at":"2022-02-11T15:05:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c6d30f9-20ac-48bf-8bfc-7868c9692f98","html_url":"https://github.com/aherrmann/bazel-remote-retry-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aherrmann/bazel-remote-retry-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aherrmann%2Fbazel-remote-retry-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aherrmann%2Fbazel-remote-retry-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aherrmann%2Fbazel-remote-retry-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aherrmann%2Fbazel-remote-retry-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aherrmann","download_url":"https://codeload.github.com/aherrmann/bazel-remote-retry-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aherrmann%2Fbazel-remote-retry-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29128670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T17:12:17.649Z","status":"ssl_error","status_checked_at":"2026-02-05T17:11:23.670Z","response_time":65,"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":"2024-11-13T20:53:57.664Z","updated_at":"2026-02-05T18:30:55.749Z","avatar_url":"https://github.com/aherrmann.png","language":"Dockerfile","funding_links":["https://opencollective.com/bazel-rules-authors-sig"],"categories":[],"sub_categories":[],"readme":"# Setup\n\nMake sure to have Bazel installed.\n\nClone this repository:\n```\n$ git clone https://github.com/aherrmann/bazel-remote-retry-test.git\n$ cd bazel-remote-retry-test.git\n$ git submodule update --init\n```\n\nBuild the patched Bazel with HTTP remote cache retry:\n```\n$ (cd bazel-patched \u0026\u0026 bazel build //src:bazel-bin)\n```\n\nMake the cache directories writable to the Docker users:\n```\n$ mkdir bazel-remote-dir nginx-dir\n$ chmod o+w bazel-remote-dir nginx-dir\n```\n\nStart the remote cache and toxiproxy:\n```\n$ USER_ID=$(id -u) GROUP_ID=$(id -g) docker-compose up\n```\n\nStart a cached Bazel build using the bazel-remote HTTP cache:\n```\n$ BAZEL=$PWD/bazel-patched/bazel-bin/src/bazel\n$ (cd bazel-original \u0026\u0026 $BAZEL clean \u0026\u0026 $BAZEL build //src:bazel-bin --remote_upload_local_results=true --remote_cache=http://localhost:8182)\n```\n\nStart a cached Bazel build using the bazel-remote GRPC cache:\n```\n$ BAZEL=$PWD/bazel-patched/bazel-bin/src/bazel\n$ (cd bazel-original \u0026\u0026 $BAZEL clean \u0026\u0026 $BAZEL build //src:bazel-bin --remote_upload_local_results=true --remote_cache=grpc://localhost:9093)\n```\n\nStart a cached Bazel build using the nginx HTTP cache:\n```\n$ BAZEL=$PWD/bazel-patched/bazel-bin/src/bazel\n$ (cd bazel-original \u0026\u0026 $BAZEL clean \u0026\u0026 $BAZEL build //src:bazel-bin --remote_upload_local_results=true --remote_cache=http://localhost:8184)\n```\n\nClear the cache as needed:\n```\n$ sudo rm -rf bazel-remote-dir/* nginx-dir/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faherrmann%2Fbazel-remote-retry-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faherrmann%2Fbazel-remote-retry-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faherrmann%2Fbazel-remote-retry-testing/lists"}