Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Configure Bitbucket-Pipeline for a magento repo

Omar Abdullah March 16, 2017

I want to use the Bitbucket-pipeline feature for my magento repository. The purpose is to run automated tests after deploying new features. Those tests are integrated with Browserstack to record the actions and logs. 

Here is an example for a simple ruby application:

https://bitbucket.org/browserstack/bitbucket-pipelines

 

I didn't found a documentation how to build a magento repo in Bitbucket-Pipeline. I just want to see an example how to build and run a very simple test (Check if element exist) for this magneto repo. What are the requirements? What of docker images do I need? How does the script commands in the yaml file looks like?

 

Thank you in advance

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 22, 2017

Hey Omar,

it should be possible to update the browserstack example that you provided to test your Magento site.

If you copy the example repository, you can change this file: 

https://bitbucket.org/browserstack/bitbucket-pipelines/src/2b39957986cb004319618ab94830f56ba06cebea/spec/welcome.rb?at=master&fileviewer=file-view-default#welcome.rb-26

You can change the URL to point to your site and then look for an element that should be present. 

I hope this helps?

TAGS
AUG Leaders

Atlassian Community Events