I have the following step that is being executed.
- name: 'gradle:6.8.3-jdk11'
entrypoint: 'gradle'
args: [ 'integration-test']
The integration test fails because there is no mysql server running within. Locally I execute my integration test by spinning up a mysql container with docker. However I am unsure how to do this with cloudbuild.yaml
.
I need to use the gradle image here but also the mysql image having a running mysql container.
In Bitbucket I can solve this by providing 'services' where I am able to choose services to run in company with the steps.
I scraped the documentation without any findings: https://cloud.google.com/build/docs/build-config#structure_of_a_build_config_file