Setup repo administrative files 36/36/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 1 Apr 2019 19:48:23 +0000 (12:48 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 1 Apr 2019 19:48:23 +0000 (12:48 -0700)
Change-Id: I413cc744f8367a40fea01edafb25c3523debc7e8
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
.coafile [new file with mode: 0644]
.gitignore [new file with mode: 0644]
.gitreview [new file with mode: 0644]
.yamllint.conf [new file with mode: 0644]
README.md [new file with mode: 0644]
tox.ini [new file with mode: 0644]

diff --git a/.coafile b/.coafile
new file mode 100644 (file)
index 0000000..f0abad4
--- /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 (file)
index 0000000..c508e53
--- /dev/null
@@ -0,0 +1,8 @@
+.tox/
+archives/
+jenkins.ini
+
+# Packer
+.galaxy/
+*.retry
+cloud-env.json
diff --git a/.gitreview b/.gitreview
new file mode 100644 (file)
index 0000000..6b9c00d
--- /dev/null
@@ -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 (file)
index 0000000..b821cb8
--- /dev/null
@@ -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 (file)
index 0000000..9e3ef6c
--- /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 (file)
index 0000000..e33d587
--- /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