summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* Remove check_doc_features.Nick Mathewson2025-09-291-10/+0
| | | | | | | | Now that rust nightly has merged doc_auto_cfg into doc_cfg, and completed https://github.com/rust-lang/rust/pull/138907, it is no longer necessary. Closes #1514.
* maint: Add script to check OpenTelemetry macro invocations.Wesley Aptekar-Cassels2025-09-241-0/+1
|
* python3-checks: quote variable definitions and referencesJim Newsome2025-09-161-6/+6
| | | | | No functional differences as far as I can tell, but keeps with gitlab's recommendations for consistency and to avoid potential footguns.
* python3-lints: bump mypy to 1.18.1Jim Newsome2025-09-151-1/+2
|
* python3-lints: bump flake8 to 7.3.0Jim Newsome2025-09-151-1/+2
|
* python3-lints: bump black to 25.1.0Jim Newsome2025-09-151-1/+2
|
* python-checks: lift pinned versions to job vars for visibilityJim Newsome2025-09-151-3/+7
|
* python3-checks: break into separate shell commands and reformatJim Newsome2025-09-151-5/+13
| | | | | This is mostly to allow putting the pip3 dependencies each on their own line without escaping newlines, but also more idiomatic in general.
* python3-checks: don't allow failureJim Newsome2025-09-151-1/+0
| | | | | I think now that the linter versions are pinned (!2683), we don't want to allow these to fail anymore.
* Bump MSRV from 1.85 to 1.85.1Nick Mathewson2025-09-091-1/+1
| | | | Closes #2107
* CI: Remove --verbose from cargo commandsNick Mathewson2025-09-041-11/+11
| | | | | | | This is taking up a lot of space in our CI longs, and hasn't actually helped us out in the past. Possible solution for #2155
* Pin CI to cargo-sort 2.0.1Nick Mathewson2025-09-041-1/+1
| | | | | | | There are significant changes in the output from cargo-sort 2.0.2, so let's pause at 2.0.1 until we decide on our next step. Temporary solution for #2156.
* shadow tests: use a randomized simulation seedJim Newsome2025-09-031-2/+10
| | | | | | | | | | | | | | Mitigates #2154 The determinism inside CI is of limited usefulness since a CI seed generally won't perfectly replicate the behavior when debugging locally. Arguably it's a feature that when there's some flakiness it does replicate inside of CI, but it leads to some confusion about blame (e.g. as in #2154 where an unrelated MR probably perturbed the PRNG to trigger some pre-existing flakiness), and means that we can't just rerun the job if we get really unlucky. i.e. even if we set a lower success threshold, a sufficiently unlucky MR can still fail and keep failing as long as it runs with the same seed.
* Merge branch 'ci-case' into 'main'David Goulet2025-09-021-0/+1
|\ | | | | | | | | maint: Add a check for case-insensitive files See merge request tpo/core/arti!3207
| * maint: Add a check for case-insensitive filesClara Engler2025-08-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | Filenames within the tree that exists in multiple versions only differing by their case cause problems on case-insensitive filesystems. This commit introduces a simple check that lists all files indexes by git and searches for duplicate lines while ignoring case during comparison. See !3166, #2144
* | Merge branch 'use-quicktest' into 'main'Jim Newsome2025-08-271-4/+12
|\ \ | | | | | | | | | | | | Use quicktest build for integration testing See merge request tpo/core/arti!3157
| * | .gitlab-ci.yml: add pipeline variables for which cargo profile to use to ↵Jim Newsome2025-08-261-5/+12
| | | | | | | | | | | | build arti
| * | Integration testing: use quicktest buildJim Newsome2025-08-261-4/+5
| |/
* | Merge branch '2064-artifact-expiration-times' into 'main'opara2025-08-271-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Increase artifact expiration times to 1 day minimum Closes #2064 See merge request tpo/core/arti!3098
| * | If artifact expiration time is less than 1 day, increase to 1 day.luciole2025-07-161-2/+2
| | |
* | | ci: update "recent rust image" to 1.89Steven Engler2025-08-261-2/+2
| |/ |/|
* | ci: drop dependency proxy experimentJérôme Charaoui2025-08-211-19/+10
| | | | | | | | | | | | | | | | | | | | | | the dependency proxy didn't work as well as we hoped (tpo/tpa/team#42089) and it also fix all rate-limiting issues from dockerhub since a lot of contributors were bypassing the proxy because of insufficient credentials from now on pulls from "docker.io" will go through a new pull-though cache deployed by tpa, similar to what osuosl folks are using successfully with their own ci runners
* | CI: bump chutney versionJim Newsome2025-08-111-2/+2
| | | | | | | | | | Primarily to get arti hidden services support, added in tpo/core/chutney!77
* | Try updating the miri toolchain tooNick Mathewson2025-08-051-2/+2
| |
* | Bump minimal-versions in CI to new MSRV (1.85)Nick Mathewson2025-08-051-1/+1
| |
* | ci: Pin to cargo-license 0.7.0Nick Mathewson2025-07-301-2/+1
| | | | | | | | This should prevent recurrences of issues like #2083.
* | ci: downgrade cargo-license to 0.6.1 as workaroundSteven Engler2025-07-291-1/+2
|/
* CI: bump shadow versionJim Newsome2025-07-141-2/+2
| | | | | Mostly to get reproducibility fixes for <https://github.com/shadow/shadow/issues/3610>
* Revert "CI: pin to a slightly older nightly to work around ICE"Steven Engler2025-06-091-2/+2
| | | | | | | | | | | | This reverts commit 586d57267d3a4fa698911b40d8799d5d3f248872. This is fixed in the latest rust/clippy nightly; tested with: rustc 1.89.0-nightly (6ccd44760 2025-06-08) ``` RUSTUP_TOOLCHAIN=nightly cargo clippy --tests -p tor-basic-utils ```
* chutney CI: get tor client port for arti-bench more robustlyJim Newsome2025-06-051-1/+2
| | | | | Use the new exported json metadata to get a tor client port instead of hard-coding it.
* CI: bump chutney commitJim Newsome2025-06-051-4/+2
| | | | | Also update the hard-coded tor client port here to match updates to the chutney network.
* CI: pin to a slightly older nightly to work around ICENick Mathewson2025-05-291-2/+2
| | | | | | | | ICE issue appears to be https://github.com/rust-lang/rust-clippy/issues/14889 Noted by @opara at https://gitlab.torproject.org/tpo/core/arti/-/issues/2009#note_3204929
* gitlab-ci.yml: Update "RECENT_RUST_IMAGE" to 1.86.Nick Mathewson2025-05-131-1/+1
|
* gitlab-ci: bump minimal-versions test to 1.83.Nick Mathewson2025-05-131-1/+1
|
* Use rust:1.86-alpine-3.21 for reproducible builds.Nick Mathewson2025-05-071-1/+1
| | | | | | | | | | This is sufficient to stop the osxcross errors ``` error: no member named 'lseek64' in the global namespace ``` that we encountered on our earlier attempt to increase our MSRV. Closes #1335.
* Bump shadow version used in CIJim Newsome2025-05-051-2/+2
| | | | | | | Mostly to get the `faccessat` fix in <https://github.com/shadow/shadow/pull/3578>. I don't *think* it's currently affecting these tests, but is a very confusing bug when it does bite.
* CI jobs: use tor package repositoryJim Newsome2025-05-051-0/+8
| | | | | It probably makes sense to test against a version of c-tor that we still support.
* Merge branch 'revert-workaround' into 'main'Jim Newsome2025-05-011-2/+2
|\ | | | | | | | | | | | | ci: bump shadow for EPOLLRDHUP fix Closes #1972 See merge request tpo/core/arti!2968
| * ci: bump shadow for EPOLLRDHUP fixJim Newsome2025-04-281-2/+2
| | | | | | | | Fixes #1972
* | Merge branch 'dev/cve/wildcard_check' into 'main'opara2025-04-301-0/+1
|\ \ | |/ |/| | | | | | | | | maint: Check for wildcard requirements Closes #1918 See merge request tpo/core/arti!2954
| * maint: Check for wildcard requirementsClara Engler2025-04-291-0/+1
| | | | | | | | | | | | | | | | This commit adds a script that checks all Cargo.toml files whether a version requirement contains a wildcard, that is, a version containing a "*" preceded by an arbitrary amount of digits and dots. Fixes #1918
* | ci: upgrade shadow version to get TCP FIN fixSteven Engler2025-04-241-3/+2
|/
* tor-circmgr: removed "ntor_v3" feature flagSteven Engler2025-04-011-1/+1
| | | | ntor v3 is now always enabled.
* integration-chutney-shadow: save tor logsJim Newsome2025-03-311-0/+4
|
* CI: bump shadow versionJim Newsome2025-03-311-3/+3
| | | | | | Bump to today's latest - 24343d0ef1da38e2e9fe6684bdffe3cf32c1153d. Primarily to get determinism fix https://github.com/shadow/shadow/pull/3542.
* Upgrade to cbindgen 0.28.0Nick Mathewson2025-03-301-1/+1
|
* maint: Make matrix-check run in parallel in CI.Wesley Aptekar-Cassels2025-03-041-1/+9
| | | | | | | | | | | | We should ideally do this for every-crate as well, but since that's written in bash, it's a little more annoying to do. The options there are either to rewrite it in python (probably good to do anyways) or to modify the list_crates script to move the parallelization in there (useful since it lets us reuse code, but doing that with a generator is likely not possible). For now I'm just going to file a ticket to do that and go back to working on stuff i actually should be doing :) Fixes: #1625
* CI: use Dependency Proxy when availableJérôme Charaoui2025-02-191-10/+19
| | | | | | | | | | | | | | | | | | This sets up CI to allow the use of the GitLab Dependency Proxy which caches images pulled from DockerHub, in order to bypass rate-limiting. The DOCKER_REGISTRY_URL variable is set dynamically by the check_dependency_proxy_access job defined in dependency_proxy.yml such that only pipelines triggered by users with the requisite access will be configured to use the proxy, while all others will continue to pull from DockerHub as before. When DOCKER_REGISTRY_URL is pre-set in a project's CI/CD variable settings, the extra job is skipped and the dependency proxy is used always, unconditionally. To avoid breaking CI pipelines on 3rd-party GitLab instances, we only include the dependency proxy template on gitlab.tpo
* docs: Only mv coverage directory if it's available.Alexander Hansen Færøy2025-01-301-1/+1
| | | | This is useful when testing just the publish target.
* docs: Simplify command.Alexander Hansen Færøy2025-01-301-1/+1
|