Changes between Version 14 and Version 15 of CI
- Timestamp:
- Mar 7, 2017, 6:23:56 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CI
v14 v15 1 The Jenkins continuous integration environment at http ://djangoci.com is setup to build pull requests [https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin using this plugin].1 The Jenkins continuous integration environment at https://djangoci.com builds pull requests using the [https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Integration+Plugin GitHub Integration Plugin]. 2 2 3 3 == Commands == 4 4 5 Admins can comment "buildbot, test this please." on a a pull request to trigger a build (and whitelisted users can do so on their own PRs). Jenkins polls GitHub every 5 minutes to pickup new changes so there may be a short delay after a comment before the build is triggered. For trusted users, builds are automatically triggered for new pull requests and when a pull request is updated. 6 7 The [http://djangoci.com/job/pull-requests-trusty/ main pull request builder] runs on Ubuntu 14.04 with PostgreSQL 9.5.3 and MySQL 5.6. GIS: spatialite 4.1.1, GDAL 1.10.1, GEOS 3.4.2, PostGIS 2.1 5 The [https://djangoci.com/job/pull-requests-trusty/ main pull request builder] runs on Ubuntu 14.04 with PostgreSQL 9.5.3 and MySQL 5.6. GIS: spatialite 4.1.1, GDAL 1.10.1, GEOS 3.4.2, PostGIS 2.1 8 6 9 7 Other pull request builders which can be triggered manually with the corresponding comment phrases: 10 * [http://djangoci.com/job/pull-requests-precise/ Ubuntu 12.04 builder] runs on PostgreSQL 9.1 and MySQL 5.5. GIS: spatialite 3.0.0~beta, GDAL 1.7.3, GEOS 3.2.2, PostGIS 1.5.3 11 * buildbot, test on precise. 12 * [http://djangoci.com/job/pull-requests-precise/ Ubuntu 16.04 builder] runs on PostgreSQL 9.5 and MySQL 5.7. GIS: spatialite 4.3.0a-5, GDAL 1.11.3, GEOS 3.5.0, PostGIS 2.2 8 * [https://djangoci.com/job/pull-requests-precise/ Ubuntu 16.04 builder] runs on PostgreSQL 9.5 and MySQL 5.7. GIS: spatialite 4.3.0a-5, GDAL 1.11.3, GEOS 3.5.0, PostGIS 2.2 13 9 * buildbot, test on xenial. 14 * [http ://djangoci.com/job/pull-requests-oracle/ Oracle builder] runs on Oracle 12.1.0.2.0. The Oracle tests take about 40 minutes, so we avoid them unless we suspect a change may have broken something on Oracle.10 * [https://djangoci.com/job/pull-requests-oracle/ Oracle builder] runs on Oracle 12.1.0.2.0. The Oracle tests take about 40 minutes, so we avoid them unless we suspect a change may have broken something on Oracle. 15 11 * buildbot, test on oracle. 16 * [http ://djangoci.com/job/pull-requests-selenium/ Selenium builder] alsoruns the selenium tests.12 * [https://djangoci.com/job/pull-requests-selenium/ Selenium builder] runs the selenium tests. 17 13 * buildbot, test on selenium. 18 19 Admins can comment, "buildbot, add to whitelist." to add a user to the trusted list. Whitelisted users will have their pull requests built automatically. In general if you submit a couple of solid PRs, we'll be happy to add you to this list. 20 21 The admins list is primarily core developers and is accessible at http://djangoci.com/job/django-pull-requests/configure for those with a Jenkins account. The White list is available on the same page after clicking "Advanced". If you are doing a lot of triage work and think it'd be helpful to trigger builds, ask the [https://docs.djangoproject.com/en/dev/internals/roles/#ops-team ops team] for access. 14 * Retired: Ubuntu 12.04 runs on PostgreSQL 9.1 and MySQL 5.5. GIS: spatialite 3.0.0~beta, GDAL 1.7.3, GEOS 3.2.2, PostGIS 1.5.3 22 15 23 16 == Other checks == 24 17 25 Three builders run on all pull requests: 26 * [http://djangoci.com/job/flake8/ flake8] - runs the equivalent of `flake8` from the root checkout directory and fails if there are any warnings 27 * [http://djangoci.com/job/docs/ docs] - runs the equivalent of `make spelling` from the docs directory and fails if there are any spelling or sphinx errors. 28 * [http://djangoci.com/job/isort/ isort] - runs `isort --recursive --check-only .` from the root checkout directory and fails if any imports aren't [https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/#imports sorted properly]. 18 Some other builders run on all pull requests: 19 * [https://djangoci.com/job/flake8/ flake8] - runs the equivalent of `flake8` from the root checkout directory and fails if there are any warnings 20 * [https://djangoci.com/job/docs/ docs] - runs the equivalent of `make spelling` from the docs directory and fails if there are any spelling or sphinx errors. 21 * [https://djangoci.com/job/isort/ isort] - runs `isort --recursive --check-only .` from the root checkout directory and fails if any imports aren't [https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/#imports sorted properly]. 22 * [https://djangoci.com/job/pull-requests-javascript/ pull-requests-javascript] - runs the [https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/javascript/#testing-from-the-command-line JavaScript tests]. 29 23 30 24 == Troubleshooting == 31 25 32 If: 26 Q: The build result disappeared. How do I get it back? 33 27 34 1. you force push to a branch after the initial build starts or 35 2. a commit is pushed to master after the initial build starts 36 37 You will see an error like `git checkout <hash> where hash was not the commit`. Currently the only solution is to retrigger the build. There is a [https://github.com/janinko/ghprb/issues/116 ticket] for the issue in GitHub Pull Request Builder. 28 A: Build results are kept for a few days. Repush to your branch if you need to run the build again.