Refactor: JJB code
- Fix shellcheck errors: SC1090, SC2164 and warnings
- Refactor yaml to standardize it across the repo with prettier
- Refactor with yamllint
Change-Id: Ie36c4a3af173fa3609cd4e904775be54b4a56990
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
diff --git a/jjb/ric-plt-a1/ric-plt-a1.yaml b/jjb/ric-plt-a1/ric-plt-a1.yaml
index 983b890..c388bcb 100644
--- a/jjb/ric-plt-a1/ric-plt-a1.yaml
+++ b/jjb/ric-plt-a1/ric-plt-a1.yaml
@@ -13,8 +13,7 @@
jobs:
- gerrit-info-yaml-verify
-- _a1_common: &a1_common
- # values apply to all A1 projects
+- _a1_common: &a1_common # values apply to all A1 projects
name: a1-common
# git repo
project: ric-plt/a1
@@ -27,21 +26,21 @@
<<: *a1_common
name: ric-plt-a1-docker
# image name
- docker-name: 'o-ran-sc/ric-plt-a1'
+ docker-name: "o-ran-sc/ric-plt-a1"
# source of docker tag
container-tag-method: yaml-file
# use host network
- docker-build-args: '--network=host'
+ docker-build-args: "--network=host"
build-node: ubuntu1804-docker-4c-4g
# do not trigger on changes in docs, releases
gerrit_trigger_file_paths:
- - compare-type: REG_EXP
- pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
+ - compare-type: REG_EXP
+ pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
stream:
- master:
branch: master
jobs:
- - '{project-name}-gerrit-docker-jobs'
+ - "{project-name}-gerrit-docker-jobs"
- project:
<<: *a1_common
@@ -50,4 +49,4 @@
# container release requires docker
build-node: centos7-docker-2c-8g
jobs:
- - '{project-name}-gerrit-release-jobs'
+ - "{project-name}-gerrit-release-jobs"