Quality at Speed” is the new norm in software development
- https://jenkins.coeus.ca/job/tiki/ builds master, sends mail upon breakage, and calculates test coverage.
- https://gitlab.com/tikiwiki/tiki/pipelines works, gitlab seems to have fixed their Docker cache issue. It now works on both master and 19.x branch. When it breaks it seems to be on real bugs...
- http://sonarqube.coeus.ca/dashboard?id=tiki has useful output, and is connected to test coverage.
See also: https://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/.gitlab-ci.yml
http://en.wikipedia.org/wiki/Continuous_integration
Tiki releases every 6 months. However, the next release should ideally be "releasable at any time". Also, actual releases should be very easy (goal: 30 minutes for the technical part).
To get closer to these goals, the ideal would be community Continuous Integration server.
There are daily builds but if something breaks, there is no alert system to report the issue.
Wishlist for Tiki community
Pre-Dogfood Server
For humans to be able to see yesterday's data with tomorrow's code
Profiles demo server
- Having a test server with main profiles applied regularly, for testing/demo.
Continuous build
For the daily pre-release zip file to be as close as possible to the final one
- Run the existing scripts we use at release time
- Automatic commits: we could register a "tikiwiki" user at Sourceforge.
-
Permission deniedYou are not allowed to view this item.
- update of changelog.txt (maybe once a week?)
-
Continuous Testing Server
Machines testing code, according to a series of tests
- Run all tests
- Run the security tests regularly (monthly?) and report to Security Team about new potentially risky files
- Ideas from How to improve the release process
- php doc/devtools/translate.php englishupdate
lag=10audit --email=me@example.org to report if anyone breaks strings over the last 10 days - etc
Please see Continuous Testing Server
Notes
Database Compare
In order to run the script doc/devtools/check_schema_upgrade.php
which will compare your current database with what it should be you need to install DBDiff with this command:
. php temp/composer.phar require "dbdiff/dbdiff:@dev"
Related links
- https://trunkbaseddevelopment.com/
- https://continuousdelivery.com/
- PHPCI is a free and open source continuous integration tool specifically designed for PHP.
- http://erichogue.ca/2011/05/php/continuous-integration-in-php/
- http://docs.codehaus.org/display/SONAR/PHP+Plugin
- https://github.com/changi67/Tiki_CodeSniffer
- https://www.ohloh.net/p/xinc-continuous-integration-for-php
-
http://confluence.public.thoughtworks.org/display/CC/CI+Feature+Matrix - https://github.com/wimg/PHPCompatibility
- http://sourceforge.net/blog/how-to-use-webhooks-for-git-mercurial-and-svn-repositories/
- https://medium.com/linagora-engineering/dockerized-ci-of-linagoras-james-team-b01bd34a2641
- https://github.com/phpstan/phpstan
- https://github.com/squizlabs/PHP_CodeSniffer
Related projects
CDash and CMake
GoCD
Buildbot
Jenkins
PHPCI
CruiseControl (Java)
Travis CI
Strider
Integrity
Xinc
Apache Gump
GitLab Continuous Integration & Deployment
https://about.gitlab.com/features/gitlab-ci-cd/
https://docs.gitlab.com/ee/ci/pipelines.html