Set distribReviosion to proposed in case of release/proposed/2019.2.0 branch
Change-Id: Ib133ad57d32d5cd200ed3de1a1c606c6ebb6f1d0
Related-Prod: PROD-34057
diff --git a/test-cookiecutter-reclass.groovy b/test-cookiecutter-reclass.groovy
index 9c34f58..3494c7b 100644
--- a/test-cookiecutter-reclass.groovy
+++ b/test-cookiecutter-reclass.groovy
@@ -221,7 +221,13 @@
}
// 'binary' branch logic w\o 'release/' prefix
if (testDistribRevision.contains('/')) {
- testDistribRevision = testDistribRevision.split('/')[-1]
+ if (testDistribRevision.contains('proposed')) {
+ // set distrib revision to proposed to catch all updated from update/proposed
+ testDistribRevision = 'proposed'
+ messages.add('Enabled update/proposed repo')
+ } else {
+ testDistribRevision = testDistribRevision.split('/')[-1]
+ }
}
// Check if we are going to test bleeding-edge release, which doesn't have binary release yet
// After 2018q4 releases, need to also check 'static' repo, for example ubuntu.