blob: 46da25852adf7f1d857b286bdcc32ea1436f5e7a [file] [log] [blame]
---
- project:
name: oom
project-name: oom
project: oom
mvn-settings: oom-settings
mvn-global-settings: global-settings
archive-artifacts: ""
build-node: ubuntu1804-helm-2c-1g
pre_build_script: !include-raw-escape: shell/helm-repo-init.sh
oom_build_script: |
#!/bin/bash
set -e -o pipefail
cd kubernetes/
make HELM_BIN=helm3 all
subproject_build_script: |
#!/bin/bash
cd kubernetes/
make HELM_BIN=helm3 common
make HELM_BIN=helm3 {subproject}
stream:
- "master":
branch: "master"
- "guilin":
branch: "guilin"
- "frankfurt":
branch: "frankfurt"
- "dublin":
branch: "dublin"
- "casablanca":
branch: "casablanca"
subproject:
- "aai":
files: "kubernetes/aai/**"
- "robot":
files: "kubernetes/robot/**"
jobs:
- "{project-name}-{stream}-image-verify":
files: "**"
- "{project-name}-{stream}-verify-helm2":
files: "**"
build-timeout: 240
- "{project-name}-{stream}-verify-helm":
build_script: "{oom_build_script}"
files: "**"
build-timeout: 240
- "{project-name}-{stream}-merge-helm":
build_script: "{oom_build_script}"
files: "**"
- "{project-name}-{stream}-release-helm":
build_script: "{oom_build_script}"
post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
files: "**"
# Below jobs disabled until future need.
- "{project-name}-{subproject}-{stream}-verify-helm2":
build_script: "{subproject_build_script}"
- "{project-name}-{subproject}-{stream}-verify-helm":
build_script: "{subproject_build_script}"
- "{project-name}-{subproject}-{stream}-merge-helm":
build_script: "{subproject_build_script}"
- "{project-name}-{stream}-update-helm-weekly":
build_script: "{oom_build_script}"
files: "**"