From: Andrew Grimberg Date: Mon, 1 Apr 2019 19:48:23 +0000 (-0700) Subject: Setup repo administrative files X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=4ffa55dd2af99d479deaceb1be4a776d74677dac Setup repo administrative files Change-Id: I413cc744f8367a40fea01edafb25c3523debc7e8 Signed-off-by: Andrew Grimberg --- diff --git a/.coafile b/.coafile new file mode 100644 index 00000000..f0abad49 --- /dev/null +++ b/.coafile @@ -0,0 +1,34 @@ +[Documentation] +bears = WriteGoodLintBear +files = *.md +allow_so_beginning = False +allow_there_is = False +allow_cliche_phrases = False + +[GitCommit] +bears = GitCommitBear +ignore_length_regex = Signed-off-by, + Also-by, + Co-authored-by, + http://, + https:// + +[JSON] +bears = JSONFormatBear +files = packer/**.json +indent_size = 2 + +[ShellCheck] +bears = ShellCheckBear, + SpaceConsistencyBear +files = jjb/**.sh, + packer/**.sh +shell = bash +indent_size = 4 +use_spaces = yeah + +[YAML] +bears = YAMLLintBear +files = jjb/**/*.yaml +document_start = True +yamllint_config = .yamllint.conf diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..c508e531 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.tox/ +archives/ +jenkins.ini + +# Packer +.galaxy/ +*.retry +cloud-env.json diff --git a/.gitreview b/.gitreview new file mode 100644 index 00000000..6b9c00d3 --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=gerrit.oran-osc.org +port=29418 +project=ci-management.git diff --git a/.yamllint.conf b/.yamllint.conf new file mode 100644 index 00000000..b821cb8c --- /dev/null +++ b/.yamllint.conf @@ -0,0 +1,7 @@ +extends: default + +rules: + empty-lines: + max-end: 1 + line-length: + max: 120 diff --git a/README.md b/README.md new file mode 100644 index 00000000..9e3ef6cf --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# ci-management + +This repo contains configuration files for Jenkins jobs for the O-RAN SC +project. diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..e33d587c --- /dev/null +++ b/tox.ini @@ -0,0 +1,16 @@ +[tox] +minversion = 1.6 +envlist = coala +skipsdist = true + +[testenv:coala] +basepython = python3 +deps = + coala==0.11 + coala-bears==0.11 + nodeenv~=1.3.0 +commands = + nodeenv -p + npm install --global write-good + python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger + coala --non-interactive