summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* Add noxfile and switch to noxJames E. Blair2022-12-201-0/+1
| | | | | | | | | | | | | | Tox v4 behaves significantly differently than v3, and some of the more complex things we do with tox would need an overhaul to continue to use it. Meanwhile, nox is much simpler and more flexible, so let's try using it. This adds a noxfile which should be equivalent to our tox.ini file. We still need to update the docs build (which involves changes to base jobs) before we can completely remove tox. Depends-On: https://review.opendev.org/868134 Change-Id: Ibebb0988d2702d310e46c437e58917db3f091382
* Use ZooKeeper TLS in testsJames E. Blair2021-03-081-0/+1
| | | | | | | | This mirrors the configuration in Nodepool for using TLS-enabled ZooKeeper in tests. We use the ensure-zookeeper role in order to get a newer ZooKeeper than is supplied in bionic. Change-Id: I14413fccbc9a6a7a75b6233d667e2a1d2856d894
* Revert "Revert "Create zuul/web/static on demand""Tobias Henkel2020-07-071-0/+1
| | | | | | | | | | | | The js content tarball creation was broken. Instead of leaving the symlink to a non-existing directory which gets created during python setup we should just remove that symlink as well and create the symlink and the static dir during the python setup. This way nothing will be in the way of the javascript content generation. This reverts commit eb7b18b38e01688b5b05e5dfdb359ff5d42d1ed8. Change-Id: I5f8bfa62cd2d4d9823b86dbcda14885230847a82
* Fix ignored but tracked .keep fileTobias Henkel2018-12-021-1/+1
| | | | | | | | | | | | We ignore the directory zuul/web/static but want to keep the directory itself existing. We do this by having a .keep file in there which is excluded in the gitignore file. However we currently ignore the complete directory zuul/web/static so git ignores the exclude rule. Thus the .keep file is ignored but tracked which is not really what we want. Instead ignore all files below zuul/web/static. This way the exclude rule works and the .keep file is not ignored. Change-Id: I3b17d1c48c6da2c5920816153a1265dbec591d38
* Exclude .keep files from .gitignoreIvan Remizov2018-10-201-0/+1
| | | | | | | | | | | | There is a file zuul/web/static/.keep which is commited to git but excluded from vcs by .gitignore. The problem is that some advanced IDEs display annoying warnings related to this case. It also looks like misconfiguration. This patch excludes .keep files from .gitignore which means that such files will be tracked. Change-Id: Ib9ea9e585f723cad523d4f825c076280e2f2afe0
* Add docker-compose quickstart exampleJames E. Blair2018-10-091-0/+1
| | | | | | | | | Use docker-compose to get a zuul+nodepool+gerrit up and configured so that we can write walkthrough documentation which starts with a running system. Change-Id: I5819aee1fb9c3af72eb31818da476df074424225 Co-Authored-By: Tobias Henkel <tobias.henkel@bmw.de>
* Add .stestr to .gitignoreFabien Boucher2018-06-111-0/+1
| | | | Change-Id: I44d5fa8818296af5f87f066ccb3928a8a24ed6d0
* Use yarn and webpack to manage zuul-web javascriptMonty Taylor2018-03-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | yarn drives package and dependency management. webpack handles bundling, minification and transpiling down to browser-acceptable javascript but allows for more modern javascript like import statements. There are some really neat things in the webpack dev server. CSS changes, for instance, get applied immediately without a refresh. Other things, like the jquery plugin do need a refresh, but it's handled just on a file changing. As a followup, we can also consider turning the majority of the status page into a webpack library that other people can depend on as a mechanism for direct use. Things like that haven't been touched because allowing folks to poke at the existing known status page without too many changes using the tools seems like a good way for people to learn/understand the stack. Move things so that the built content gets put into zuul/web/static so that the built-in static serving from zuul-web will/can serve the files. Update MANIFEST.in so that if npm run build:dist is run before the python setup.py sdist, the built html/javascript content will be included in the source tarball. Add a pbr hook so that if yarn is installed, javascript content will be built before the tarball. Add a zuul job with a success url that contains a source_url pointing to the live v3 data. This adds a framework for verifying that we can serve the web app urls and their dependencies for all of the various ways we want to support folks hosting zuul-web. It includes a very simple reverse proxy server for approximating what we do in openstack to "white label" the Zuul service -- that is, hide the multitenancy aspect and present the single tenant at the site root. We can run similar tests without the proxy to ensure the default, multi-tenant view works as well. Add babel transpiling enabling use of ES6 features ECMAScript6 has a bunch of nice things, like block scoped variables, const, template strings and classes. Babel is a javascript transpiler which webpack can use to allow us to write using modern javascript but the resulting code to still work on older browsers. Use the babel-plugin-angularjs-annotate so that angular's dependency injection doesn't get borked by babel's transpiling things (which causes variables to otherwise be renamed in a way that causes angular to not find them) While we're at it, replace our use of var with let (let is the new block-scoped version of var) and toss in some use of const and template strings for good measure. Add StandardJS eslint config for linting JavaScript Standard Style is a code style similar to pep8/flake8. It's being added here not because of the pep8 part, but because the pyflakes equivalent can catch real errors. This uses the babel-eslint parser since we're using Babel to transpile already. This auto-formats the existing code with: npm run format Rather than using StandardJS directly through the 'standard' package, use the standardjs eslint plugin so that we can ignore the camelCase rule (and any other rule that might emerge in the future) Many of under_score/camelCase were fixed in a previous version of the patch. Since the prevailing zuul style is camelCase methods anyway, those fixes were left. That warning has now been disabled. Other things, such as == vs. === and ensuring template strings are in backticks are fixed. Ignore indentation errors for now - we'll fix them at the end of this stack and then remove the exclusion. Add a 'format' npm run target that will run the eslint command with --fix for ease of fixing reported issues. Add a 'lint' npm run target and a 'lint' environment that runs with linting turned to errors. The next patch makes the lint environment more broadly useful. When we run lint, also run the BundleAnalyzerPlugin and set the success-url to the report. Add an angular controller for status and stream page Wrap the status and stream page construction with an angular controller so that all the javascripts can be bundled in a single file. Building the files locally is wonderful and all, but what we really want is to make a tarball that has the built code so that it can be deployed. Put it in the root source dir so that it can be used with the zuul fetch-javascript-tarball role. Also, replace the custom npm job with the new build-javascript-content job which naturally grabs the content we want. Make a 'main.js' file that imports the other three so that we just have a single bundle. Then, add a 'vendor' entry in the common webpack file and use the CommonsChunkPlugin to extract dependencies into their own bundle. A second CommonsChunkPlugin entry pulls out a little bit of metadata that would otherwise cause the main and vendor chunks to change even with no source change. Then add chunkhash into the filename. This way the files themselves can be aggressively cached. This all follows recommendations from https://webpack.js.org/guides/caching/ https://webpack.js.org/guides/code-splitting/ and https://webpack.js.org/guides/output-management/ Change-Id: I2e1230783fe57f1bc3b7818460463df1e659936b Co-Authored-By: Tristan Cacqueray <tdecacqu@redhat.com> Co-Authored-By: James E. Blair <jeblair@redhat.com>
* Ignore .mypy_cacheTobias Henkel2017-07-281-0/+1
| | | | | | This folder is now generate by the mypy tests. Change-Id: I90ba009e977df75f53904878ba4715c0be3b499f
* Add coverage artifacts to .gitignoreClint Byrum2017-06-081-0/+3
| | | | Change-Id: I786d481d23dc01d1268f1a6d7303a6c089dfdbc6
* Merge branch 'master' into feature/zuulv3Joshua Hesketh2017-03-061-0/+1
|\ | | | | | | Change-Id: I37a3c5d4f12917b111b7eb624f8b68689687ebc4
| * Ignore .idea directoryTobias Henkel2016-11-281-0/+1
| | | | | | | | Change-Id: I183b52e548d4684878a0af687b72326ca5dcfd73
* | Merge master into feature/zuulv3Joshua Hesketh2016-02-121-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: zuul/connection/gerrit.py zuul/lib/connections.py zuul/model.py zuul/scheduler.py Change-Id: If1c8ac3bf26bd8c4496ac130958b966d9937519e
| * Add vim swap files to .gitignoreJP Sullivan2015-12-101-0/+1
| | | | | | | | Change-Id: I8db056a61e76b58ba0ca98c7b411f656c76352b6
* | Merge configurations with multiple layout filesJames E. Blair2015-12-091-1/+0
|/ | | | | | | | | | Add a test for multiple tenants with a partially shared config. We might use something like this in OpenStack to define common pipelines but then have separate tenant config files for groups of projects. Change-Id: I29dc9327e3d72d5f6797eb2c366c36fe5be8ea8e
* Ignore .venv directoryPaul Belanger2013-12-031-0/+1
| | | | | Change-Id: I477ef147d2f1d04487613049139107f6b8bb0a3b Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
* Migrate to testrepository.Monty Taylor2013-06-271-0/+1
| | | | | | | | | | | | | Needed to move some directory creation around to be contained within the testcase, but with parallel testing, we shave 48 seconds off the run time and go from around 60s to around 11. We're also now compatible with future subunit-based fast-fail semantics when we grow them. Change-Id: I6c7148c29d1edb5d9469a8c2afe4b31b2b340009 Reviewed-on: https://review.openstack.org/33352 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Migrate to pbr.Monty Taylor2013-06-251-0/+1
| | | | | | | | | Change-Id: I734f0f8237fb603ee41a39f06e63c007e79825a9 Reviewed-on: https://review.openstack.org/33350 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Doug Hellmann <doug.hellmann@dreamhost.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Add layout file validation.James E. Blair2013-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | Based on voluptuous library. Basic validation should catch typos, missing or extra attributes. Can be expanded to do more serious validation (ie, specifying a comment in a trigger should require the event be comment-added). Adds a command line option to validate a named layout file and exit. (Also add dist/ to .gitignore.) Change-Id: Ia864ebde1765141d4d1a52bc77033689b6210e81 Reviewed-on: https://review.openstack.org/19443 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
* Import oslo-incubator for versioningPaul Belanger2012-11-171-8/+9
| | | | | | | | | | | | | After successfully adding openstack versioning to jenkins-job-builder this add the same support for zuul. Change-Id: Ia5baab2b0d9392c1b3c70bf890eaf7c6a2ea5c29 Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/16219 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
* Add documentation.James E. Blair2012-06-081-0/+3
| | | | Change-Id: I8197ec2e52596fa4136f8af9aa93ea06e56d4d0d
* Add Jenkins cleanup thread.James E. Blair2012-05-301-1/+0
| | | | | | | | | | | | It searches for outstanding builds that haven't reported back or otherwise can't be found by Jenkins, and marks them complete with a result of "LOST". This should help to avoid deadlocks where Zuul waits forever to hear back from Jenkins after missing a notification. Add pyflakes to tox.ini. Change-Id: I26d3fbf375e82e224448ec3337f9cc97deeccd56
* Add .pyc to gitignore.James E. Blair2012-05-291-0/+1
| | | | | | Fix missing header. Change-Id: Ib74e8f13323cb2e8c0962a7e072eec0ab275215b
* Initial commit.James E. Blair2012-05-291-0/+6