{"id":21748274,"url":"https://github.com/surfstudio/surf_flutter_ci_cd","last_synced_at":"2025-08-18T15:09:51.585Z","repository":{"id":143093206,"uuid":"605576198","full_name":"surfstudio/surf_flutter_ci_cd","owner":"surfstudio","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-27T12:04:58.000Z","size":122,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T12:50:45.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/surfstudio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-02-23T13:01:50.000Z","updated_at":"2024-10-05T07:22:17.000Z","dependencies_parsed_at":"2024-11-26T08:12:58.967Z","dependency_job_id":"dc740d01-ac88-447b-883b-e692077cbf1a","html_url":"https://github.com/surfstudio/surf_flutter_ci_cd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/surfstudio/surf_flutter_ci_cd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fsurf_flutter_ci_cd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fsurf_flutter_ci_cd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fsurf_flutter_ci_cd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fsurf_flutter_ci_cd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surfstudio","download_url":"https://codeload.github.com/surfstudio/surf_flutter_ci_cd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2Fsurf_flutter_ci_cd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271012543,"owners_count":24684564,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-26T08:12:52.550Z","updated_at":"2025-08-18T15:09:51.564Z","avatar_url":"https://github.com/surfstudio.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Surf Flutter CI/CD\nSurf Flutter CI/CD - это набор инструментов и руководств, которые помогают оптимизировать процесс непрерывной интеграции и непрерывной доставки для мобильных приложений, написанных на Flutter.\n# Начало работы\nЧтобы начать работу с Surf Flutter CI/CD, вам необходимо выполнить следующие шаги:\n1. Добавить зависимость в pubspec.yaml.\n```yaml\ndev_dependencies:\n    surf_flutter_ci_cd:\n        git:\n            url: https://github.com/surfstudio/surf_flutter_ci_cd.git\n```\n2. В корне репозитория создать [cd.yaml](cd.yaml) файл и настроить его под свой проект. Этот файл будет содержать конфигурацию сборки и доставки вашего приложения.\n3. В корне репозитория создать [secrets.yaml](secrets.yaml) файл и заполнить его данным для своего проекта. Этот файл будет содержать ваши секретные ключи и пароли, которые не должны быть доступны в открытом виде. Добавьте файл его в .gitignore, чтобы не пушить в ваш репозиторий.\n# Использование пакета\n1. Открыть терминал в корне проекта.\n2. Выполнить команду в формате:\\\n`\nfvm flutter pub run surf_flutter_ci_cd [тип] --env=[окружение] --proj=[проект] --target=[платформа] --deploy-to=[сервис для доставки]\n`, где:\\\n`[тип]` - build(сборка), deploy(деплой), full(сборка и деплой);\\\n`[окружение]` - описанное в cd.yaml;\\\n`[проект]` - описанный в cd.yaml;\\\n`[платформа]` - android, ios;\\\n`[сервис для доставки]` - fb(Firebase, поддерживается Android и iOS), tf(Testflight - только iOS), gp(Google Play Console internal testing - только Android);\n    \n```\nДля --target=ios всегда собирается ipa.\nДля --target=android и --deploy-to=fb всегда собирается apk.\nДля --target=android и --deploy-to=gp всегда собирается aab.\n```\n# Основа\nВсе команды выполняются с помощью пакета process_run и создания экземпляра shell, который в свою очередь представляет из себя оболочку терминала Shell.\nС помощью ShellEnvironment создаются переменные окружения. В переменные окружения добавляется вся необходимая информация для работы fastlane. Различные токены, ключи и пути до файлов.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfstudio%2Fsurf_flutter_ci_cd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurfstudio%2Fsurf_flutter_ci_cd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfstudio%2Fsurf_flutter_ci_cd/lists"}