summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* docs: Reorder deployment commands for making the old site available.Alexander Hansen Færøy2025-01-301-4/+7
|
* docs: Build Docusaurus website as part of our CI pipeline for scheduled ↵Alexander Hansen Færøy2025-01-301-3/+13
| | | | website builds.
* CI: Update RECENT_RUST_IMAGE to 1.83.Nick Mathewson2025-01-071-1/+1
|
* gitlab-ci: pin some python tool versions.Nick Mathewson2025-01-051-1/+4
|
* CI: allow the python3-checks job to passIan Jackson2025-01-021-0/+1
| | | | | I don't know how to pin the versions as I request in #1788. Tolerate the failure for now.
* .gitlab-ci.yml: pin to cbindgen 0.27.0Nick Mathewson2024-12-111-1/+1
| | | | | | | | This will help us avoid bugs related to using multiple versions in the future. (From time to time, we should upgrade to more recent versions as they become available.)
* Use TPA-maintained debian imageJim Newsome2024-12-041-2/+4
| | | | | | This is primarily to reduce usage of our dockerhub pull quota. See https://gitlab.torproject.org/tpo/tpa/team/-/wikis/service/ci#tpa-maintained-images
* chutney CI: use virtualenvs instead of --break-system-packagesJim Newsome2024-11-061-5/+6
| | | | | This doesn't actually matter much when run in CI, but provides a better example for running locally.
* CI: Use pip to install chutney directly from remote repositoryJim Newsome2024-11-061-19/+9
|
* Replace CHUTNEY_PATH with CHUTNEY_BINJim Newsome2024-11-061-2/+0
| | | | | | We no longer need a path to a checkout of the chutney repository; we just need the chutney binary itself. We still allow this to be set explicitly with CHUTNEY_BIN, but fall back to finding it on the PATH.
* CI: bump chutney versionJim Newsome2024-11-061-1/+1
| | | | | This will let us simplify chutney installation, which will be done in a follow-up commit.
* CI python3-checks: Don't install redundant python packagesJim Newsome2024-11-051-1/+1
| | | | | We install recent mypy and flake8 packages from pypy below; we don't need to also install from apt.
* CI: add sections to the rust-recent jobsJim Newsome2024-11-041-0/+13
| | | | | | This will make it a bit easier to look through the output in the gitlab UI, particularly making it easier to see where time is being spent in these long-running jobs.
* integration-shadow; reorganize slightly and ad better section headingsJim Newsome2024-11-041-9/+7
|
* Replace maint/ci_log_span with maint/ci_log_span_fns.shJim Newsome2024-11-041-2/+4
| | | | | | | | | | | Provide functions for starting and ending spans instead of the script doing it itself. The current version of the functions are directly from the gitlab documentation <https://docs.gitlab.com/ee/ci/jobs/job_logs.html#custom-collapsible-sections>. This is currently functionally similar to what was here before, but using functions here will let us make this a bit more convenient, which will be done in a follow-up commit.
* CI: enable timestamps in job log linesJim Newsome2024-11-041-0/+2
| | | | | | This will let us more easily see where time is being spent. https://docs.gitlab.com/ee/ci/jobs/job_logs.html#job-log-timestamps
* 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.