Commit 89162d2f authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Skip git checkout in all suitable gitlab-ci.yml stages

parent e9a6436a
...@@ -74,6 +74,8 @@ fresh install: ...@@ -74,6 +74,8 @@ fresh install:
- cp -ra /var/log/mysql debug/var-log-mysql - cp -ra /var/log/mysql debug/var-log-mysql
- mariadb --skip-column-names -e "select @@version, @@version_comment" - mariadb --skip-column-names -e "select @@version, @@version_comment"
- mariadb -e "create database test; use test; create table t(a int primary key) engine=innodb; insert into t values (1); select * from t; drop table t; drop database test;" - mariadb -e "create database test; use test; create table t(a int primary key) engine=innodb; insert into t values (1); select * from t; drop table t; drop database test;"
variables:
GIT_STRATEGY: none
upgrade on stretch: upgrade on stretch:
stage: upgrades in Debian stable stage: upgrades in Debian stable
...@@ -106,6 +108,8 @@ upgrade on stretch: ...@@ -106,6 +108,8 @@ upgrade on stretch:
- cp -ra /var/log/mysql debug/var-log-mysql - cp -ra /var/log/mysql debug/var-log-mysql
- mariadb --skip-column-names -e "select @@version, @@version_comment" - mariadb --skip-column-names -e "select @@version, @@version_comment"
- mariadb -e "create database test; use test; create table t(a int primary key) engine=innodb; insert into t values (1); select * from t; drop table t; drop database test;" - mariadb -e "create database test; use test; create table t(a int primary key) engine=innodb; insert into t values (1); select * from t; drop table t; drop database test;"
variables:
GIT_STRATEGY: none
test basic features: test basic features:
stage: test quality stage: test quality
...@@ -153,6 +157,8 @@ test basic features: ...@@ -153,6 +157,8 @@ test basic features:
- mariadb -e "SELECT COUNT(*) FROM db.v_temptable" - mariadb -e "SELECT COUNT(*) FROM db.v_temptable"
- mariadb -e "CALL db.p()" - mariadb -e "CALL db.p()"
- mariadb -e "SELECT db.f()" - mariadb -e "SELECT db.f()"
variables:
GIT_STRATEGY: none
# Stanza 'breaks-testbed' must be removed because the test 'upstream' will otherwise be skipped and # Stanza 'breaks-testbed' must be removed because the test 'upstream' will otherwise be skipped and
# thus the command would return exit code 2, and be considered failed by Gitlab CI. # thus the command would return exit code 2, and be considered failed by Gitlab CI.
...@@ -189,6 +195,8 @@ build mariadbclient consumer Python-MySQLdb: ...@@ -189,6 +195,8 @@ build mariadbclient consumer Python-MySQLdb:
- pip3 install mysqlclient # Compiles module against libmysqlclient - pip3 install mysqlclient # Compiles module against libmysqlclient
- apt-get purge -y libmariadb-dev # Not needed for run-time - apt-get purge -y libmariadb-dev # Not needed for run-time
- python3 -c "import MySQLdb; print(MySQLdb.get_client_info())" - python3 -c "import MySQLdb; print(MySQLdb.get_client_info())"
variables:
GIT_STRATEGY: none
mysql-5.5 to mariadb upgrade: mysql-5.5 to mariadb upgrade:
stage: upgrades in Debian stable stage: upgrades in Debian stable
...@@ -215,3 +223,5 @@ mysql-5.5 to mariadb upgrade: ...@@ -215,3 +223,5 @@ mysql-5.5 to mariadb upgrade:
- service mysql status - service mysql status
- mariadb --version - mariadb --version
- echo 'SHOW DATABASES;' | mariadb - echo 'SHOW DATABASES;' | mariadb
variables:
GIT_STRATEGY: none
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment