{"id":15944048,"url":"https://github.com/dimasmith/ci-server-setup","last_synced_at":"2025-10-19T04:31:21.532Z","repository":{"id":75302480,"uuid":"84966137","full_name":"dimasmith/ci-server-setup","owner":"dimasmith","description":"Scripts to install CI server for Java development","archived":false,"fork":false,"pushed_at":"2017-03-28T13:21:04.000Z","size":32,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T08:11:16.841Z","etag":null,"topics":["ansible","ci-server","docker","java","jenkins","nexus-repository","playbook"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimasmith.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-14T15:35:20.000Z","updated_at":"2024-06-01T01:07:22.000Z","dependencies_parsed_at":"2023-02-28T05:16:13.449Z","dependency_job_id":null,"html_url":"https://github.com/dimasmith/ci-server-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimasmith%2Fci-server-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimasmith%2Fci-server-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimasmith%2Fci-server-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimasmith%2Fci-server-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimasmith","download_url":"https://codeload.github.com/dimasmith/ci-server-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237068384,"owners_count":19250057,"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":["ansible","ci-server","docker","java","jenkins","nexus-repository","playbook"],"created_at":"2024-10-07T08:20:58.549Z","updated_at":"2025-10-19T04:31:16.274Z","avatar_url":"https://github.com/dimasmith.png","language":null,"readme":"CI Server\n========\n\nAutomated setup for CI server to use with java projects.\n\n## Software that can be set up:\n\n* [Jenkins](https://jenkins.io/)\n* [Nexus](https://www.sonatype.com/nexus-repository-oss)\n* [Nginx](https://www.nginx.com/resources/wiki/)\n* [SonarQube](https://www.sonarqube.org/)\n\n## Setting up\n\nSoftware is set up via [Ansible](https://www.ansible.com/).\n\nCopy or modify example playbook to set up your server.\nProvide an inventory file for the playbook.\nProvision environment using Ansible.\n\n### Customization\n\n#### Domains\nDomains are used by gateway to proxy requests to services.\nVariables to set up domains:\n* `jenkins_domain` for jenkins;\n* `nexus_domain` for nexus;\n* `sonar_domain` for sonar;\n\n#### Service ports\nIt is possible to customize network ports for services by setting:\n* `jenins_port` for jenkins;\n* `nexus_port` for nexus;\n* `sonar_port` for sonar;\n\n#### Service versions\nService versions can be changes by setting variables:\n* `jenkins_version`;\n* `nexus_version`;\n* `sonar_version`;\n\nThose settings can be customized when including role.\nIf, for example, you want to run jenkins on 8888 port on `build.example.com` domain\ncreate playbook like that:\n```yml\nroles\n  - { role: gateway, jenkins_domain: \"build.example.com\" }\n  - { role: jenkins, jenkins_port: 8888 }\n  - nexus\n```\n\n### Evaluate locally\n\nThe Vagrantfile is included to populate your server locally.\nIt is advised to evaluate installation using vagrant before provisioning servers.\n\nThe `example.yml` playbook populates local environment.\nVagrant launches machine in private network using `192.168.1.10` address.\nBy default gateway is set up to resolve `jenkins.ci` and `nexus.ci` domains\nto respective services.\n\nYou may use dnsmasq to set up local development domain to test installation.\n\n## Software\n\n### SonarQube\nSonar is installed together with MySQL database.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimasmith%2Fci-server-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimasmith%2Fci-server-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimasmith%2Fci-server-setup/lists"}