{"id":15914765,"url":"https://github.com/droidpl/github-enterprise-upgrade-cli","last_synced_at":"2025-07-26T10:34:53.970Z","repository":{"id":95919005,"uuid":"420263215","full_name":"droidpl/github-enterprise-upgrade-cli","owner":"droidpl","description":"GitHub Enterprise Server CLI to upgrade the server automatically","archived":false,"fork":false,"pushed_at":"2023-02-25T02:01:00.000Z","size":56,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T03:44:33.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/droidpl.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}},"created_at":"2021-10-22T23:02:41.000Z","updated_at":"2023-04-25T02:18:07.000Z","dependencies_parsed_at":"2023-03-18T16:35:47.893Z","dependency_job_id":null,"html_url":"https://github.com/droidpl/github-enterprise-upgrade-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/droidpl/github-enterprise-upgrade-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droidpl%2Fgithub-enterprise-upgrade-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droidpl%2Fgithub-enterprise-upgrade-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droidpl%2Fgithub-enterprise-upgrade-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droidpl%2Fgithub-enterprise-upgrade-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droidpl","download_url":"https://codeload.github.com/droidpl/github-enterprise-upgrade-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droidpl%2Fgithub-enterprise-upgrade-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150480,"owners_count":24043473,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"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-10-06T17:06:26.573Z","updated_at":"2025-07-26T10:34:53.886Z","avatar_url":"https://github.com/droidpl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Enterprise upgrade command line tool\n\nCommand line tool, built with golang for automatic upgrade/patch of Github Entreprise. It support both single instance and multi replicas. \n\nScript options are:\n```\n  -config string\n        Configuration file (default \"config.yml\")\n  -p string\n        Platform your Github Enterprise is running on (default \"esx\")\n        supported platforms are: \"hyperv\", \"kvm\", \"esx\", \"xen\", \"ami\", \"azure\", \"gce\"\n  -ssh-config string\n        SSH keys folder path (default \"~/.ssh\")\n  -v string\n        GHE version\n  -y boolean\n        Automatic yes to confirmation prompt and run non-interactively (default false)\n  -l boolean\n        Download the upgrade package locally (from where you're running the tool) and upload it to servers, instead of downloading it from the servers. This is useful in case of servers have no/slow internet (default false)\n  -dry-run boolean\n        If true, only print how teh execution looks like, without running it.\n  -use-ssh-config boolean\n        Read host config values from ssh config file. the host in config.yml would be the alias to get the host, port, user and ssh keys from\n  -update-host-keys boolean\n        Grep new SSH host keys from the machine after rebooting the server, especially for upgrade\n\n```\n\nThe configuration file, is a yaml file that describe how to connect to the instances:\n```yaml\nprimary:\n   host: host:port               // IP and ssh port to connect to (port is default to 22)\n   user: user                    // ssh user to connect with (default to root)\n   authkey: \"some auth keys\"     // SSH auth keys for the primary (default to ~/.ssh/id_rsa)\n   replication_enabled: false    // is replica enables (default to false)\nreplicas:                        // list of replicas\n   - host: host:port             // IP and ssh port to connect to (port is default to 22)\n     user: user                  // user to connect with default to root\n     authkey: \"some auth keys\"   // SSH auth keys for the replica (default to ~/.ssh/id_rsa)\n     active: false               // is the replica active or not (default to false)\n     datacenter: \"somedata\"      // datacenter namegit  for geo-replication (optional)\n```\n\nThe app can read config from ssh config files. To enable this use the `-use-ssh-config` option. the app expect a `config` under the configured ssh folder (the one you mentioned under `-ssh-config`). The config file should look something like below:\n```\nHost primary\n    HostName XX.XX.XX.XX\n    User admin\n    Port 122\n    IdentityFile ~/.ssh/some_id.key\n```\n\n### Build app locally\nThe source files are under `src` directory. An example of configuration file is available in `config.yml`. To build the application simply run `go build -o update-cli ./src`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroidpl%2Fgithub-enterprise-upgrade-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroidpl%2Fgithub-enterprise-upgrade-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroidpl%2Fgithub-enterprise-upgrade-cli/lists"}