Automation

Bitrise integration

Are you looking for a simple way to automatize your development cycle?
If so, probably Bitrise.io is the solution you need.

Bitrise

 

What it is?

Bitrise.io is a Mobile Continuous Integration and Delivery system specially designed for iOS and Android native Apps, with dozens of integrations for your favourite services, one of them, of course, is Applivery!

Bitrise.io will help you automatize the whole development cycle, detecting your commit/push to your repository and launching builds with specific workflows you can customize as lego pieces to build, sign, modify and even deploy your builds automatically.

The Applivery Step for Bitrise.io will allow you to automatically deploy new versions to you Applivery account in a very simple and fast way. You’ll also take advantage of the contextual information provided by Bitrise and also easily jump from Applivery to have a look to each build.

bitriseintegration

bitrise_deploy_info

 

How it works?

Ok! First of all you need to register an account in Bitrise.io.
Once done, you can start syncing your repositories and start building your Apps.
Bitrise.io uses Workflows to define what happen when building a new version of your App. By default, they will create an standard workflow according to the technology of your App.

You can place our Step at the end of your Bitrise.io workflow and deploy the final build to your Applivery account automatically.

How can I do it?

It’s so easy, but let’s start from the very beginning.

Step 1:
Login into you Bitrise.io account. You’ll see your existing Apps. If you still don’t have one, click + Add button to sync your Bitbucket, GitHub or GitLab repository, following the instructions.Bitrise step 1

Step 2:
Select the App where you want to integrate Applivery. Once inside, select the Workflow tab.bitrise_002

Step 3:
Bitrise.io allows yo to have multiple Workfloes for the same App. If you have more than the default one, select the one you want to integrate Applivery into. If not, you’ll see the primary workflow already selected.
bitrise_003

In the middle of the screen you’ll see the different Steps that compose your workflow.
Scroll down and click the + button before the “Cleaning up the Virtual Machine” step.

Step 4:
A modal window will be opened for you to select Applivery’s Bitrise step. Scroll down or type “applivery” in the search box.
bitrise_004

Once found, click de “Add to Workflow” green button.

Step 5 – Get you Applivery Account Information
Now it’s time to link you Bitrise.io App with you Applivery App. To do that, you’ll need some information of your Applivery App that you need to place in the Bitrise.io dashboard. You’ll need the Applivery App ID and your Applivery Account API Key.

To get you Applivery App ID go to the Applivery Dashboard and select the App you want to connect.applivery_appid

To get your Applivery Account API Key go to your Applivery Dashboard Developers options and copy & paste you API Key (the left one).

applivery_account_api_key

Step 6 – Setup your Applivery account information in your Bitrise project.

We are almost done. Now it’s time to paste your Applivery credentials in Bitrise.io.
First click the “Manage Env. Vars” from the right side of the Bitrise.io Dashboard (main screen of the workflow editor).

Click the “Add New” green button and type “APPLIVERY_APP_ID” in the white input form and paste your Applivery App ID in the grey one.

bitrise_006

Now go to the left site menu of the Bitrise.io dashboard and select the “Secret Env Vars” menu option. Click the “Add New” green button and type “APPLIVERY_API_TOKEN” in the white input form and paste your Applivery Account API Key in the grey one.
bitrise_005

Step 7
And that’s it! Your Bitrise.io and your Applivery account are now connected and your Bitrise.io App is pointing to our Applivery App. To test if everything is working properly just go to you Bitrise.io App and click the “Start a build” green button and let the magic happen!
bitrise_007

AppliveryBitrise