diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-04-08 16:35:10 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-04-17 19:27:08 +0000 |
commit | abff9c06663aa57e4e078d36595498c8c606e5a7 (patch) | |
tree | 5c506dd77f9a54e7d01f65d6caef24e26c4e65d9 /shell | |
parent | ece16fe775a8c152961e58b2ec24d2f23a175277 (diff) |
Add external verify job for HELM
This new verify job will:
- Apply to code transfered outside OOM repo into the
tech team's repos.
- Get triggered by any submitted changes in
<component>/oom repos.
- Apply the change in oom/kubernetes/<component>
- Run a helm verify
Change-Id: I4bd60f946351623583589d7689343fbfc826237a
Issue-ID: CIMAN-250
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/apply-submodule-patch-oom.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/apply-submodule-patch-oom.sh b/shell/apply-submodule-patch-oom.sh new file mode 100644 index 000000000..ad818fb80 --- /dev/null +++ b/shell/apply-submodule-patch-oom.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2019 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## + +# Update kubernetes submodule under oom with patch to be verified + +echo '--> apply-submodule-patch-oom.sh' +cd kubernetes/${HELM_MODULE} +remote_path=`git remote -v | grep fetch | awk '{print $2}'` +git fetch ${remote_path} $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD +cd ../.. |