summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for cyclic variables checkJosh Smith2018-08-291-5/+5
| | | | | Note: This modifies the docker containers used for testing to supply the pytest-timeout package.
* .gitlab-ci.yml: Moving code_quality job into tests phaseTristan Van Berkom2018-08-271-5/+5
| | | | | | This job always takes a long time and does not really depend on the artifacts in the 'test' phase, moving it to the 'test' phase will reduce overall CI time.
* Revert ".gitlab-ci.yml: Avoid running tests in post-merge"Tristan Van Berkom2018-08-271-31/+0
| | | | This reverts commit bea01531b984522940562866e904c83e8f9aed50.
* .gitlab-ci.yml: Trying to fix code quality reportsTristan Van Berkom2018-08-261-5/+3
| | | | | | | | | This hasnt been working for a while, it might be because GitLab doesnt quite grasp that we have multiple branches to merge MRs to, or it might be because they have change the API and broken back compat in some way. See: https://docs.gitlab.com/ee/ci/examples/code_quality.html
* .gitlab-ci.yml: Verify that source tarball installs correctlychandan/ci-sdist-testChandan Singh2018-08-241-0/+5
| | | | | | | | | | Add a check to verify that the source distribution tarball that we generate installs corrctly. It is useful to do this check as this is the same tarball will be used when installing BuildStream via PyPI. This check also happens indirectly in the coverage job where we install BuildStream but this check makes it more explicit and will also cause the CI to fail early if the tarball is not correct.
* .gitlab-ci.yml: Avoid running tests in post-mergeTristan Van Berkom2018-08-231-0/+31
|
* .gitlab-ci.yml: Bump tags for testsuite imagesChandan Singh2018-08-211-6/+6
| | | | | | | These new images come with pinned versions of `pytest` and `pylint`: - `pylint`: `== 2.1.1` - `pytest`: `>= 3.7`
* .gitlab-ci.yml: Use the same version of the docker image for all jobsJavier Jardón2018-08-121-4/+4
|
* .gitlab-ci.yml: Run tests in fedora28 imageJavier Jardón2018-08-121-0/+5
|
* .gitlab-ci-yml: Add ubuntu 18.04 testPhil Dawson2018-08-121-0/+3
|
* .gitlab-ci.yml: Remove unused script "install.sh"Chandan Singh2018-08-081-10/+0
|
* doc: Build the docs without Buildstream installedbochecha/build-docsMathieu Bridon2018-08-041-1/+0
|
* .gitlab-ci.yml: Use testsuite images for running testschandan/use-testsuite-fedoraChandan Singh2018-07-181-4/+4
| | | | | | | | | | | | | | | Instead of re-using the user-facing `buildstream/buildstream-fedora` image for tests (that comes with BuildStream pre-installed), use `buildstream/testsuite-fedora` image that is supposed to be used exclusively for these tests. Similarly, use the dedicated `buildstream/testsuite-debian` image instead of `buildstream/buildstream-debian`. Fixes #458. For related discussion, see https://gitlab.com/BuildStream/buildstream-docker-images/issues/8.
* Bump required python version to 3.5Tristan Maat2018-07-181-5/+1
|
* .gitlab-ci.yml: Update images to include protobuf and grpcioJürg Billeter2018-07-171-4/+4
|
* doc/bst2html.py, doc/Makefile: Added --force optionTristan Van Berkom2018-06-161-2/+1
| | | | | | | | | | | If --force is not specified, then we'll skip session files in the case that all of the outputs exist. Now setting BST_FORCE_SESSION_REBUILD when building the docs will cause the session files to be rebuilt regardless of whether they exist or not. The .gitlab-ci.yml was also changed to use this and force rebuilds.
* doc: Improve the new console output html generatorTristan Van Berkom2018-06-131-1/+1
| | | | | | | | | | Before we were creating one description file for each output, making it easier to declare a make rule for it - but the result was that we would have to build things more and it takes a long time. Instead, now we have session files which describe a series of commands to run in a session, and each command optionally produces an output file.
* .gitlab-ci.yml: Speed up docs build by setting up BST_SOURCE_CACHETristan Van Berkom2018-06-121-0/+2
| | | | | Use the gitlab cache for caching sources needed for building projects in order to collect sample output for documentation pages.
* .gitlab-ci.yml: Stop depending on specific version of sphinxTristan Van Berkom2018-06-091-1/+1
| | | | | | This branch fixes #312 by using a hidden toctree to include the buildstream package and reducing the amount of allowed :orphan: pages.
* .gitlab-ci.yml: Remove redundant declaration of dependencies:Javier Jardón2018-05-071-6/+0
| | | | | "artifacts from all previous stages are passed by default." https://docs.gitlab.com/ee/ci/yaml/#dependencies
* .gitlab-ci.yml: Run test in current Debian stable (stretch)Javier Jardón2018-04-251-0/+5
|
* .gitlab-ci.yml: Move radon job to post stageJavier Jardón2018-04-251-25/+26
|
* .gitlab-ci.yml: Add job to analyze project code quality with Code Climate CLIJavier Jardón2018-04-251-0/+22
| | | | See #431
* Move curent before_script: commands to the only jobs where they are actually ↵Javier Jardón2018-04-251-8/+6
| | | | needed
* .gitlab-ci.yml: Add coverage regexTristan Van Berkom2018-04-161-0/+1
|
* .gitlab-ci.yml: Perform some python code analysis with radontristan/radonTristan Van Berkom2018-04-161-0/+26
| | | | | This adds a new job in the prepare stage which can be viewed in the gitlab CI, and also produces an artifacts with the json metrics.
* .gitlab-ci.yml: Show which coverage reports are getting combined in CITristan Van Berkom2018-04-131-0/+1
| | | | | This extra line shows which reports will be combined, which helps us to more quickly debug problems in the coverage job of the .gitlab-ci.yml
* .gitlab-ci.yml: Fix coverage jobjjardon/ci_fedora_27Javier Jardón2018-04-121-4/+3
|
* .gitlab-ci.yml: Change jobs from <distro>-tests to tests-<distro>Javier Jardón2018-04-121-6/+6
| | | | So they show in order nicely in the gitlab CI UI
* .gitlab-ci.yml: Run tests in Fedora:27 as wellJavier Jardón2018-04-121-0/+5
|
* .gitlab-ci.yml: Create template for linux-tests jobJavier Jardón2018-04-121-2/+6
|
* .gitlab-ci.yml: Use debian-8 for tests to test python3.4Tristan Maat2018-03-281-2/+5
|
* .gitlab-ci.yml: No need to install python2 for docs jobJavier Jardón2018-03-221-5/+2
| | | | This also make the job faster: from ~1min to ~30s
* .gitlab-ci.yml: Pin the sphinx version to 1.7.1tristan/fix-docs-builds-in-ciTristan Van Berkom2018-03-211-1/+1
| | | | | | | The new version today 1.7.2 causes the following build error: Warning, treated as error: /builds/BuildStream/buildstream/dist/buildstream/doc/source/buildstream.sandbox.rst:document isn't included in any toctree
* Change theme to sphinx_rtd_themeJavier Jardón2018-03-201-0/+1
| | | | | The sphinx_rtd_theme is a sphinx theme designed to look modern and be mobile-friendly http://sphinx-rtd-theme.readthedocs.io/en/latest/index.html
* .gitlab-ci.yml: Remove superfluous pytest-pylint installTristan Maat2018-03-191-2/+0
|
* .gitlab-ci.yml: Fix lack of setuptools_scm causing CI failureTristan Maat2018-03-191-1/+1
|
* Make pylint and pep8 tests run by defaultjennis/add_gi.repository_to_ignored_pylint_modulesJames Ennis2018-03-161-7/+0
|
* Add pylint to CITristan Maat2018-03-141-0/+9
|
* Modify how the INTEGRATION_CACHE environment var is interpretedSam Thursfield2018-02-281-2/+2
| | | | | | | | When specifying a location for the integration tests cache directory, we would previously append '/integration-cache' to whatever path we were given. This is regarded as confusing. See: https://gitlab.com/BuildStream/buildstream/issues/267
* .gitlab-ci.yml: Support test execution in other repositoriesJürg Billeter2018-02-131-2/+5
| | | | | | | Do not make any assumptions about the working directory as that varies across repositories. Fixes #251
* .gitlab-ci.yml: Fix INTEGRATION_CACHEJürg Billeter2018-02-121-5/+2
| | | | | The working directory of the runner is /builds/BuildStream/buildstream, not /builds/BuildStream.
* Merge integration tests into general testsTristan Maat2018-02-071-65/+22
|
* .gitlab-ci.yml: Update docker image so it contains jinja >= 2.10Javier Jardón2018-02-051-1/+1
|
* .gitlab-ci.yml: Force colors in pytest for better output in the gitlab UI.error-codesTristan Van Berkom2018-01-021-0/+3
|
* .gitlab-ci.yml: Build documentation in every CI pipelineci-on-docsTristan Van Berkom2017-12-221-24/+58
| | | | | Build it in one stage before the `pages` target, and then only make the deployment step conditional on the branch.
* .gitlab-ci.yml: Use latest BuildStream Docker imageSam Thursfield2017-12-211-1/+1
| | | | | Integration tests were failing as the installed version of BuildStream didn't support the new --hardlinks option.
* .gitlab-ci.yml: Use source distribution tarballs in all testsTristan Van Berkom2017-11-281-13/+74
| | | | | | | | | | | | This commit adds an initial stage to the pipeline to build a distribution tarball and generate some helper scripts for later CI to use to unpack it and install it. Then, it makes sure that all pytest and integration test runs work from the dist tarball instead of directly from the git repo, also the docs are built from the dist tarball. This ensures that everything continues to work with a dist tarball at all times.
* .gitlab-ci.yml: Use specific version of buildstream-fedora Docker imageSam Thursfield2017-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | The image is rebuilt nightly which means it could change under our feet and cause confusing breakages. The reason for these nightly rebuilds is so that the `bst-here` script offers a reasonably fresh version of BuildStream to users. But it also means that dependencies could change in broken ways. You can see the list of tags here, ordered by newness: https://hub.docker.com/r/buildstream/buildstream-fedora/tags/ The number in one of these tag names is the "version" of the image (which is really the number of commits in the buildstream-docker-images repo), while the hex string identifies the commit of BuildStream that the image contains. When changing the Docker image (to add new dependencies, or whatever) you will need to wait until the new tag is pushed, then modify .gitlab-ci.yml so that it pulls the new tag.
* .gitlab-ci.yml: Drop root privileges for some tests102-run-ci-as-non-root-userTristan Maat2017-10-201-3/+16
|