{"id":27185079,"url":"https://github.com/threefoldtech/zos-update-worker","last_synced_at":"2025-04-09T17:10:29.963Z","repository":{"id":64379168,"uuid":"566748406","full_name":"threefoldtech/zos-update-worker","owner":"threefoldtech","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-12T04:07:21.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"development","last_synced_at":"2023-10-12T20:50:43.091Z","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/threefoldtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-16T10:38:28.000Z","updated_at":"2023-10-12T20:50:43.092Z","dependencies_parsed_at":"2023-01-15T14:31:00.849Z","dependency_job_id":null,"html_url":"https://github.com/threefoldtech/zos-update-worker","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fzos-update-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fzos-update-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fzos-update-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fzos-update-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threefoldtech","download_url":"https://codeload.github.com/threefoldtech/zos-update-worker/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074976,"owners_count":21043490,"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":"2025-04-09T17:10:29.144Z","updated_at":"2025-04-09T17:10:29.957Z","avatar_url":"https://github.com/threefoldtech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zos-update-worker\n\nA worker to get the version set on the chain with the substrate-client with a specific interval (for example: 10 mins) for mainnet, testnet, and qanet\n\n## How to use\n\n- Get the binary\n\n\u003e Download the latest from the [releases page](https://github.com/threefoldtech/zos-update-worker/releases)\n\n- Run the worker\n\nAfter downloading the binary\n\n```bash\nsudo cp zos-update-worker /usr/local/bin\nzos-update-worker\n```\n\n- you can run the command with:\n\n```bash\nzos-update-worker --src=tf-autobuilder --dst=tf-zos --interval=10 --main-url=wss://tfchain.grid.tf/ws --main-url=wss://tfchain.grid.tf/ws --test-url=wss://tfchain.test.grid.tf/ws --test-url=wss://tfchain.test.grid.tf/ws --qa-url=wss://tfchain.qa.grid.tf/ws --qa-url=wss://tfchain.qa.grid.tf/ws\n```\n\n## Test\n\n```bash\nmake test\n```\n\n## Coverage\n\n```bash\nmake coverage\n```\n\n## Substrate URLs\n\n```go\nSUBSTRATE_URLS := map[string][]string{\n \"qa\":         {\"wss://tfchain.qa.grid.tf/ws\"},\n \"testing\":    {\"wss://tfchain.test.grid.tf/ws\"},\n \"production\": {\"wss://tfchain.grid.tf/ws\"},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Fzos-update-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreefoldtech%2Fzos-update-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Fzos-update-worker/lists"}