summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-helm.yaml
diff options
context:
space:
mode:
authorJakub Latusek <j.latusek@samsung.com>2020-11-04 11:20:31 +0100
committerJessica Wagantall <jwagantall@linuxfoundation.org>2020-11-04 17:33:34 +0000
commita606c2581be248f23e53df5ae39457d7c99a9943 (patch)
treeb15d0c531fa98b920dea787f8f25960d7a4eab24 /jjb/oom/oom-helm.yaml
parentd242e2396510937cdfde6ff78a420e6c89e33ec8 (diff)
Move anti-staging images checker to oom repo
Anti-staging images checker used in oom should be avaliable for user during local deployment, so we should move it to oom makefile Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2616 Change-Id: I1f22d2c82a41328cc974abd4c2659551cf5e2138
Diffstat (limited to 'jjb/oom/oom-helm.yaml')
-rw-r--r--jjb/oom/oom-helm.yaml14
1 files changed, 2 insertions, 12 deletions
diff --git a/jjb/oom/oom-helm.yaml b/jjb/oom/oom-helm.yaml
index 4b0803c06..71d57744c 100644
--- a/jjb/oom/oom-helm.yaml
+++ b/jjb/oom/oom-helm.yaml
@@ -12,22 +12,10 @@
#!/bin/bash
set -e -o pipefail
cd kubernetes/
- if [ "$GERRIT_BRANCH" != "staging" ]; then
- if grep -r -n -E ':\s*onap/.*:.*(STAGING|SNAPSHOT|latest).*'; then
- echo "[ERROR] Only release images are allowed in helm charts."
- exit 1
- fi
- fi
make all
subproject_build_script: |
#!/bin/bash
cd kubernetes/
- if [ "$GERRIT_BRANCH" != "staging" ]; then
- if grep -r -n -E ':\s*onap/.*:.*(STAGING|SNAPSHOT|latest).*'; then
- echo "[ERROR] Only release images are allowed in helm charts."
- exit 1
- fi
- fi
make common
make {subproject}
oom_post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
@@ -99,6 +87,8 @@
files: 'kubernetes/vnfsdk/**'
jobs:
+ - '{project-name}-{stream}-image-verify':
+ files: '**'
- '{project-name}-{stream}-verify-helm':
build_script: '{oom_build_script}'
files: '**'