summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* maint/add_warning: Scan all files by default, but insist only in someIan Jackson2022-06-241-1/+1
| | | | | | | This will allow us to have add_warning manage test lint blocks. We have to stop printing all the filenames because there are too many. Filenames still come out on error of course.
* ci: Pass --cfg ci_arti_stable to stable clippyIan Jackson2022-06-231-1/+1
| | | | We're going to use this to control lints etc.
* Merge branch 'ring_out_the_old' into 'main'Ian Jackson2022-06-171-0/+1
|\ | | | | | | | | Enforce no-ring-in-arti/full (and make it true) See merge request tpo/core/arti!592
| * Don't install cargo-tree: It's built-in.Nick Mathewson2022-06-161-2/+1
| |
| * Add script and CI to make sure `ring` doesn't show up in arti/fullNick Mathewson2022-06-161-1/+3
| | | | | | | | See arti#493.
* | gitlab-ci: Use lowercase tpa tag.Nick Mathewson2022-06-161-1/+1
|/ | | | Our gitlab admins are standardizing on this variant.
* Merge branch 'clippy' into 'main'Nick Mathewson2022-06-091-0/+1
|\ | | | | | | | | clippy: Allow dbg in tests *again* See merge request tpo/core/arti!575
| * clippy: Allow dbg in tests *again*Ian Jackson2022-06-081-0/+1
| | | | | | | | *sigh*
* | CI: Break out maint/via-cargo-installIan Jackson2022-06-081-7/+2
| |
* | CI: Break out some fastish Rust checks into new "build" stepIan Jackson2022-06-081-7/+15
| |
* | CI: Break out some fast checks using debian imageIan Jackson2022-06-081-3/+8
| |
* | maint/check_toposort: Run in CIIan Jackson2022-06-081-0/+2
|/
* Merge branch 'check-license-fixes' into 'main'Ian Jackson2022-06-021-0/+3
|\ | | | | | | | | | | | | Update check_licenses and add it to CI. Closes #462 See merge request tpo/core/arti!559
| * Add check_licenses to CI.Nick Mathewson2022-05-311-0/+3
| | | | | | | | | | The artifact-caching logic is taken from other examples in the .gitlab-ci.yml.
* | maint/add_warning: Run with --check in CIIan Jackson2022-05-311-0/+1
|/
* Lexically sort Cargo.toml dependenciesOrhun Parmaksız2022-05-281-0/+4
| | | | | | Utilize cargo-sort: https://github.com/DevinR528/cargo-sort Signed-off-by: Orhun Parmaksız <[email protected]>
* Merge branch 'standardise-shell' into 'main'Nick Mathewson2022-05-261-1/+2
|\ | | | | | | | | | | | | Standardise shell Closes #425 See merge request tpo/core/arti!533
| * make almost all scripts use bash and set euo pipefailtrinity-1686a2022-05-251-1/+2
| |
* | ci: set umask instead of ARTI_FS_DISABLE_PERMISSION_CHECKSAlex Xu (Hello71)2022-05-251-6/+7
|/
* Update Gitlab CI config for Gitlab 14.10eta2022-05-231-1/+3
| | | see https://gitlab.com/gitlab-org/gitlab/-/issues/344533
* Disable fs-mistrust in coverage CI.Nick Mathewson2022-05-101-0/+3
| | | | | The CI runners like to run as root with umask 000, which our code rightly freaks out about.
* Merge branch 'use-fs-mistrust'Nick Mathewson2022-05-091-0/+3
|\
| * gitlab-ci: Disable fs mistrust in integration testNick Mathewson2022-05-051-0/+3
| | | | | | | | | | | | The environment where the test runner does its thing seems to want to run as root with umask 000, which naturally makes the fs permissions checks freak out.
* | only deploy pages on maintrinity-1686a2022-05-051-1/+1
| |
* | add schedulable job to generate aggregated coveragetrinity-1686a2022-05-051-6/+45
|/
* CI: Check that the lockfile is up to date.Ian Jackson2022-05-041-1/+1
| | | | | | | | | | For at least one job, run the first cargo run with --locked. This will fail if the lockfile needs updating. I have verified that this correctly detects this situation: https://gitlab.torproject.org/Diziet/arti/-/pipelines/37692 failed. Now I have rebased this branch onto main to get the fix to Cargo.lock.
* Increase our MSRV to 1.56.Nick Mathewson2022-04-251-1/+1
| | | | | | | | | | | | | Our support policy says that we can update to any Rust released at least 6 months ago; 1.56 came out on 21 October 2021. This doesn't yet change any code: it just increases the version we say we need in our README, and the version we test against in CI. Our main justification for this change is to be able to upgrade to newer versions of our dependencies, including `async_executors` >= 0.5, `aes` >= 0.8, and `cipher` >= 0.4.
* use rustc 1.60 (stable) for coveragetrinity-1686a2022-04-071-3/+0
|
* add integration test and fill semver_statustrinity-1686a2022-03-141-2/+2
|
* tests/chutney: Merge chutney-launching scriptsNick Mathewson2022-03-101-1/+1
| | | | | | | | | Formerly, the "launch a chutney network" code was duplicated in "setup" and "arti-bench", since "setup" always launched an arti proxy, while "arti-bench" didn't want that functionality. Now the "setup" script launches an arti proxy conditionally, depending on whether the "proxy" argument is given.
* Reproducible build: Bump to Rust 1.59 and Alpine 3.15Nick Mathewson2022-03-041-1/+2
| | | | | | | | | | | | | | The Rust upgrade is necessary since our Cargo.lock file now requires `ed25519` 1.4.0, which requires edition2021, which requires Rust 1.56 or later. The Alpine upgrade is opportunistic: we might as well. I've also added comments to remind us to keep the .gitlab-ci.yml and docker_reproducible_build files in sync, since my first version of this commit messed that up. Closes #376.
* attempt at making CI fastertrinity-1686a2022-02-251-6/+7
| | | | | | | | | Move rust-nightly to stage test so it runs in parallel with coverage, which are the two longest jobs, and currently run in sequence. Don't document dependancies, should make the step about 50% faster Use about 12M of cache to not recompile grcov each time Don't compile grcov with coverage, we don't need it, it's probably slower both to compile and execute
* rename *.sh scripts to bare nameIan Jackson2022-02-181-7/+7
| | | | | | | | | As per #309 Update all references. There is one remaining hit for git-grep '\.sh\b' namely "build.sh" in maint/reproducible_build, which I think is the build script for osxcross - ie, an external project.
* Temporarily allow failures in the coverage CI.Nick Mathewson2022-02-091-0/+1
| | | | Right now it's failing on nightly through no fault of our own.
* Merge branch 'eta/arti-bench-ci' into 'main'eta2022-02-031-1/+7
|\ | | | | | | | | arti-bench: run the benchmarks in CI, and keep the results See merge request tpo/core/arti!283
| * arti-bench: run the benchmarks in CI, and keep the resultseta2022-02-031-1/+7
| | | | | | | | | | This adds `arti-bench` to the `integration` job in the CI pipelines, and keeps around the JSON benchmark output for later comparison.
* | Remove file ending of shellcheck_all and downgrade_dependencies scriptDaniel Schischkin2022-02-031-2/+3
|/
* Merge branch 'add-final-newline-force' into 'main'Nick Mathewson2022-02-031-1/+8
|\ | | | | | | | | Add editorconfig to force some rules (Final Newline) See merge request tpo/core/arti!289
| * Add editorconfig to force some rules (Final Newline)Daniel Schischkin2022-02-031-1/+8
| |
* | Temporarily disable some clippy lints on nightlyIan Jackson2022-02-021-1/+5
|/
* Merge branch 'ci-rustup-show' into 'main'eta2022-01-311-0/+4
|\ | | | | | | | | CI: Add "rustup show" to show compiler versions in logs See merge request tpo/core/arti!276
| * CI: Add "rustup show" to show compiler versions in logsIan Jackson2022-01-311-0/+4
| | | | | | | | | | | | Trying to debug the nightly failure here https://gitlab.torproject.org/Diziet/arti/-/pipelines/25417 and I can't seem to repro it.
* | Merge branch 'dedup-cobertura' into 'main'Nick Mathewson2022-01-311-1/+1
|\ \ | |/ |/| | | | | add postprocessing script to deduplicate cobertura reports See merge request tpo/core/arti!272
| * add postprocessing script to deduplicate cobertura reportstrinity-1686a2022-01-281-1/+1
| |
* | Remove redundancy/code duplication and switch to shellcheck_all.sh scriptDaniel Schischkin2022-01-291-1/+1
| |
* | Undo remove document-private-items argDaniel Schischkin2022-01-281-1/+1
| |
* | Remove argument document-private-items from nightly buildDaniel Schischkin2022-01-281-1/+1
| |
* | Add missing file ending for downgrade_dependencies in gitlab ciDaniel Schischkin2022-01-281-1/+1
| |
* | Add shellcheck step into build stageDaniel Schischkin2022-01-281-0/+6
|/
* Improve `coverage` job in CIarturomf942022-01-281-4/+1
|