Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 184.108.40.206 release ready!
Owner and Founder. Opencart
GitLab is a tool that is used for software development. You can do the planning, code management, monitoring, bugs management etc. using a single tool. It also provides GitLab CI and CD which is Continuous Integration and Continuous Deployment respectively. With the help of a few configurations, your every commit or push triggers a CI pipeline. A pipeline is a group of jobs that get executed in stages. If everything goes right in a stage then only the pipeline moves to the next stage. There are stages like build, test and deploy.
In this blog, we will learn how to set up your Android project with GitLab CI so that with every push it automatically starts generating an APK. First, we need to generate the APK and then we will go for the deployment part in the other blog.
You are here to learn about the GitLab CI, So we assume that you already know how to upload your code on GitLab CI. In case you are not aware of that you can flow this link of the GitLab Doc.
GitLab CI file location
In the above code, We have defined two stages build and test. The build stage creates a debug APK (We can also change the command to generate release version APK) and checks for lint warnings. The second stage tests the APK.
Hope this helps you in getting started with GitLab CI. There are a lot more things that you can do with the GitLab and we will surely see them some other day.
That’s all for this blog. Thank you very much. This is Vedesh Kumar signing off.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
./gradlew assembleRelease -Pandroid.injected.signing.store.file=$KEYFILE -Pandroid.injected.signing.store.password=$STORE_PASSWORD -Pandroid.injected.signing.key.alias=$KEY_ALIAS -Pandroid.injected.signing.key.password=$KEY_PASSWORD
All you need is to define proper variables as mentioned in this line.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.