From 89162d2ffff5005f50f0197957a53fa24f70d324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Tue, 16 Apr 2019 07:34:20 +0300 Subject: [PATCH] Skip git checkout in all suitable gitlab-ci.yml stages --- debian/gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml index 4affd14c4..4567f8dcc 100644 --- a/debian/gitlab-ci.yml +++ b/debian/gitlab-ci.yml @@ -74,6 +74,8 @@ fresh install: - cp -ra /var/log/mysql debug/var-log-mysql - 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;" + variables: + GIT_STRATEGY: none upgrade on stretch: stage: upgrades in Debian stable @@ -106,6 +108,8 @@ upgrade on stretch: - cp -ra /var/log/mysql debug/var-log-mysql - 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;" + variables: + GIT_STRATEGY: none test basic features: stage: test quality @@ -153,6 +157,8 @@ test basic features: - mariadb -e "SELECT COUNT(*) FROM db.v_temptable" - mariadb -e "CALL db.p()" - mariadb -e "SELECT db.f()" + variables: + GIT_STRATEGY: none # 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. @@ -189,6 +195,8 @@ build mariadbclient consumer Python-MySQLdb: - pip3 install mysqlclient # Compiles module against libmysqlclient - apt-get purge -y libmariadb-dev # Not needed for run-time - python3 -c "import MySQLdb; print(MySQLdb.get_client_info())" + variables: + GIT_STRATEGY: none mysql-5.5 to mariadb upgrade: stage: upgrades in Debian stable @@ -215,3 +223,5 @@ mysql-5.5 to mariadb upgrade: - service mysql status - mariadb --version - echo 'SHOW DATABASES;' | mariadb + variables: + GIT_STRATEGY: none -- GitLab