File tree 2 files changed +10
-0
lines changed
buildbot.mariadb.org/scripts
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,14 @@ set -x
19
19
# print disk usage
20
20
df -kT
21
21
22
+ # Mandatory variables
23
+ for var in arch master_branch; do
24
+ if [[ -z $var ]]; then
25
+ bb_log_err " $var is not defined"
26
+ exit 1
27
+ fi
28
+ done
29
+
22
30
# # //TEMP this should be done in the VM preparation
23
31
# case "$master_branch" in
24
32
# *mdev10416*)
Original file line number Diff line number Diff line change @@ -44,10 +44,12 @@ bb_log_info " Previous major version $prev_major_version"
44
44
bb_log_info " Current test mode: $test_mode "
45
45
46
46
# Environment
47
+ set +e
47
48
rpm -qa | grep -iE ' maria|mysql|galera'
48
49
cat /etc/* release
49
50
uname -a
50
51
df -kT
52
+ set -e
51
53
52
54
# Check whether a previous version exists
53
55
if ! wget " https://yum.mariadb.org/$prev_major_version /$repo_dist_arch /repodata" -O repodata.list; then
You can’t perform that action at this time.
0 commit comments