summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* CI integration-chutney: install chutney outside of setup scriptJim Newsome2024-10-301-5/+13
| | | | | | | | | | Currently just copy-paste from the integration-chutney-shadow job. This will be simplified and/or folded into an external script pending <https://gitlab.torproject.org/tpo/core/chutney/-/merge_requests/31>. Note that this job is currently disabled, making this commit roughly a no-op. This is just to proactively try to keep this version of the job unbroken for if and when we reenable it.
* CI integration-chutney-shadow: pin chutney versionJim Newsome2024-10-301-1/+10
| | | | | Since chutney is currently under relatively rapid development, let's avoid surprise breakage in arti's CI.
* Merge branch 'python-ci' into 'main'Nick Mathewson2024-10-291-7/+10
|\ | | | | | | | | | | | | CI: Apply flake8, mypy, and black to all of our Python Closes #1689 See merge request tpo/core/arti!2584
| * CI: Re-purpose "python-check" to run python lints.Nick Mathewson2024-10-281-7/+10
| |
* | ci: upload more artifacts in 'integration-chutney-shadow'Steven Engler2024-10-281-0/+5
| | | | | | | | Set "1 week" since I see that it's used on another shadow artifact.
* | integration-chutney-shadow: pip install chutney to get its dependenciesJim Newsome2024-10-281-0/+8
| |
* | .gitlab-ci: reformat long apt-install lineJim Newsome2024-10-281-1/+8
| |
* | ci: use latest shadow commitSteven Engler2024-10-281-2/+3
|/ | | | | The changes in https://github.com/shadow/shadow/pull/3428 should add more details to the CI output of Shadow simulations.
* Make memquota feature part of full in artiIan Jackson2024-10-221-1/+1
| | | | Mark it no longer experimental, but part of full. And document it.
* CI: Append to RUSTFLAGS, in case it's already setIan Jackson2024-10-221-1/+1
| | | | | | | As suggested https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2561#note_3097441 I don't think we can have += since it may not be bash.
* minimal features test: Introduce new --cfg arti_features_preciseIan Jackson2024-10-221-0/+2
| | | | | Work around awkward cargo behaviour and allow us to more reliably test disabled features, even if they're enabled by default at lower levels.
* test-all-crates: conditional options, to test more cratesIan Jackson2024-10-221-1/+1
| | | | | | | | | | | | | This new feature lets us provide the "enable these options which are needed to make the tests pass" featrure, which is different for each of the afflicted crates. Then we can test these crates tor-hsservice arti arti-client which minimal features. This will be important in a moment, as we're going to want to be relying on actually minimal features tests in arti cfg.rs.
* test-all-crates: Introduce proper argument parserIan Jackson2024-10-221-1/+1
|
* shadow tests: Enable and turn on memquotaIan Jackson2024-10-211-1/+1
| | | | This detected the account lifetime bugs fixed in this branch.
* Merge branch 'mq-prevent' into 'main'Ian Jackson2024-10-151-0/+9
|\ | | | | | | | | | | | | Use clippy to prevent non-mq use of mpsc::channel Closes #1659 See merge request tpo/core/arti!2536
| * CI: Add a job to run clippy with different parameters, excluding testsIan Jackson2024-10-151-0/+9
| |
* | Abolish use of python-is-python3Ian Jackson2024-10-151-5/+5
|/ | | | | | | "python" meaning "python3" was a wrongheaded decision by Python upstream. Our python scripts should start (roughly) `#! env python3`. And, this is already the case - we don't actually use python-is-python3!
* Merge branch 'ctor-keystore-shadow' into 'main'gabi-2502024-10-101-1/+1
|\ | | | | | | | | shadow CI: Add a couple of tests involving C Tor keystores See merge request tpo/core/arti!2514
| * shadow CI: Build arti with ctor-keystore support.Gabriela Moldovan2024-10-081-1/+1
| | | | | | | | This is needed to test C Tor keystore support in shadow.
* | CI: run miri on tor-persist tooIan Jackson2024-10-081-1/+1
| |
* | CI: run miri on tor-rtmock tooIan Jackson2024-10-081-1/+1
| |
* | CI: run miri on tor-memquota tooIan Jackson2024-10-081-1/+1
| | | | | | | | | | There's no unsafe in this crate, but it does have some exciting drop bomb stuff.
* | miri: Update the nightly versionIan Jackson2024-10-081-6/+6
| |
* | miri: Fix update runesIan Jackson2024-10-081-2/+2
|/
* Run forbid-hard-tabs in CIIan Jackson2024-10-021-0/+1
|
* CI: run miri, currently on tor-rtcompatIan Jackson2024-09-261-0/+18
| | | | | | I'm about to add some unsafe which I want tested in CI. We must disable two tests.
* Use Rust 1.77 for our reproducible builds.Nick Mathewson2024-09-251-1/+1
|
* Upgrade MSRV to 1.77Nick Mathewson2024-09-251-1/+1
| | | | This will allow us to upgrade to the latest version of rusqlite.
* CI: Only build shadow onceJim Newsome2024-09-181-51/+43
|
* Add ci job `integration-chutney-shadow`Jim Newsome2024-09-181-0/+56
|
* CI: Set up ~/src and ~/.local in before_scriptJim Newsome2024-09-181-5/+6
| | | | | We'll want this in the shadow-chutney test too. No harm in just doing it for all jobs.
* chutney test: rework installation and tracking of chutney itselfJim Newsome2024-09-181-0/+2
| | | | | | | | | | | Previously `tests/chutney/setup` would locate *or install* chutney and set `CHUTNEY_PATH` for itself. However that `CHUTNEY_PATH` wasn't propagated to other steps or "up" to the new `integration-e2e` wrapper script. Tracking it in the arti.run along with other dynamic info lets us ensure we consistently use the same chutney across steps, and in the higher level `integration-e2e` script.
* chutney test: move logic from .gitlab-ci.yml to integration-e2eJim Newsome2024-09-181-5/+1
| | | | | | | Having this in a script is a step towards being able to run exactly the same test under shadow without duplicating this high-level logic. It's also convenient for running the ci test locally.
* Bump MSRV from 1.70 to 1.75.Wesley Aptekar-Cassels2024-09-161-1/+1
|
* Remove the `needs: []` from the deb-source jobIan Jackson2024-09-051-1/+0
| | | | | | | The effect of this is just to make the job run sooner. But it's actually quite unlikely to fail, and nothing now depends on it, so we should run it later along with the rest of the jobs in the `test` stage.
* Run `git-clean -xdff` in deb-source jobIan Jackson2024-09-051-0/+1
| | | | | This avoids any inherited data (eg from previous jobs) influencing the output.
* When building .debs, build only the .debs and don't rebuild the .dscIan Jackson2024-09-051-8/+2
| | | | | | | | | * Pass -b to dpkg-buildpackage, meaning "build binaries only". * Don't `need` the source package job * Don't try to import source package artifacts This means we're not building the .debs from the .dsc, but we weren't doing that anyway. (.dscs are IMPO obsolete...)
* Pass -uc to dpkg-buildpackage when building .debsIan Jackson2024-09-051-2/+2
| | | | | | | | | | | By default dpkg-buildpackage signs the output if the d/changelog isn't UNRELEASED. If we ever change the d/changelog, we don't want it to fail because it tries to sign things. In the future, if and when we want to sign things, that probably won't be done directly in gitlab CI when the package is built.
* Merge branch 'ahf/macos-cross-build' into 'main'Alexander Hansen Færøy2024-09-021-2/+0
|\ | | | | | | | | | | | | Fix reproducible build CI job for macOS Closes #1394 and #1507 See merge request tpo/core/arti!2377
| * Disallow failures for our CI job `build-repro-macos`Alexander Færøy2024-09-011-2/+0
| | | | | | | | See: tpo/core/arti#1394.
* | Merge branch 'ci' into 'main'Ian Jackson2024-08-271-6/+9
|\ \ | | | | | | | | | | | | Run tests of every crate, with all features disabled See merge request tpo/core/arti!2350
| * | Add script for *testing* without any features enabledIan Jackson2024-08-191-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | We can't do this for every crate. I looked at what is now matrix-check to see if I wanted to use any of the code. But it seems too entangled with its particular purpose, and has a lot of embedded knowledge of our crates' features. I found it sufficiently far from what I wanted that I decided on a fresh script.
| * | Rename matrix-check from matrix_testIan Jackson2024-08-191-2/+2
| | | | | | | | | | | | | | | There's a TODO asking for `check` to be changed to `test`. And we're about to invent a thing that does, sort of, the `test`.
* | | Fix CI on main by always running the deb-source jobIan Jackson2024-08-271-3/+0
| | | | | | | | | | | | The rules: was removed from these jobs but this one was missed.
* | | Add comment on big-endian targets to .gitlab-ci.ymlNoisyCoil2024-08-271-0/+4
| | |
* | | Cross-build an arm64 deb binary package in CINoisyCoil2024-08-271-0/+30
| | |
* | | Temporarily disable testing in native deb packageNoisyCoil2024-08-271-1/+2
| | |
* | | Build an amd64 native deb binary package in CINoisyCoil2024-08-271-0/+18
| | |
* | | Build a deb source package in CINoisyCoil2024-08-271-0/+18
| |/ |/|
* | shadow: add obfs4 arti client + tor bridgeopara2024-08-211-1/+1
|/