{"id":22683738,"url":"https://github.com/arogov-com/gitlab_ci_swarm","last_synced_at":"2026-04-13T01:18:26.434Z","repository":{"id":228223113,"uuid":"773368020","full_name":"arogov-com/gitlab_ci_swarm","owner":"arogov-com","description":"Gitlab pipeline for a docker project with deployment to a swarm cluster","archived":false,"fork":false,"pushed_at":"2024-07-03T13:59:59.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T14:41:47.721Z","etag":null,"topics":["deployment","docker","docker-swarm","gitlab","gitlab-ci"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arogov-com.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":"2024-03-17T13:32:55.000Z","updated_at":"2024-07-03T14:00:02.000Z","dependencies_parsed_at":"2025-02-04T15:32:17.739Z","dependency_job_id":"70295021-7645-4087-a036-35bb0510339e","html_url":"https://github.com/arogov-com/gitlab_ci_swarm","commit_stats":null,"previous_names":["arogov-com/gitlab_ci_swarm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arogov-com/gitlab_ci_swarm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Fgitlab_ci_swarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Fgitlab_ci_swarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Fgitlab_ci_swarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Fgitlab_ci_swarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arogov-com","download_url":"https://codeload.github.com/arogov-com/gitlab_ci_swarm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Fgitlab_ci_swarm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["deployment","docker","docker-swarm","gitlab","gitlab-ci"],"created_at":"2024-12-09T21:13:22.503Z","updated_at":"2026-04-13T01:18:26.408Z","avatar_url":"https://github.com/arogov-com.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab_ci_swarm\nGitlab pipeline for a docker project with deployment to a swarm cluster\n\n## Configure GitLab\nGo to project, Settings -\u003e CI/CD -\u003e Variables\n\nAdd following variables:\n\n`CI_REGISTRY - Docker registry URL`\n\n`CI_REGISTRY_USER - Docker registry user`\n\n`CI_REGISTRY_PASS - Docker registry password`\n\n`SWARM_HOST - Docker Swarm address (something like tcp://192.168.0.1:2376)`\n\n## Configure Docker Swarm master\nChange the Docker daemon settings to listen on the TCP port. On Alpine Linux change /etc/conf.d/docker:\n\n`DOCKER_OPTS=\"--host unix://var/run/docker.sock --host tcp://0.0.0.0:2376\"`\n\n## Configure Swarm Nodes\nConnect to the Docker Swarm master and add a tag to the desired node:\n\n`docker node update --label-add TAG=prod swarm-node`\n\n## Run pipeline\nMake commit, add tag, and push changes to the server\n\n`git commit -m 'Changes list'`\n\n`git tag release-v1.2`\n\n`git push origin master --tags`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farogov-com%2Fgitlab_ci_swarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farogov-com%2Fgitlab_ci_swarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farogov-com%2Fgitlab_ci_swarm/lists"}