Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
577e4e2
)
fix: use csit lts branch in vpp-csit lts jobs
24/30624/1
author
Jan Gelety
<jgelety@cisco.com>
Mon, 21 Dec 2020 23:22:48 +0000
(
00:22
+0100)
committer
Jan Gelety
<jgelety@cisco.com>
Thu, 7 Jan 2021 08:39:17 +0000
(08:39 +0000)
Change-Id: Iebd62fd6b0c798f7b4dd1f3b093c156e533b3900
Signed-off-by: Jan Gelety <jgelety@cisco.com>
(cherry picked from commit
a5b3a8b91d8e6c9baa4361d70b96769a98bfc454
)
resources/libraries/bash/function/branch.sh
patch
|
blob
|
history
diff --git
a/resources/libraries/bash/function/branch.sh
b/resources/libraries/bash/function/branch.sh
index
96609c8
..
ba9cc39
100644
(file)
--- a/
resources/libraries/bash/function/branch.sh
+++ b/
resources/libraries/bash/function/branch.sh
@@
-1,4
+1,4
@@
-# Copyright (c) 202
0
Cisco and/or its affiliates.
+# Copyright (c) 202
1
Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@
-57,6
+57,10
@@
function checkout_csit_for_vpp () {
set -exuo pipefail
case "${1}" in
+ "stable/2009")
+ # LTS branch
+ branch_id="origin/${1/stable\//oper-rls}_lts"
+ ;;
"stable/"*)
branch_id="origin/${1/stable\//oper-rls}"
;;