Open svo opened 4 years ago
I haven't been able to reproduce this with the same image and Ruby version. Would you mind including the full shippable.yml contents (except placeholders for any variables or other information that can't be public)?
Of course... thanks @a-murphy :-)
language: ruby
rvm:
- 2.6.2
services:
- mysql
build:
ci:
- nvm install 7.8.0
- ./bash/test.sh
Unfortunately, I still don't see any problems with MySQL when I try a copy of that YML on the same machine image version as your subscription. There's a slight possibility that one of the commands used to start MySQL could have been overridden by the files in your repository. Any chance you have a mysql_start
or shippable_service
?
Unfortunately no mysql_start
or shippable_service
files in the repository.
I did try bringing the image locally and had no issue... though in honest I didn't through all the RVM steps etc evidenced in the shippable logs.
I'm trying to replicate in a more simplistic project:
https://github.com/Qualis/shippable-mysql-test https://app.shippable.com/github/Qualis/shippable-mysql-test/dashboard
Seems to fail when I add the .nvmrc
file.
I have simplified the test project to just the following:
If I remove the .nvmrc it is green, otherwise red.
The content of the files:
cat .node-version
7.8.0
cat .nvmrc
7.8
cat .ruby-version
2.6.2
cat shippable.yml
language: ruby
rvm:
- 2.6.2
services:
- mysql
build:
ci:
- nvm install 7.8.0
- echo ":-)"
Now just the .nvmrc .ruby-version and shippable.yml
cat .nvmrc
7.8.0
cat .ruby-version
2.6.2
cat shippable.yml
language: ruby
rvm:
- 2.6.2
services:
- mysql
build:
ci:
- echo ":-)"
The removal of the .nvmrc file has resolved my issue on the other project.
Thanks for the support :-)
Unable to start MySQL service
When adding the following stanza to the
shippable.yml
we are encountering a build failure in themysql_start
step.Supporting Material
drydock/u16ruball:v6.3.4