How to use Amazon Device Farm with GoCD - appium

We are planning to config CI for our mobile apps (both Android and iOS). I've tried to use Device Farm with our Java and TestNG scrips and it works well. However, I have no idea how to use your device cloud with our current GoCD to implement CI/CD for mobile development. I noticed Device Farm have plugin for Jenkins but not GoCD.
Could you guys please consult me in this case? Thanks alot.

AWS Device Farm engineer here. We don't have any plans (as of mid-2017) to develop a GoCD plugin. However, the service API is documented and publicly available and you can use it and the Jenkins implementation as a reference to build your own integration.

Related

Continuous integration/deployment iOS Android app

We have developed Xamarin.iOS and Xamarin.Android app using Visual studio.
and we want a way to automate deployment as we have repository on bitbucket
On search we found there are Jenkins, and MacinCloud, Bitrise.
What will be best option to execute following process.
1. Get code from repository .
2. Build ipa,apk for both android and iOS platform.
3. Deploy to Appstore/Testflight.
Do any of above provide facility to configure and deploy app for multiple environment(DEV/ST/PROD).
Thanks
To address your goals 1-by-1:
Get code from repository
You will want a CI/CD tool: Jenkins, Azure Pipelines, Bamboo will help you automate the build process. The first step in most of these tools will be to grab the source code from the repository.
Build ipa,apk for both android and iOS platform
You will need a Mac computer for the .ipa. There is no easy way around this requirement as you need XCode and an Apple developer account in order to build the signed .ipa for iOS deployments. The android apk can be built on pretty much any platform though. Because you will need a Mac, you may end up having to setup a remote agent for your CI/CD service in order to build on that machine.
Deploy to Appstore/Testflight
You can either script this part, use a plugin with your CI/CD tool, or use a 3rd party entirely. Some popular 3rd party options are Microsoft's Appcenter (formally HockeyApp) or Fastlane.
Do any of above provide facility to configure and deploy app for multiple environment(DEV/ST/PROD)?
Yes. All of the CI/CD tools mentioned above support this. Additionally, the Google Play store supports different release tracks, and you can setup different deployment strategies with iOS depending on the tooling you end up selecting.

Is it possible to use Bamboo for iOS CI?

Is it possible to use Bamboo for iOS CI? Since all developers on my company using Bamboo on their projects (Java based), I would like also to use Bamboo as a platform for iOS CI.
I'm assuming you want to do iOS CI on Mac OS.
If that's true then it's possible and I have setup that topology in my company, using a server-agent approach.
Bamboo agent is a Java program which could be run on Mac OS. Let the agent talk to your current Bamboo server and handle all iOS build/test.
Bamboo does not officially support iOS as a 1st class citizen yet. However, there is this beta "labs" project that looks promising. It seems to suggest that official support is incoming soon. I too would love for Atlassian to include iOS/XCode project support.

How to integrate AWS Device Farm with TFS build

I am looking to integrate AWS Device Farm with my TFS Build. I have an .apk that I want to test on the Device Farm. Is there a TFS Build plugin similar to jenkins, if not then is there an API I can connect to in AWS to upload my apk and get results?
There is no default plugin or service to integrate AWS Device Farm with TFS Build. After you get .apk file from TFS build, you need to use AWS Device Farm UI or CLI or API to run the test.
Useful links:
http://blog.learningtree.com/en/android-user-interface-testing-on-amazons-device-farm-part-2/
http://docs.aws.amazon.com/devicefarm/latest/developerguide/cli-ref.html
http://docs.aws.amazon.com/devicefarm/latest/APIReference/Welcome.html

Continues Integration with IOS

I am looking for the best way to get my Xcode Apps on CI.
I already have a designated Jenkins server which is Integrated with BitBucket.
I want to know what would be the best option.
Do I use Xcode server or is there a way I can also use my Jenkins server to build my Xcode apps through a slave server that is run on a Mac?
Thank you for your Help.

IBM MobileFirst: Build scripts for Jenkins?

Are there any standard build scripts (For building adapters and Hybrid Apps) that I can use as base for creating my build process.
Thanks in advance!
/Amit
MobileFirst Platform does not officially support Jenkins and thus does not provide any 'standard build scripts'.
It could be that some customers would prefer to use Jenkins over other tools and methods.
The MFP user documentation suggests and provide instructions for using Apache Ant.

Resources