ttm: add appx support for WSL images
This commit is contained in:
parent
fce860f36f
commit
51c9fe7bb9
@ -63,6 +63,27 @@ pipelines:
|
|||||||
- script: |-
|
- script: |-
|
||||||
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||||
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Factory:PowerPC
|
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Factory:PowerPC
|
||||||
|
TTM.Factory_WSL:
|
||||||
|
group: openSUSE.Checkers
|
||||||
|
lock_behavior: unlockWhenFinished
|
||||||
|
environment_variables:
|
||||||
|
OSC_CONFIG: /home/go/config/oscrc-totest-manager
|
||||||
|
materials:
|
||||||
|
script:
|
||||||
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
|
destination: scripts
|
||||||
|
timer:
|
||||||
|
spec: 0 */15 * ? * *
|
||||||
|
only_on_changes: false
|
||||||
|
stages:
|
||||||
|
- Run:
|
||||||
|
approval: manual
|
||||||
|
resources:
|
||||||
|
- staging-bot
|
||||||
|
tasks:
|
||||||
|
- script: |-
|
||||||
|
install -D /home/go/config/openqa-client.conf /home/go/.config/openqa/client.conf
|
||||||
|
scripts/totest-manager.py -A https://api.opensuse.org --debug run openSUSE:Factory:WSL
|
||||||
TTM.Factory_zSystems:
|
TTM.Factory_zSystems:
|
||||||
group: openSUSE.Checkers
|
group: openSUSE.Checkers
|
||||||
lock_behavior: unlockWhenFinished
|
lock_behavior: unlockWhenFinished
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
format_version: 3
|
format_version: 3
|
||||||
pipelines:
|
pipelines:
|
||||||
<% for project in %w(openSUSE:Factory openSUSE:Factory:ARM openSUSE:Factory:PowerPC
|
<% for project in %w(openSUSE:Factory openSUSE:Factory:ARM openSUSE:Factory:PowerPC openSUSE:Factory:WSL
|
||||||
openSUSE:Factory:zSystems openSUSE:Leap:15.1:Images openSUSE:Leap:15.2:Images
|
openSUSE:Factory:zSystems openSUSE:Leap:15.1:Images openSUSE:Leap:15.2:Images
|
||||||
openSUSE:Leap:15.1:ARM:Images openSUSE:Leap:15.2:ARM:Images openSUSE:Leap:15.2 openSUSE:Leap:15.2:ARM openSUSE:Leap:15.2:PowerPC) -%>
|
openSUSE:Leap:15.1:ARM:Images openSUSE:Leap:15.2:ARM:Images openSUSE:Leap:15.2 openSUSE:Leap:15.2:ARM openSUSE:Leap:15.2:PowerPC) -%>
|
||||||
TTM.<%= project.gsub('openSUSE:', '').gsub(':', '_') %>:
|
TTM.<%= project.gsub('openSUSE:', '').gsub(':', '_') %>:
|
||||||
|
@ -63,7 +63,7 @@ class ToTestManager(ToolBase.ToolBase):
|
|||||||
|
|
||||||
def iso_build_version(self, project, tree, repo=None, arch=None):
|
def iso_build_version(self, project, tree, repo=None, arch=None):
|
||||||
for binary in self.binaries_of_product(project, tree, repo=repo, arch=arch):
|
for binary in self.binaries_of_product(project, tree, repo=repo, arch=arch):
|
||||||
result = re.match(r'.*-(?:Build|Snapshot)([0-9.]+)(?:-Media.*\.iso|\.docker\.tar\.xz|\.raw\.xz)', binary)
|
result = re.match(r'.*-(?:Build|Snapshot)([0-9.]+)(?:-Media.*\.iso|\.docker\.tar\.xz|\.raw\.xz|\.appx)', binary)
|
||||||
if result:
|
if result:
|
||||||
return result.group(1)
|
return result.group(1)
|
||||||
raise NotFoundException("can't find %s iso version" % project)
|
raise NotFoundException("can't find %s iso version" % project)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user