mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
remove duplicate mysql installation
This commit is contained in:
parent
df4766b43e
commit
fcfa009cad
24
.travis.yml
24
.travis.yml
@ -36,18 +36,18 @@ before_install:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get update && sudo apt-get install -y libldap2-dev
|
- sudo apt-get update && sudo apt-get install -y libldap2-dev
|
||||||
- sudo apt-get remove -y mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5
|
# - sudo apt-get remove -y mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5
|
||||||
- sudo apt-get autoremove -y
|
# - sudo apt-get autoremove -y
|
||||||
- sudo apt-get install -y libaio1
|
# - sudo apt-get install -y libaio1
|
||||||
- wget -O mysql-5.6.14.deb http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14-debian6.0-x86_64.deb/from/http://cdn.mysql.com/
|
# - wget -O mysql-5.6.14.deb http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14-debian6.0-x86_64.deb/from/http://cdn.mysql.com/
|
||||||
- sudo dpkg -i mysql-5.6.14.deb
|
# - sudo dpkg -i mysql-5.6.14.deb
|
||||||
- sudo cp /opt/mysql/server-5.6/support-files/mysql.server /etc/init.d/mysql.server
|
# - sudo cp /opt/mysql/server-5.6/support-files/mysql.server /etc/init.d/mysql.server
|
||||||
- sudo ln -s /opt/mysql/server-5.6/bin/* /usr/bin/
|
# - sudo ln -s /opt/mysql/server-5.6/bin/* /usr/bin/
|
||||||
- sudo sed -i'' 's/table_cache/table_open_cache/' /etc/mysql/my.cnf
|
# - sudo sed -i'' 's/table_cache/table_open_cache/' /etc/mysql/my.cnf
|
||||||
- sudo sed -i'' 's/log_slow_queries/slow_query_log/' /etc/mysql/my.cnf
|
# - sudo sed -i'' 's/log_slow_queries/slow_query_log/' /etc/mysql/my.cnf
|
||||||
- sudo sed -i'' 's/basedir[^=]\+=.*$/basedir = \/opt\/mysql\/server-5.6/' /etc/mysql/my.cnf
|
# - sudo sed -i'' 's/basedir[^=]\+=.*$/basedir = \/opt\/mysql\/server-5.6/' /etc/mysql/my.cnf
|
||||||
- sudo /etc/init.d/mysql.server start
|
# - sudo /etc/init.d/mysql.server start
|
||||||
- mysql --version
|
# - mysql --version
|
||||||
- go get -d github.com/docker/distribution
|
- go get -d github.com/docker/distribution
|
||||||
- go get -d github.com/docker/libtrust
|
- go get -d github.com/docker/libtrust
|
||||||
- go get -d github.com/go-sql-driver/mysql
|
- go get -d github.com/go-sql-driver/mysql
|
||||||
|
Loading…
Reference in New Issue
Block a user