aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add maint/check_all_lockfilesMicah Elizabeth Scott2023-08-031-0/+1
| | | | | Looks for any checked-in Cargo.lock files, and checks the lockfile quickly by running `cargo tree --locked` there.
* CI: Remove extraneous whitespace.Gabriela Moldovan2023-07-121-1/+1
|
* CI: Remove unnecessary --feature flag.Gabriela Moldovan2023-07-121-1/+1
| | | | | `onion-service-client` is now a default feature, so we don't need to explicitly enable it anymore.
* CI: Add a job for building arti with additional features.Gabriela Moldovan2023-07-111-0/+28
| | | | | | | This is needed for testing `experimental-api` features (such as the keymgr) in shadow and chutney. Prompted by this discussion: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1399#note_2921294
* fix chutney in CItrinity-1686a2023-07-081-2/+3
|
* Merge branch 'shadow-onion' into 'main'Nick Mathewson2023-07-051-1/+1
|\ | | | | | | | | CI: extend shadow test to test an onion service connection See merge request tpo/core/arti!1292
| * CI: enable onion-service-client in rust-latest buildJim Newsome2023-07-031-1/+1
| | | | | | | | | | The shadow test needs this to use this build when testing onion services.
* | try making CI fastertrinity-1686a2023-07-041-2/+4
|/
* CI: run a normal all-features-testIan Jackson2023-06-281-0/+17
| | | | | | | | | I think we do actually do this as part of the coverage job, but that's not really very clear (and getting the report in that job may be annoying). We also do it on nightly as part of the nightly test, but that's an "allow_fail".
* lints: Promote clippy::print_stderr and clippy::print_stdoutIan Jackson2023-06-211-1/+1
| | | | | | | | These are available in our MSRV now, so we don't need to handle specially. We can just add them to the standard lint block. (Lint block in every crate will be updated automatically in the next commit.)
* CI: Upgrade every-crate test to requiredIan Jackson2023-06-141-2/+0
| | | | Since it passes now.
* CI: test every crate with default featuresIan Jackson2023-06-141-0/+9
|
* CI: integration-chutney: Turn into a warningIan Jackson2023-06-131-0/+1
| | | | | | | | This test is known to fail "when the load is high". Recently I had to press the "merge unverified changes" button to merge !1238, after four consecutivew spurious failures. IMO this is intolerable.
* shadow ci: bump tgenJim Newsome2023-05-221-1/+1
|
* shadow ci: bump shadowJim Newsome2023-05-221-1/+1
|
* Bump Rust version in reproducible build scriptsNick Mathewson2023-04-131-1/+1
| | | | Now that we require 1.65, Rust 1.63 is no longer sufficient.
* Run cargo audit last and in its own jobIan Jackson2023-04-121-3/+16
| | | | | Recently we had some minor awkwardness due a new advisory. This may help in future.
* Test with 1.65 in minimal_versions.Nick Mathewson2023-04-111-1/+1
|
* maint/check_todos: Run in CIIan Jackson2023-03-211-0/+9
|
* ci: add shebang to the GitLab CIEmil Engler2023-01-261-1/+2
|
* Maine ./maint/check_doc_feature a warningIan Jackson2023-01-301-0/+10
| | | | | | | | | | This is a fair amount of manual work to keep in sync. I would like to disable this, at least as a mandatory check, for now. Fixes #601 (the request for it to become non-blocking). The underlying issue is #581 and remains open. Co-authored-by: trinity-1686a <[email protected]>
* maint: replace llvm-tools-preview with llvm-toolsEmil Engler2023-01-271-2/+2
| | | | | | | | | | | | This commit replaces all occurrences of `llvm-tools-preview` with `llvm-tools`, because it became a stable feature with Rust 1.60, thereby making the `-preview` prefix obsolete. Beside this, `llvm-tools-preview` is a redirection to the latter one anyway. However, it does not work the other way around. At the moment, it is not possible to execute the `maint/coverage` script on a NixOS system, because the rustup component list only includes `llvm-tools`, but not `llvm-tools-preview`, thereby making this change necessary.
* put ci log span magic strings in a dedicated scripttrinity-1686a2022-12-051-2/+2
|
* update shadow and install tsharktrinity-1686a2022-11-301-1/+5
|
* CI: test that we can compile, and test cfg, with/without bridges/PTsIan Jackson2022-11-291-0/+6
|
* Switch CI back to nightly.Nick Mathewson2022-11-241-3/+7
| | | | | | | | | | | | Now that they have merged https://github.com/rust-lang/rust/pull/104416 , our CI should pass again with the regular nightly image. Rather than remove the pinned image entirely, I'm commenting it out, with a comment explaining how to pin an image the next time we need to do so. Closes #633.
* gitlab-ci: Pin to nightly-2022-11-11Nick Mathewson2022-11-181-1/+3
| | | | This is a workaround for #633.
* Use rust 1.60 in minimal-versions.Nick Mathewson2022-11-101-1/+1
| | | | Closes #621
* Check more targetstrinity-1686a2022-11-101-0/+10
|
* cleanup target dir on job completiontrinity-1686a2022-10-211-2/+17
|
* Merge branch 'matrix-features' into 'main'Nick Mathewson2022-10-211-0/+8
|\ | | | | | | | | | | | | add checks for many feature combinations Closes #303 See merge request tpo/core/arti!775
| * move test to dedicated jobtrinity-1686a2022-10-171-2/+8
| |
| * add test for many featurestrinity-1686a2022-10-161-0/+2
| | | | | | | | and fix issue compiling tor-rtcompat with on ssl runtime
* | integration-shadow: "shadow-small" tag -> "tpa"Jim Newsome2022-10-191-1/+1
|/ | | The "shadow-small" tag no longer exists, and all "tpa" x86-64 runners can now run Shadow. https://gitlab.torproject.org/tpo/tpa/team/-/issues/40833#note_2835576
* Create a shadow-based integration testJim Newsome2022-10-051-1/+85
| | | | Fixes https://gitlab.torproject.org/tpo/core/arti/-/issues/174
* CI: build-repro: Bump image to 1.63Ian Jackson2022-09-061-1/+1
| | | | | | | | | tinystr 0.6.2 (which our Cargo.toml's permit and our Cargo.lock specifies) has an MSRV of 1.60. The symptom with earlier Rust is this from cargo: error: failed to select a version for the requirement `tinystr = "^0.6.0"` (which is, on the face of it, nonsense).
* switch from awk to pythontrinity-1686a2022-08-241-1/+1
|
* add check_doc_features to CItrinity-1686a2022-08-241-1/+2
|
* enable doc_auto_cfg feature on every crate when documenting for docs.rstrinity-1686a2022-08-241-1/+1
|