Bring coats under OpenStack infrastructure

- gerrit config
- zuul jobs
- updated URLs

Change-Id: Id183dba3ba13c1e89b97de7ac167fa73de7b9758
This commit is contained in:
Sorin Sbarnea 2018-10-03 10:09:10 +01:00
parent 1838510f47
commit 358ec92493
10 changed files with 58 additions and 21 deletions

1
.gitignore vendored
View File

@ -61,3 +61,4 @@ node_modules
# Generated
ChangeLog
AUTHORS
.rtox.cfg

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack/coats.git

15
.zuul.yaml Normal file
View File

@ -0,0 +1,15 @@
---
- job:
name: openstack-tox-linters-npm
parent: openstack-tox-linters
# bionic needed for less ancient nodejs/npm which would fail to install
# cspell regardless engines mentioned in package.json
nodeset: ubuntu-bionic
- project:
check:
jobs:
- openstack-tox-linters-npm
gate:
jobs:
- openstack-tox-linters-npm

View File

@ -1,7 +1,5 @@
# coats
[![Build Status](https://travis-ci.org/ssbarnea/coats.svg?branch=master)](https://travis-ci.org/ssbarnea/coats)
Collection of scripts (coats) that improve open-stack developer browsing experience
FoxReplace.json is text replacements configuration for
@ -10,8 +8,12 @@ some extra coloring on build logs, making them easier to read. We plan to
convert this into a greasemonkey helper in the future to allow use from
multiple browsers.
![foxreplace-os-logs](https://s3.sbarnea.com/ss/181001-Mozilla_Firefox_.png)
![foxreplace-os-logs](https://raw.githubusercontent.com/openstack/coats/master/doc/source/_static/img/coats-log-highlight-example.png)
After you install Firefox extension you can either do an one-time import
of the configuration from <https://raw.githubusercontent.com/ssbarnea/coats/master/coats/FoxReplace.json>
of the configuration from <https://raw.githubusercontent.com/openstack/coats/master/coats/FoxReplace.json>
or configure it to re-download it when it changes.
## Contributing
Before you raise a CR, please run "tox" to perform a sanity check.

7
bindep.txt Normal file
View File

@ -0,0 +1,7 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.
nodejs [test]
nodejs-legacy [platform:ubuntu-xenial test]
nodejs-npm [platform:apk test]
npm [test]

View File

@ -2,8 +2,6 @@
"version": "0.1",
"language": "en",
"words": [
"Sbarnea",
"Sorin",
"TOXENV",
"atexit",
"bdist",
@ -12,6 +10,7 @@
"envars",
"envlist",
"envs",
"gerrit",
"htmlcov",
"ifeq",
"ifndef",
@ -24,6 +23,7 @@
"pytest",
"repo",
"repos",
"rtox",
"sdist",
"setenv",
"symlink",
@ -52,7 +52,8 @@
"ignorePaths": [
"docs/build",
".tox",
".eggs"
".eggs",
"package-lock.json"
],
"ignoreWords": [
"I18NSPHINXOPTS"

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB

View File

@ -7,11 +7,14 @@
"test": "echo \"Error: no test specified\" && exit 1",
"spell": "npm -s run spell-files && npm -s run spell-commit",
"spell-commit": "git log -1 --pretty=%B > .git/commit.msg && cspell .git/commit.msg",
"spell-files": "git ls-files | xargs cspell --unique"
"spell-files": "git ls-files | xargs cspell --unique",
"//": "tox linter will also call npm spell-(commit) at the end",
"lint": "tox -e linters",
"prod": "gulp prod; python setup.py sdist"
},
"repository": {
"type": "git",
"url": "https://github.com/ssbarnea/coats.git"
"url": "https://github.com/openstack/coats.git"
},
"keywords": [
"openstack",
@ -22,14 +25,13 @@
"zuul",
"logs"
],
"author": "Sorin Sbarnea",
"author": "OpenStack",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ssbarnea/coats/issues"
"url": "https://storyboard.openstack.org/#!/project/openstack/coats"
},
"homepage": "https://github.com/ssbarnea/coats#readme",
"dependencies": {
"cspell": "^2.1.12",
"npm": "^6.1.0"
"homepage": "https://github.com/openstack/coats#readme",
"devDependencies": {
"cspell": "^2.1.12"
}
}

View File

@ -1,13 +1,13 @@
[metadata]
name = coats
author = Sorin Sbarnea
author-email = sorin.sbarnea@gmail.com
maintainer = Sorin Sbarnea
maintainer-email = sorin.sbarnea@gmail.com
author = OpenStack
author-email = openstack-dev@lists.openstack.org
maintainer = OpenStack
maintainer-email = openstack-dev@lists.openstack.org
summary = Collection of scripts (coats) that improve open-stack developer browsing experience
description-file =
README.md
home-page = https://github.com/ssbarnea/coats
home-page = https://github.com/openstack/coats
requires-python = >=2.7
license = BSD

View File

@ -21,16 +21,21 @@ passenv =
envars =
PIP_DISABLE_PIP_VERSION_CHECK=1
PIP_USER=no
PATH={toxinidir}/node_modules/.bin:{env:PATH}
whitelist_externals =
bash
echo
find
grep
node
npm
rm
which
xargs
[testenv:linters]
commands=
pip install -q -r requirements.txt -r test-requirements.txt
bash -c "npm install && npm run spell"
python -m pre_commit run --all
npm install -y
npm run spell