Setup repo administrative files 79/79/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 20 Jun 2018 20:38:18 +0000 (13:38 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 20 Jun 2018 20:38:18 +0000 (13:38 -0700)
Change-Id: I800b5373eeaf6a317e0c84eba39135d694d87167
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..c22c00a
--- /dev/null
@@ -0,0 +1,11 @@
+.tox/
+archives/
+jenkins.ini
+
+# Packer
+.galaxy/
+*.retry
+cloud-env.json
+
+# Maven
+target/
diff --git a/.gitreview b/.gitreview
new file mode 100644 (file)
index 0000000..1046841
--- /dev/null
@@ -0,0 +1,5 @@
+[gerrit]
+host=gerrit.akraino.org
+port=29418
+project=ci-management.git
+defaultbranch=master
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..c7289fc
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# ci-management
+
+This repo contains configuration files for Jenkins jobs for the Akraino 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