summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci.yml: Run mypy for validating changeschandan/mypyChandan Singh2019-09-021-0/+8
|
* .gitlab-ci.yml: Install static buildbox-casd binary for WSLJürg Billeter2019-08-201-0/+8
|
* .gitlab-ci.yml: Update docker images for buildbox-casdJürg Billeter2019-08-201-13/+13
|
* .gitlab-ci.yml: Add a test with job spawning onAngelos Evripiotis2019-08-161-0/+6
| | | | Add a GitLab test with the 'spawn' method of starting processes forced.
* .gitlab-ci.yml: Do not remove bubblewrap in tests-buildboxJürg Billeter2019-08-071-3/+0
| | | | buildbox-fuse uses bubblewrap for sandboxing.
* .gitlab-ci.yml: Use new way to define code_quality jobJavier Jardón2019-08-051-24/+3
| | | | See https://docs.gitlab.com/ee/ci/examples/code_quality.html
* .gitlab-ci.yml: Use latest fdsdk release for overnght testsJavier Jardón2019-08-051-1/+1
|
* ci: Fix docker connection to the docker dind serviceBenjamin Schubert2019-07-261-0/+4
| | | | | | | | | | | docker 19 started requiring tls certificates to connect to. We now need to explicitely disable it. Gitlab was discussing it at https://gitlab.com/gitlab-org/gitlab-runner/issues/4501 And the related change in docker was in https://github.com/docker-library/docker/pull/166
* New test stage to use the buildbox sandboxWilliam Salmon2019-07-251-0/+32
| | | | | | | | | This test stage should only be needed while we transistion to the BuildBox sand box. Once the other test stages switch to use buildbox from bubble rap then this test stage will be removed. These test do not include the integration test as thery are not working correctly in CI.
* .gitlab-ci.yml: Use new freedesktop-sdk with bst2 YAML API changesJavier Jardón2019-07-241-1/+1
| | | | See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/1560
* Refactor of Platform and SandboxWilliam Salmon2019-07-121-1/+1
|
* .gitlab-ci.yml: Use fedora30 for aarch overnigth testsjjardon/aarch64_fedora30Javier Jardón2019-07-091-8/+2
|
* .gitlab-ci.yml: Use up-to-date bst-plugins-experimentalJavier Jardón2019-06-201-1/+1
| | | | Fixes #1046
* tests: Build wheel before installing BuildStream in overnight testsBenjamin Schubert2019-06-101-1/+2
| | | | | | | BuildStream now requires setuptools and cython when building the wheel and thus can't be installed directly with pip install --no-index. Building a wheel beforehand allows us to install without dependencies.
* .gitlab-ci.yml: ostree plugin depends on ostree/python3-gobject-baseJavier Jardón2019-05-291-0/+2
| | | | [ci skip]
* .gitlab-ci.yml: Fix overnigth testsJavier Jardón2019-05-271-2/+2
| | | | Use bst-plugins-experimental with ostree plugin included
* .gitlab-ci.yml: Fix source path for analysis jobsChandan Singh2019-05-211-6/+6
| | | | | Since the `buildstream` module now lives inside `src` directory, also update the paths that we give to `radon`.
* .gitlab-ci.yml: Add Fedora 30 and remove deprecated Fedora 28jjardon/fedora_30_masterJavier Jardón2019-05-031-5/+5
|
* .gitlab-ci.yml: Updating overnight tests to test ported freedesktop-sdkTristan Van Berkom2019-04-251-2/+2
| | | | | | | | | Now that BuildStream 2 APIs have diverged, we maintain a branch of freedesktop-sdk which supports BuildStream 2 and uses bst-plugins-experimental instead of bst-external. This commit updates our overnight tests to check that we're not breaking our builds against a ported freedesktop-sdk project.
* .gitlab-ci.yml: bst2 should use the new bst-plugins-experimental repo ↵jjardon/bst-plugins-experimentalJavier Jardón2019-04-121-1/+1
| | | | instead bst-external
* .gitlab-ci.yml: Use bst-external 0.12.0 for overnigth testsJavier Jardón2019-03-281-1/+1
|
* Generate and publish HTML coverage reportMartin Blanchard2019-03-251-1/+6
| | | | https://gitlab.com/BuildStream/buildstream/issues/629
* .gitlab-ci.yml: Add a CI test job for remote executionMartin Blanchard2019-03-251-0/+24
| | | | https://gitlab.com/BuildStream/buildstream/issues/629
* gitlab-ci: Make WSL tests only run automatically on masterjonathan/wsl-tests-manualJonathan Maw2019-03-201-2/+19
| | | | | | | WSL tests may be run on non-master branches manually. WSL tests on master do not have "allow-failure" so we will be notified if it's failing.
* Move external plugin tests to seperate tox environment.Phil Dawson2019-03-131-1/+4
| | | | | | | | | Having the external plugins in the same tox env as the internal tests is inconvenient for developers. Move the external tests into their own environment. In order to run the external tests locally, append `-external` to an environment name. For example tox -e py35-external.
* .gitlab-ci.yml: Fix "overnight-tests-no-cache" jobJavier Jardón2019-03-101-1/+0
| | | | | | freedesktop-sdk/bootstrap/project.conf doesn't exist anymore This completes d61e058273f45bd0a2fda1722d579cdc39fbc99a
* .gitlab-ci.yml: Use current stable version of freedeskop-sdk: ↵Javier Jardón2019-03-091-1/+1
| | | | freedesktop-sdk-18.08.28
* .gitlab-ci.yml: Use recent toxTristan Van Berkom2019-03-041-2/+2
| | | | | | | There appears to be multiple versions of tox in the WSL test environment, prepending /root/.local/bin to the PATH while running tests ensures that we are using a recent enough tox to execute the tests.
* .gitlab-ci.yml: Adding tox --version output to test diagnosticsTristan Van Berkom2019-03-041-0/+2
| | | | | This is generally useful to know, since the tox version is not enforced by BuildStream.
* .gitlab-ci.yml: Enable parallel testing with 2 CPUsJürg Billeter2019-02-201-1/+1
|
* .gitlab-ci: make wsl-test automatic, allow failureJonathan Maw2019-02-181-1/+1
|
* .gitlab-ci.yml: Some new test environments were added, but not collecting ↵Tristan Van Berkom2019-02-181-0/+2
| | | | | | | | coverage. The test jobs which create coverage reports need to be listed in the dependencies of the coverage job, as highlighted in issue #356.
* .gitlab-ci.yml: Remove "tests-python-3.7-stretch" jobJavier Jardón2019-02-121-10/+0
| | | | Fedora 29 includes python 3.7 so this is not needed anymore
* .gitlab-ci.yml: run all generic fedora test in current stable version:29Javier Jardón2019-02-121-5/+5
|
* .gitlab-ci.yml: Add job to run test in current Fedora:29Javier Jardón2019-02-121-0/+5
|
* .gitlab-ci.yml: Do not automatically run "test-wsl" until runner problems ↵jjardon/allow_fail_WSLJavier Jardón2019-02-111-0/+1
| | | | are sorted out
* .gitlab-ci.yml: Remove testing on Fedora 27Javier Jardón2019-02-091-6/+1
| | | | | | Fedora 27 is EOL since 2018-11-30 See https://fedoraproject.org/wiki/End_of_life
* Update testing images to include c++ compilerBenjamin Schubert2019-02-061-13/+13
|
* gitlab-ci: Add commands to be run by WSL runnersJonathan Maw2019-02-061-0/+14
|
* Add a Centos runnerBenjamin Schubert2019-01-211-0/+5
| | | | Centos is apparently different enough from fedora when running tests.
* .gitlab-ci.yml: Add overnight tests logs to artifacts.Valentin David2019-01-181-0/+3
|
* .gitlab-ci.yml: Add tests for python 3.7Chandan Singh2019-01-151-0/+10
| | | | | | We already have tests for python 3.5 and 3.6 but not 3.7. Fixes https://gitlab.com/BuildStream/buildstream/issues/838.
* .gitlab-ci.yml: Add job to attempt to update dependenciesChandan Singh2019-01-151-1/+16
| | | | | | | This will help us check if BuildStream is working with the latest version of dependencies, as per our constraints. This job is allowed to fail but its failure should signal that we need to add stricter constraints in some of our `.in` requirements files.
* .gitlab-ci.yml: Use latest bst-externaljjardon/bst_external_0_9Javier Jardón2019-01-141-1/+1
| | | | which include flatpak_repo plugin needed to build fdsdk
* .gitlab-ci.yml: Use newer image for overning aarch testsChandan Singh2019-01-141-1/+7
| | | | | | | | | | | | During recent reorganizing of `.gitlab-ci.yml` to work with `tox`, seems like we missed to update the image used by the overnight aarch tests, meaning that they currently fail due to `tox` being missing from them. While these tests will be skipped on MRs usually, here is an example of what the tests look like if they are actually run with this change: https://gitlab.com/BuildStream/buildstream/-/jobs/145449561. Fixes #859.
* .gitlab-ci.yml: Use latest freedesktop-sdk 18.08.25Javier Jardón2019-01-141-1/+1
|
* Support running test environments in parallel with `detox`Tristan Van Berkom2019-01-091-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch namespaces the test temp directory and the output coverage report file with the name of the environment under test, such that separately run tests do not access the same files. When running tests without tox, directly through setup.py, then the tmp directory will still be `./tmp`. * .gitignore: Added new .coverage-reports/ directory * .gitlab-ci.yml: Rely on tox to combine and report coverage, only tell tox about the COVERAGE_PREFIX so that results can be namespaced by CI job name. This change also publishes the sources and final combined `.coverage` file in an output gitlab artifact for inspection, and lists some missing dependencies to the `coverage` job. * tox.ini: Add comments and refactor main [testenv] section so that other environments dont inherit too much unrelated cruft. Generate the coverate reports in the respective {envtmpdir} so that all per-process coverage files are prefixed with a full path, ensuring that concurrent runs don't mix reports and addressing concerns raised in #844. Also implemented new `tox -e coverage` environment to combine any found coverage and print a report. * .coveragerc: Omit .tox/ directory from coverage stats Fixes issue #844
* .gitlab-ci.yml: Remove prepare stageChandan Singh2019-01-041-44/+5
| | | | | | | | | | As we now run tests using `tox`, we don't need to worry about manually packing and unpacking BuildStream. So, we can remove the preapre stage entirely. Update `coverage` and nightly jobs to appropriately cope with this change. Both these jobs now install all runtime dependencies from requirements files.
* Rename "tools" directory to "requirements"Chandan Singh2019-01-041-1/+1
| | | | | This seems like a better name for the directory, as it more closely describes the purpose of its contents.
* .gitlab-ci.yml: Update the CI to run the linter separately through toxTristan Van Berkom2019-01-031-0/+12
| | | | | This should save us some cycles in CI, and also allow the developer to more conveniently lint separately from testing.