summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* mypy: Enable strict modeIan Jackson2024-05-281-1/+1
| | | | | | | Consultation with a nearby Python expert, on another topic, revealed that without --strict, mypy turns most of its stuff off by default. Sadly (?) this bureaucracy didn't find any bugs.
* Merge branch 'ci-after-script-tweaks' into 'main'Nick Mathewson2024-05-161-19/+6
|\ | | | | | | | | CI: Move cargo clean section to after_script. See merge request tpo/core/arti!2159
| * CI: Move cargo clean section to after_script.Nick Mathewson2024-05-151-19/+6
| | | | | | | | | | | | | | | | | | | | | | Part of arti#1410. The idea here is to consolidate `cargo clean` in an after_script section we call everywhere, rather than have it be in one that we can forget to copy. We can't call `cargo clean` unconditionally, though, since some of our jobs don't install cargo. So we make sure it's there.
* | Merge branch 'links' into 'main'Nick Mathewson2024-05-161-0/+15
|\ \ | | | | | | | | | | | | | | | | | | Provide and run script for making/checking link blocks in CHANGELOG.md Closes #1388 See merge request tpo/core/arti!2126
| * | CI: Run mypy on the (so far, 1) type-annotated Python3 fileIan Jackson2024-05-071-0/+7
| | |
| * | Run maint/update-md-links in CIIan Jackson2024-05-021-0/+8
| | |
* | | Forbid scripts names from specifying their implementation languageIan Jackson2024-05-161-0/+1
| | |
* | | Rename tests/shadow/run.sh to runIan Jackson2024-05-161-1/+1
| |/ |/|
* | Merge branch 'new_ci_cfg_strategy' into 'main'Nick Mathewson2024-05-071-6/+5
|\ \ | | | | | | | | | | | | | | | | | | add_warning/CI: New strategy to avoid "unexpected-cfgs" warning Closes #1395 See merge request tpo/core/arti!2129
| * | CI: Use new add_warning features in place of --cfg.Nick Mathewson2024-05-061-6/+5
| | |
* | | Merge branch 'chutney' into 'main'Nick Mathewson2024-05-061-1/+1
|\ \ \ | |/ / |/| | | | | | | | CI: disable chutney tests in coverage job too See merge request tpo/core/arti!2120
| * | CI: disable chutney tests in coverage job tooIan Jackson2024-04-301-1/+1
| |/ | | | | | | | | | | | | | | | | Followup to !1488. Apropos #1299. Ideally these would be replaced by shadow tests. At a future point, when they've not been used for ages, we could delete the chutney scripts etc.
* / CI: allow uexpected-cfgs when building docsNick Mathewson2024-05-061-1/+1
|/ | | | Without this, our rustdoc CI build will fail on nightly because of
* CI: Enable vanguards in the shadow tests.Gabriela Moldovan2024-04-051-1/+1
|
* downgrade alpine used for reproducible buildstrinity-1686a2024-03-291-1/+1
| | | | temporary fix for broken macos builds
* CI: Don't build arti with experimental features in rust-latest.Gabriela Moldovan2024-03-141-1/+2
| | | | | | | | Some experimental features (i.e. `vanguards`) break the shadow integration tests. Since the examples enable `experimental`, we need `rust-latest` to build arti using `-p arti`, rather than from the workspace level (because cargo does feature unification when building the packages as a workspace).
* arti, CI: Add a test case for command line helpIan Jackson2024-03-051-0/+6
|
* upgrade docker image for reproducible buildstrinity-1686a2024-03-031-1/+1
|
* shadow ci: stop pulling libigraph from bullseyeJim Newsome2024-02-051-19/+2
| | | | | Now that https://github.com/shadow/tgen/issues/44 is fixed, we no longer need to do this.
* shadow ci: bump to latest tgen releaseJim Newsome2024-02-051-1/+1
|
* shadow ci: bump to latest shadow releaseJim Newsome2024-02-051-3/+1
|
* Merge branch 'ci3' into 'main'Nick Mathewson2024-01-311-0/+2
|\ | | | | | | | | CI: Run coverage test on bigger runners See merge request tpo/core/arti!1944
| * CI: Run coverage test on bigger runnersIan Jackson2024-01-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | This is starting to get SIGKILL during linking. Lack of memory, presumably. @anarcat suggests we should run this on bigger runners, and that this could be achieved by applying the `tpa` tag. CC @trinity-1686a See also !1943.
* | Merge branch 'ci' into 'main'gabi-2502024-01-311-0/+2
|\ \ | | | | | | | | | | | | CI: Run some tests a bit earlier See merge request tpo/core/arti!1940
| * | CI: blocking-todos: Run quicklyIan Jackson2024-01-311-0/+1
| | | | | | | | | | | | | | | This is a very fast check. It's last in the list so that nothing gets blocked *by* it, but we want it to run early.
| * | CI: minimal-versions: Block only on rust-checksIan Jackson2024-01-311-0/+1
| |/ | | | | | | | | In particular, let's not wait for all the other builds, to make iterating minimal-versions through CI less painful.
* / CI: Run coverage test only in scheduled pipelinesIan Jackson2024-01-311-0/+2
|/ | | | | | | | This is starting to get SIGKILL during linking. Lack of memory, presumably. @nickm suggests running it only daily since apparently we don't look at the output that often anyway.
* arti-extra build: enable onion-service-serviceJim Newsome2023-12-131-1/+1
|
* arti-extra build: no-op reformatJim Newsome2023-12-131-1/+5
|
* Enable ntor_v3 in the arti-extra buildJim Newsome2023-12-071-1/+1
| | | | This tests ntor_v3 in the shadow integration test.
* Merge branch 'msrv-bump-1.70' into 'main'Ian Jackson2023-11-301-3/+1
|\ | | | | | | | | Increase our MSRV to 1.70 See merge request tpo/core/arti!1773
| * CI: change minimal-versions to 1.70.Nick Mathewson2023-11-281-3/+1
| |
* | Fix extra features getting enabled in the arti-extra test binaryJim Newsome2023-11-281-1/+5
|/ | | | | | | We were missing `-p arti` in the build command. As a result we were getting the union of all features requested by anything in the workspace, including an example enabling the `experimental` feature which enables a bunch of other things.
* use ipv6 runner instead of tpa for coveragetrinity-1686a2023-11-221-1/+1
|
* add tpa tag to coverage-aggregatedtrinity-1686a2023-11-161-0/+2
| | | | otherwis it fails when it gets scheduled on a non-ipv6 ready runner
* update rustc for reproducible buildstrinity-1686a2023-11-161-1/+1
|
* remove artifact generation from rust-latest-test-all-featurestrinity-1686a2023-10-131-5/+0
|
* move usage of ./maint/preserve out of after_scripttrinity-1686a2023-10-131-3/+3
|
* CI: Remove amd64 tagsIan Jackson2023-09-181-18/+0
| | | | | | | | | | | | | | | We have a new runner, and apparently to use it better we want to remove these tags. TBH this seems rather unprincipled. In theory, shouldn't we tag with `amd64` all the jobs that we definitely want to run on that arch, and the others can run on whatever is the default? Then in the glorious distant RISCV future everything will run on riscv64 by default? But maybe we wouldn't want to switch that as part of the infrastructure anyway? Anyway, for discussion see https://gitlab.torproject.org/tpo/tpa/team/-/issues/41295#note_2943129
* CI: Ensure libssl3 is installed in shadow and chutney testsJim Newsome2023-09-051-4/+4
|
* CI: Ensure libsqlite3 is installed in shadow and chutney testsJim Newsome2023-09-051-0/+5
|
* Update CI to use Debian bookworm instead of bullseyeJim Newsome2023-08-291-18/+18
|
* shadow test: use libigraph from bullseyeJim Newsome2023-08-291-2/+20
| | | | Workaround for https://github.com/shadow/tgen/issues/44
* CI: Replace all uses of `debian:stable-slim` with `bookworm`Ian Jackson2023-08-251-4/+4
| | | | | | | | Thesee jobs are ones which don't interact with our Rust executables. Since `debian:stable-slim` has already been updated I believe, I think this actually makes no difference right now. But it will prevent us unexpectedly picking up Debian updates.
* CI: Replace all uses of `rust:latest` image with `rust:bullseye`Ian Jackson2023-08-251-13/+13
| | | | | `rust:latest` updates to a new Debian willy-nilly, which broke our CI due to it being an uncontrolled dependency.
* CI: cargo install caching: Use cache/ directory, per-imageIan Jackson2023-08-251-5/+4
| | | | | | This avoids us trying to run binaries built on one image, on a different one. I believe that this is supposed to work according to Rust doctrine, but empirically it doesn't.
* CI: Use apt, not pip, to install python packages.Nick Mathewson2023-08-251-5/+2
| | | | | Debian's pip3 now apparently complains when root is running it, which breaks our old coverage CI.
* CI: Remove unneeded install of git in maint-checksIan Jackson2023-08-091-1/+1
| | | | | | | This was added in 9357a8fd6b22 "ci: add shebang to the GitLab CI" as part of !990 to the `maint-checks` job; but the actual additional check was added to the `doc-features` job (by mistake, fixed in !1490); and, that shebang check script doesn't need git anyway.
* ci: move shebang check into proper CI testEmil Engler2023-08-091-1/+1
| | | | | | | Currently, the shebang check CI is not executed, as it would need to fail then. See !1489
* Disable chutney test againIan Jackson2023-08-091-0/+3
|