Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
SMO-TEIV: Add jenkins jobs (maven, docker, sonar)
[ci-management.git]
/
jjb
/
it-dep
/
it-dep.yaml
diff --git
a/jjb/it-dep/it-dep.yaml
b/jjb/it-dep/it-dep.yaml
index
7190f2e
..
a445f8e
100644
(file)
--- a/
jjb/it-dep/it-dep.yaml
+++ b/
jjb/it-dep/it-dep.yaml
@@
-5,16
+5,7
@@
views:
- project-view
views:
- project-view
-- project:
- name: it-dep-info
- project: it/dep
- project-name: it-dep
- build-node: centos7-builder-1c-1g
- jobs:
- - gerrit-info-yaml-verify
-
-- _it_dep_common: &it_dep_common
- # values apply to all it/dep projects
+- _it_dep_common: &it_dep_common # values apply to all it/dep projects
name: it-dep-docker-common
# git repo
project: it/dep
name: it-dep-docker-common
# git repo
project: it/dep
@@
-23,7
+14,7
@@
# maven settings file has docker credentials
mvn-settings: it-dep-settings
# use host network to clone from our gerrit
# maven settings file has docker credentials
mvn-settings: it-dep-settings
# use host network to clone from our gerrit
- docker-build-args:
'--network=host'
+ docker-build-args:
"--network=host"
# source of docker tag
container-tag-method: yaml-file
# source of docker tag
container-tag-method: yaml-file
@@
-34,9
+25,9
@@
name: it-dep-helm
# jenkins job name prefix
build-timeout: 120
name: it-dep-helm
# jenkins job name prefix
build-timeout: 120
- project-name:
'{name}'
+ project-name:
"{name}"
# image name
# image name
- docker-name:
'o-ran-sc/{name}'
+ docker-name:
"o-ran-sc/{name}"
# dockerfile is in subdir
docker-build-args: -f ci/Dockerfile
# any tag will do
# dockerfile is in subdir
docker-build-args: -f ci/Dockerfile
# any tag will do
@@
-46,7
+37,7
@@
- gerrit-docker-verify
stream:
- all:
- gerrit-docker-verify
stream:
- all:
- branch:
'*'
+ branch:
"*"
- project:
<<: *it_dep_common
- project:
<<: *it_dep_common
@@
-55,9
+46,9
@@
name: it-dep-smo-install
# jenkins job name prefix
build-timeout: 120
name: it-dep-smo-install
# jenkins job name prefix
build-timeout: 120
- project-name:
'{name}'
+ project-name:
"{name}"
# image name
# image name
- docker-name:
'o-ran-sc/{name}'
+ docker-name:
"o-ran-sc/{name}"
# dockerfile is in subdir
docker-build-args: -f ci/Dockerfile-smo-install
# any tag will do
# dockerfile is in subdir
docker-build-args: -f ci/Dockerfile-smo-install
# any tag will do
@@
-67,23
+58,23
@@
- gerrit-docker-verify
stream:
- all:
- gerrit-docker-verify
stream:
- all:
- branch:
'*'
+ branch:
"*"
# build and publish packages to PackageCloud.io
- project:
<<: *it_dep_common
name: it-dep-package
# jenkins job name prefix
# build and publish packages to PackageCloud.io
- project:
<<: *it_dep_common
name: it-dep-package
# jenkins job name prefix
- project-name:
'{name}'
+ project-name:
"{name}"
# image is not pushed, use trivial tag
container-tag-method: latest
# image name
# image is not pushed, use trivial tag
container-tag-method: latest
# image name
- docker-name:
'o-ran-sc/{name}'
+ docker-name:
"o-ran-sc/{name}"
# use host network for network resources
# use host network for network resources
- docker-build-args:
'--network=host -f ci/Dockerfile-package'
+ docker-build-args:
"--network=host -f ci/Dockerfile-package"
gerrit_trigger_file_paths:
- compare-type: REG_EXP
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern:
'ci/package-tag.yaml'
+ pattern:
"ci/package-tag.yaml"
jobs:
- gerrit-docker-verify
- oran-gerrit-docker-ci-pc-merge
jobs:
- gerrit-docker-verify
- oran-gerrit-docker-ci-pc-merge
@@
-95,17
+86,17
@@
<<: *it_dep_common
name: it-dep-secret
# jenkins job name prefix
<<: *it_dep_common
name: it-dep-secret
# jenkins job name prefix
- project-name:
'{name}'
+ project-name:
"{name}"
# image name
# image name
- docker-name:
'o-ran-sc/{name}'
+ docker-name:
"o-ran-sc/{name}"
# root of docker build
docker-root: ci/tiller-secret-gen
# build only on relevant changes
gerrit_trigger_file_paths:
- compare-type: REG_EXP
# root of docker build
docker-root: ci/tiller-secret-gen
# build only on relevant changes
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern:
'{docker-root}/.*'
+ pattern:
"{docker-root}/.*"
jobs:
jobs:
- -
'{project-name}-gerrit-docker-jobs'
+ -
"{project-name}-gerrit-docker-jobs"
stream:
- master:
branch: master
stream:
- master:
branch: master
@@
-114,16
+105,16
@@
<<: *it_dep_common
name: it-dep-init
# jenkins job name prefix
<<: *it_dep_common
name: it-dep-init
# jenkins job name prefix
- project-name:
'{name}'
+ project-name:
"{name}"
# image name
# image name
- docker-name:
'o-ran-sc/{name}'
+ docker-name:
"o-ran-sc/{name}"
# root of docker build
docker-root: ric-common/Initcontainer/docker
gerrit_trigger_file_paths:
- compare-type: REG_EXP
# root of docker build
docker-root: ric-common/Initcontainer/docker
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern:
'{docker-root}/.*'
+ pattern:
"{docker-root}/.*"
jobs:
jobs:
- -
'{project-name}-gerrit-docker-jobs'
+ -
"{project-name}-gerrit-docker-jobs"
stream:
- master:
branch: master
stream:
- master:
branch: master
@@
-135,12
+126,11
@@
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- - '{project-name}-gerrit-release-jobs'
-
+ - "{project-name}-gerrit-release-jobs"
- project:
<<: *it_dep_common
name: it-dep-packagecloud-release
jobs:
- project:
<<: *it_dep_common
name: it-dep-packagecloud-release
jobs:
- -
'gerrit-packagecloud-release-verify'
- -
'gerrit-packagecloud-release-merge'
+ -
"gerrit-packagecloud-release-verify"
+ -
"gerrit-packagecloud-release-merge"