{"id":21887228,"url":"https://github.com/profcomff/cicd-api","last_synced_at":"2025-07-21T10:31:01.579Z","repository":{"id":65839726,"uuid":"599007707","full_name":"profcomff/cicd-api","owner":"profcomff","description":"API для автоматизации процесса деплоя сервисов Твой ФФ","archived":false,"fork":false,"pushed_at":"2023-10-07T14:59:38.000Z","size":48,"stargazers_count":10,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-10-07T15:38:16.542Z","etag":null,"topics":["devtools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profcomff.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}},"created_at":"2023-02-08T09:01:27.000Z","updated_at":"2023-08-25T12:38:49.000Z","dependencies_parsed_at":"2023-04-25T00:33:44.398Z","dependency_job_id":null,"html_url":"https://github.com/profcomff/cicd-api","commit_stats":null,"previous_names":["profcomff/cicd-api"],"tags_count":11,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fcicd-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fcicd-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fcicd-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fcicd-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profcomff","download_url":"https://codeload.github.com/profcomff/cicd-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226903005,"owners_count":17700619,"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":["devtools"],"created_at":"2024-11-28T11:08:51.586Z","updated_at":"2024-11-28T11:08:52.304Z","avatar_url":"https://github.com/profcomff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ci-api\n\nAPI для запуска CI тасков на серверах.\nДля использования сделайте запрос следующего вида по адресу, на котором настроено CI API для вашего сервера\n\n[\u003cimg src=\"https://cdn.profcomff.com/easycode/easycode.svg\" width=\"200\"\u003e\u003c/img\u003e](https://easycode.profcomff.com/templates/docker-fastapi/workspace?mode=manual\u0026param.Repository+URL=https://github.com/profcomff/cicd-api.git\u0026param.Working+directory=cicd-api)\n\n```\ncurl -X 'POST' \\\n  'https://ci.api.profcomff.com/{action}' \\\n  -H 'accept: application/json' \\\n  -H 'Content-Type: application/json' \\\n  -H 'Authorization: token {token}' \\\n  -d '{\n  \"repo_url\": \"string\",\n  \"commit_hash\": \"string\"\n}'\n```\n\n## Запуск\n\nНа проде запуск производится через Docker Compose\n\n```docker-compose\nversion: '3'\n\nservices:\n  ci-api:\n    image: ghcr.io/profcomff/ci-api:latest\n    restart: always\n    environment:\n      - AUTH_URL=https://auth.api.profcomff.com/\n    volumes:\n      - /var/run/docker.sock:/var/run/docker.sock\n    networks:\n      web:\n        aliases:\n          - ci_api\n\nnetworks:\n  web:\n    external: true\n    name: web\n```\n\n## ENV-file description\n\n`AUTH_URL` – url корня API авторизации профкома, по умолчанию `https://auth.api.test.profcomff.com/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fcicd-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofcomff%2Fcicd-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fcicd-api/lists"}