From: Andrew Grimberg Date: Wed, 20 Jun 2018 20:38:18 +0000 (-0700) Subject: Setup repo administrative files X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F79%2F1;p=ci-management.git Setup repo administrative files Change-Id: I800b5373eeaf6a317e0c84eba39135d694d87167 Signed-off-by: Andrew Grimberg --- diff --git a/.coafile b/.coafile new file mode 100644 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 index 0000000..c22c00a --- /dev/null +++ b/.gitignore @@ -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 index 0000000..1046841 --- /dev/null +++ b/.gitreview @@ -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 index 0000000..b821cb8 --- /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 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 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