{"id":18186033,"url":"https://github.com/cpg1111/maestrod","last_synced_at":"2025-04-02T00:31:51.619Z","repository":{"id":57488561,"uuid":"58783979","full_name":"cpg1111/maestrod","owner":"cpg1111","description":"Manager Daemon for maestro https://github.com/cpg1111/maestro","archived":false,"fork":false,"pushed_at":"2017-02-21T03:00:13.000Z","size":129,"stargazers_count":7,"open_issues_count":7,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T02:47:41.318Z","etag":null,"topics":["continuous-delivery","continuous-deployment","continuous-integration","maestro","scheduler","webhooks"],"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/cpg1111.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":"2016-05-14T01:47:34.000Z","updated_at":"2023-01-26T11:44:00.000Z","dependencies_parsed_at":"2022-08-29T15:01:44.705Z","dependency_job_id":null,"html_url":"https://github.com/cpg1111/maestrod","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpg1111%2Fmaestrod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpg1111%2Fmaestrod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpg1111%2Fmaestrod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpg1111%2Fmaestrod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpg1111","download_url":"https://codeload.github.com/cpg1111/maestrod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246718401,"owners_count":20822567,"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":["continuous-delivery","continuous-deployment","continuous-integration","maestro","scheduler","webhooks"],"created_at":"2024-11-02T23:04:32.072Z","updated_at":"2025-04-02T00:31:50.802Z","avatar_url":"https://github.com/cpg1111.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maestrod\nManager Daemon for maestro https://github.com/cpg1111/maestro\n\n## Building\n\nIf you have glide (https://github.com/Masterminds/glide)\n\n```\nmake\nmake install\n```\n\nOtherwise if you have docker\n\n```\nmake docker\n```\n\n## Running\n\nMaestrod requires a \"runtime\" to run, the currently supported runtimes are:\n\n- Kubernetes (https://github.com/kubernetes/kubernetes)\n\n- Docker Engine (https://github.com/docker/docker)\n\nMaestrod also requires a Key Value datastore, the currently supported datastores are:\n\n- Etcd v2 or v3 (https://github.com/coreos/etcd)\n\n- MongoDB (https://github.com/mongodb/mongo)\n\n- Redis (https://github.com/antirez/redis)\n\n(Once Go 1.8.X is released both runtimes and datastores will be standard Go plugins that anyone can create)\n\nTo configure Maestrod you have a toml file as follows:\n\n```\n[Server]\nRuntime=\u003cthe runtime to be used\u003e # Currently can be: k8s, kubernetes or docker REQUIRED\nMaxBuilds=\u003cthe number of max active builds you want\u003e # REQUIRED\nDataStoreType=\u003cthe datastore to be used\u003e # Currently can be: etcd2, etcd3, mongodb, or redis REQUIRED\nDataStoreUser=\u003cany user to auth with datastore\u003e\nDataStorePWD=\u003cany password to auth with datastore\u003e # plain text for now, but it will take a hash in the future\nDataStoreEnvIP=\u003cenv var name for the datastore IP addr\u003e\nDataStoreStaticIP=\u003chardcoded IP addr of the datastore\u003e\nDataStoreEnvPort=\u003cenv var name for the datastore port number\u003e\nDataStoreStaticPort=\u003chardcoded port number of the datastore\u003e\nTargetProtocol=\u003cprotocol to speak to the runtime\u003e # REQUIRE\nTargetHost=\u003chardcoded IP addr for the runtime\u003e\nTargetEnvHost=\u003cenv var for the runtime IP addr\u003e\nTargetPort=\u003chardcoded port number for the runtime\u003e\nTargetEnvPort=\u003cenv var for the runtime port number\u003e\nClientCertPath=\u003cpath to a certificate for clients to the runtime\u003e\nClientKeyPath=\u003cpath to cert key for clients to the runtime\u003e\nServerCertPath=\u003cpath to cert for serving the webhooks over https\u003e\nServerKeyPath=\u003cpath to cert key for serving the webhooks over https\u003e\nMaestroVersion=\u003cversion of maestro to run\u003e\nHost=\u003chost to bind to\u003e\nInsecurePort=\u003cInsecure port to listen on\u003e\nSecurePort=\u003cSecure port to listen on\u003e\nStateComPort=\u003cPort for state communication between maestro and maestrod\u003e\nWorkspaceDir=\u003cThe directory in which each maestro worker clones their project into\u003e\n\n[[Projects]]\nName=\u003cproject name\u003e\nMaestroConfPath=\u003cpath to a maestro conf\u003e\nDeployBranches=\u003cwhich branches to run deployment on when pushed\u003e\n\n[[Mounts]]\nKind=\u003ctype\u003e # currently only hostPath is supported\nPath=\u003cpath both on the host and container\u003e\nName=\u003cname of volume mount\u003e\n\n```\n\nThen run\n\n```\nmaestrod \\\n--config-path=\u003cpath to config\u003e\n--runtime=\u003cconf override for runtime\u003e\n--host-ip=\u003chost to bind to config override\u003e\n--port=\u003cport to listen to config override\u003e\n--workspace-dir=\u003cpath to clone projects into config override\u003e\n--datastore-type=\u003cdatastore config override\u003e\n```\n\nThen add `http(s)://\u003cpublic maestro ip\u003e:\u003cmaestro port\u003e/push` as a webhook for repo pushes and\n\n`http(s)://\u003cpublic maestro ip\u003e:\u003cmaestro port\u003e/pullrequest` for pull request hooks.\n\n## Using a remotely hosted Config\n\nIf you supply a path such as `s3://aBucket/maestrod/conf.toml` or `gs://aBucket/maestrod/conf.toml`, Maestrod will fetch the config from either S3 or Google Cloud Storage as oppose to local disk.\n\n### To Authenticate with the Object Store\n\n#### S3\n\nSupply the environment variables:\n\n    \n        AWS_ACCESS_KEY_ID=\u003cyour access key ID\u003e\n        AWS_SECRET_ACCESS_KEY=\u003cyour secret key\u003e\n        AWS_S3_REGION=\u003cthe s3 region to use\u003e\n    \n\n#### Google Cloud Storage\n\nSupply the environment variable:\n\n    \n        GCLOUD_SVC_ACCNT_FILE=\u003cpath to a service account file\u003e\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpg1111%2Fmaestrod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpg1111%2Fmaestrod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpg1111%2Fmaestrod/lists"}