File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ version: 2.1
3
3
jobs :
4
4
unit :
5
5
docker :
6
- - image : registry.opensuse.org/opensuse/tumbleweed
6
+ - image : registry.opensuse.org/opensuse/leap:15.3
7
7
steps :
8
8
- checkout
9
9
- run :
10
10
command : |
11
- zypper -n in --no-recommends diffutils make python3 tar python3-black
11
+ zypper -n ar https://download.opensuse.org/repositories/devel:/languages:/python:/backports/openSUSE_Leap_15.3 py
12
+ zypper --gpg-auto-import-keys ref py
13
+ zypper -n in --no-recommends diffutils make python3 tar python3-black python3-importlib-metadata
12
14
- checkout
13
15
- run : make test_regen_all
14
16
- run : make test_python_style
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if [ "$METHOD" == rest ]; then
66
66
openqa-client --host localhost /api/v1/obs_rsync/$prj /runs put
67
67
else
68
68
echo 111 > /opt/openqa-trigger-from-obs/$prj /.job_id
69
- su " $dbuser " -c " /opt/openqa-trigger-from-obs/script/rsync.sh $prj "
69
+ su " $dbuser " -c " bash -x /opt/openqa-trigger-from-obs/script/rsync.sh $prj "
70
70
fi
71
71
72
72
sleep 10
Original file line number Diff line number Diff line change 15
15
# make sure run did happen
16
16
test -f /var/lib/openqa/factory/iso/openSUSE-Leap-15.2-Staging:A-Staging-DVD-x86_64-Build248.1-Media.iso
17
17
test -f /opt/openqa-trigger-from-obs/openSUSE:Leap:15.2:Staging:A/.run_last/openqa.cmd.log
18
+ grep -q ' scheduled_product_id => 1' /opt/openqa-trigger-from-obs/openSUSE:Leap:15.2:Staging:A/.run_last/openqa.cmd.log || cat /opt/openqa-trigger-from-obs/openSUSE:Leap:15.2:Staging:A/.run_last/* .cmd.log
19
+
18
20
grep -q ' scheduled_product_id => 1' /opt/openqa-trigger-from-obs/openSUSE:Leap:15.2:Staging:A/.run_last/openqa.cmd.log
19
21
20
22
[ " $METHOD " != rest ] || {
You can’t perform that action at this time.
0 commit comments