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

Can't figure out how to cache mysql-client in bitbucket pipelines

michorvath December 8, 2017

I am fairly new to pipelines and I am having trouble caching my dependencies to speed up my builds. I have looked over the documentation for pipelines and dependency caching specifically and don't quite understand what my path needs to be in the definitions section in order to correctly cache mysql-client after I install it?

I am using the following lines to install mysql and the mysqli extension:

- apt-get install -y unzip mysql-client
- docker-php-ext-install mysqli

 Ultimately, I am executing a php script that uses mysqli functions to access a remote database and perform tests/updates after each commit. The download and installation process of mysql takes 2/3 of build time, so I desperately need to cache it, I just don't understand how.

I am not very familiar with linux or bash commands, so cross-referencing the documentation is only getting me so far. Any help would be greatly appreciated!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events