[kteam-tools][PATCH 1/2] promote_to_*.py: Special case for handling Azure kernels

Kleber Sacilotto de Souza kleber.souza at canonical.com
Wed Jun 14 16:11:54 UTC 2017


The Azure kernel is temporarily not going to be promoted to -updates and
-security, so mark the tasks as invalid.

Signed-off-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
---
 stable/wfl/wft/promote_to_security.py | 3 ++-
 stable/wfl/wft/promote_to_updates.py  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/stable/wfl/wft/promote_to_security.py b/stable/wfl/wft/promote_to_security.py
index 560b0093..8ee23bfb 100644
--- a/stable/wfl/wft/promote_to_security.py
+++ b/stable/wfl/wft/promote_to_security.py
@@ -33,8 +33,9 @@ class PromoteToSecurity(Promoter):
 
             # Special case for Vivid kernel packages which should never go to -updates or -security.
             # We are past support and only do this to support the Plano project.
+            # Azure kernel is also being promoted temporarily only to -proposed.
             #
-            if s.bug.series == "vivid":
+            if s.bug.series == "vivid" or s.bug.pkg_name == "linux-azure":
                 s.task.status = 'Invalid'
                 retval = True
                 break
diff --git a/stable/wfl/wft/promote_to_updates.py b/stable/wfl/wft/promote_to_updates.py
index 227ae7f0..5903394d 100644
--- a/stable/wfl/wft/promote_to_updates.py
+++ b/stable/wfl/wft/promote_to_updates.py
@@ -34,8 +34,9 @@ class PromoteToUpdates(Promoter):
 
             # Special case for Vivid kernel packages which should never go to -updates or -security.
             # We are past support and only do this to support the Plano project.
+            # Azure kernel is also being promoted temporarily only to -proposed.
             #
-            if s.bug.series == "vivid":
+            if s.bug.series == "vivid" or s.bug.pkg_name == "linux-azure":
                 s.task.status = 'Invalid'
                 retval = True
                 break
-- 
2.11.0





More information about the kernel-team mailing list