Merge pull request #2031 from coolo/run_monitors_in_python3

Run ttm in python3 containers as well
This commit is contained in:
Stephan Kulow 2019-05-15 20:59:24 +02:00 committed by GitHub
commit 33b3694546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 30 deletions

View File

@ -16,7 +16,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -37,7 +37,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -58,7 +58,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -79,7 +79,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -100,7 +100,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -121,7 +121,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -142,7 +142,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -163,7 +163,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -184,7 +184,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
@ -205,7 +205,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf

View File

@ -19,7 +19,7 @@ pipelines:
- Run:
approval: manual
resources:
- staging-bot
- staging-bot3
tasks:
- script: |-
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
from ttm.cli import CommandLineInterface

View File

@ -1,4 +1,3 @@
#!/usr/bin/python2
# -*- coding: utf-8 -*-
#
# (C) 2014 mhrusecky@suse.cz, openSUSE.org
@ -9,8 +8,6 @@
# (C) 2018 dheidler@suse.de, openSUSE.org
# Distribute under GPLv2 or GPLv3
from __future__ import print_function
import logging
import ToolBase
import cmdln

View File

@ -1,4 +1,3 @@
#! /usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) 2014 mhrusecky@suse.cz, openSUSE.org
@ -9,8 +8,6 @@
# (C) 2018 dheidler@suse.de, openSUSE.org
# Distribute under GPLv2 or GPLv3
from __future__ import print_function
import ToolBase
import logging
import re
@ -18,12 +15,7 @@ import yaml
from enum import IntEnum
from xml.etree import cElementTree as ET
from osclib.stagingapi import StagingAPI
try:
from urllib.error import HTTPError
except ImportError:
# python 2.x
from urllib2 import HTTPError
from urllib.error import HTTPError
from ttm.totest import ToTest
class NotFoundException(Exception):

View File

@ -1,4 +1,3 @@
#! /usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) 2014 mhrusecky@suse.cz, openSUSE.org

View File

@ -1,4 +1,3 @@
#! /usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) 2014 mhrusecky@suse.cz, openSUSE.org
@ -9,8 +8,6 @@
# (C) 2018 dheidler@suse.de, openSUSE.org
# Distribute under GPLv2 or GPLv3
from __future__ import print_function
import re
from xml.etree import cElementTree as ET

View File

@ -1,4 +1,3 @@
#!/usr/bin/python2
# -*- coding: utf-8 -*-
#
# (C) 2014 mhrusecky@suse.cz, openSUSE.org
@ -9,7 +8,6 @@
# (C) 2018 dheidler@suse.de, openSUSE.org
# Distribute under GPLv2 or GPLv3
from __future__ import print_function
import yaml
from osclib.core import attribute_value_load