{"id":18672619,"url":"https://github.com/dimmaryanto93/springboot-gitlab-ci-example","last_synced_at":"2026-05-18T07:34:23.025Z","repository":{"id":107985024,"uuid":"133923328","full_name":"dimMaryanto93/springboot-gitlab-ci-example","owner":"dimMaryanto93","description":"Belajar Continues Development dengan Gitlab","archived":false,"fork":false,"pushed_at":"2018-05-18T15:35:04.000Z","size":1845,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-18T10:06:17.131Z","etag":null,"topics":["continuous-integration","gitlab-ci","springboot"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/dimMaryanto93.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,"zenodo":null}},"created_at":"2018-05-18T08:04:25.000Z","updated_at":"2018-06-25T13:54:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"81dcb151-ea35-4439-bf3d-1ef24d657985","html_url":"https://github.com/dimMaryanto93/springboot-gitlab-ci-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimMaryanto93/springboot-gitlab-ci-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot-gitlab-ci-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot-gitlab-ci-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot-gitlab-ci-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot-gitlab-ci-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimMaryanto93","download_url":"https://codeload.github.com/dimMaryanto93/springboot-gitlab-ci-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimMaryanto93%2Fspringboot-gitlab-ci-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33169315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":["continuous-integration","gitlab-ci","springboot"],"created_at":"2024-11-07T09:12:33.258Z","updated_at":"2026-05-18T07:34:23.018Z","avatar_url":"https://github.com/dimMaryanto93.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automation Deployment\n\nMelakukan automation untuk deployment, atau lebih sering disebut continues integration and continues development. Untuk melakukan semua itu ada beberapa teknologi yang kita bisa gunakan seperti berikut:\n\n- GUI Based\n    - Jenkins\n    - [Jetbraint TeamCity](https://www.jetbrains.com/teamcity)\n- Script Based\n    - Gitlab CI\n    - Github CI\n    - Bitbucket\n\n## Run gitlab on docker-compose\n\nKarena saya mau menggunakan `gitlab-ci` jadi saya menggunakan docker untuk menginstall dockernya, run gitlab containernya menggunakan perintah `docker-compose up` setelah installasi gitlab dalam docker container selesai anda bisa masuk ke gitlabnya di link [http://localhost](http://localhost:80) kemudian masukan password untuk root gitlab klo saya pake `adminroot`.\n\n![install gitlab](imgs/intro-gitlab-install.png)\n\n## Buat repository di gitlab\n\nSama halnya seperti kita mau menggunakan version control sistem seperti github, bitbucket klo kita mau pake hosting version control kita harus buat repositorynya dulu, ok langsung aja buat. Tapi pertama harus login dulu dengan user yang telah kita buat. Setelah itu buat seperti berikut:\n\n![membuat repository](imgs/create-repository.png)\n\ntambahkan remote repository ke project yang telah kita buat seperti berikut:\n\n```bash \ngit remote add origin http://localhost/dimasm93/belajar-ci.git\n```\n\nSetelah ditambahkan kemudian di push ke remote repository, dengan perintah seperti berikut:\n\n```bash \ngit push -u origin master\n\n```\n\n## Intall Gitlab Runner\n\nUntuk menginstall gitlab-runner, kita membutuhkan virtual machine atau host kita sendiri. cara installnya bisa dilihat di [website resminya](https://docs.gitlab.com/runner/)\n\nSekarang kita register repository kita ke gitlab-runner dengan melihat dulu tokennya di repository contohya seperti berikut:\n\n![setting ci/cd](imgs/repository-settings.png)\n\n![token ci](imgs/repository-ci-token.png)\n\nSelelah itu baru kita gunakan command berikut:\n\n```bash\ngitlab-runner register\n\n# 1. input host gitlab repository contohnya http://192.168.1.61\n# 2. masukan token dari repository contohnya iPphgHznVcaqaGe1NU6y\n# 3. biarkan setinggan default langsung enter ja\n# 4. Setelah itu gitlab-runner kita harus tentukan pilihan mau connection lewat ssh, docker, dll kita pilih ja ssh\n# 5. Setelah itu kasih aja informasi alamat vps atau server kita seperti host, username, port ssh, password \n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimmaryanto93%2Fspringboot-gitlab-ci-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimmaryanto93%2Fspringboot-gitlab-ci-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimmaryanto93%2Fspringboot-gitlab-ci-example/lists"}