{"id":23381246,"url":"https://github.com/farukcankaya/ciappsigningexample","last_synced_at":"2025-10-10T04:34:55.734Z","repository":{"id":150973367,"uuid":"157677524","full_name":"farukcankaya/ciappsigningexample","owner":"farukcankaya","description":"Android keystore file storage solutions in Circle CI and Travis CI","archived":false,"fork":false,"pushed_at":"2020-01-24T18:02:35.000Z","size":1056,"stargazers_count":39,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-04-10T23:16:42.153Z","etag":null,"topics":["android","app","app-signing","circleci","continuous-integration","encryption","keystore","signing","travis-ci"],"latest_commit_sha":null,"homepage":"https://medium.com/@farukcankaya/where-to-store-android-keystore-file-in-ci-cd-cycle-2365f4e02e57","language":"Kotlin","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/farukcankaya.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}},"created_at":"2018-11-15T08:28:42.000Z","updated_at":"2023-03-11T19:49:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"483b6da1-2d3c-48be-9868-b1316909af03","html_url":"https://github.com/farukcankaya/ciappsigningexample","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farukcankaya%2Fciappsigningexample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farukcankaya%2Fciappsigningexample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farukcankaya%2Fciappsigningexample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farukcankaya%2Fciappsigningexample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farukcankaya","download_url":"https://codeload.github.com/farukcankaya/ciappsigningexample/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312132,"owners_count":21082638,"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":["android","app","app-signing","circleci","continuous-integration","encryption","keystore","signing","travis-ci"],"created_at":"2024-12-21T20:48:33.332Z","updated_at":"2025-10-10T04:34:50.708Z","avatar_url":"https://github.com/farukcankaya.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Where to Store Android KeyStore File in CI/CD Cycle?\nThis repo is created for \u003ca href=\"https://medium.com/@farukcankaya/where-to-store-android-keystore-file-in-ci-cd-cycle-2365f4e02e57\"\u003eWhere to Store Android KeyStore File in CI/CD Cycle\u003c/a\u003e article in medium. You can take a look to get the story.\nHere are the storage solutions:\n- \u003ca href=\"https://github.com/farukcankaya/ciappsigningexample/tree/feature/encode-keystore\"\u003eEncode keystore file as an environment variable\u003c/a\u003e\n- \u003ca href=\"https://github.com/farukcankaya/ciappsigningexample/tree/feature/encrypted-keystore\"\u003eStore encrypted keystore file in version control system\u003c/a\u003e\n- Download keystore from external source like AWS S3, Google Drive\n\n\u003cimg src=\"https://github.com/farukcankaya/ciappsigningexample/raw/development/art/art.png\" /\u003e\n\n### Build project in your local machine\n- Clone this repo and checkout the feature/encode-keystore branch:\n   ```\n   git clone https://github.com/farukcankaya/ciappsigningexample.git\n   cd ciappsigningexample\n   git fetch origin feature/encode-keystore\n   git checkout feature/encode-keystore\n   ```\n   \n- Create keystore files\n\n   We create two keystore files for **debug** and **release** build types. If you don't know how to create keystore, you create with following instructions \u003ca href=\"https://developer.android.com/studio/publish/app-signing#generate-key\"\u003ehere\u003c/a\u003e.\n   We used following informations to create keystores:\n\n   **Debug**\n   - Alias: Debug\n   - Password: 1234567\n   - Keystore file name: debug.keystore.jks\n   - Store password: 1234567\n   \n   **Release**\n   - Alias: Prod\n   - Password=12345678\n   - Keystore file name: release.keystore.jks\n   - Store password: 12345678\n- Create **keystore.properties** file in the project root(/ciappsigningexample)\n\n   Create **keystore.properties** file and put the informations below to **keystore.properties** file.\n   \n   ```\n   debugKeyAlias=Debug\n   debugKeyPassword=1234567\n   debugKeyStore=debug.keystore.jks\n   debugStorePassword=1234567\n   releaseKeyAlias=Prod\n   releaseKeyPassword=12345678\n   releaseKeyStore=release.keystore.jks\n   releaseStorePassword=12345678\n   ```\n   \n- Finally build the project!\n   You can build the project and create an APK with following command:\n   \n   `./gradlew clean assembleDebug`\n   It generates signed an APK named **app-debug.apk** in **/ciappsigningexample/app/build/outputs/apk/debug/** directory.\n\n### Feel free to contribute\nYou can open an issue or send pull request about my faults.\n\n### License\nDocumentation (guides, references, and associated images) is licensed as Creative Commons Attribution-NonCommercial-ShareAlike CC BY-NC-SA. The full license can be found [here](http://creativecommons.org/licenses/by-nc-sa/4.0/legalcode), and the human-readable summary [here](http://creativecommons.org/licenses/by-nc-sa/4.0/).\n\nEverything in this repository not covered above is licensed under the [included MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarukcankaya%2Fciappsigningexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarukcankaya%2Fciappsigningexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarukcankaya%2Fciappsigningexample/lists"}