Граф коммитов

104 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru c6f0d76d30 docs: move gcs into its own files 2022-12-11 21:11:59 +01:00
Sylvestre Ledru 04599c7e1a docs: move memcached into its own files 2022-12-11 21:11:59 +01:00
Sylvestre Ledru ce22788027 docs: move redis into its own files 2022-12-11 21:11:59 +01:00
Sylvestre Ledru e153a71c8d docs: move s3 into its own files 2022-12-11 21:11:59 +01:00
Xuanwo 4d9b309c42 docs: Enrich docs for s3 services
Signed-off-by: Xuanwo <github@xuanwo.io>
2022-12-11 16:50:26 +01:00
Jacob Lee 4bda1c75dc Update README.md to explain GHA cache behavior 2022-12-03 10:52:34 +01:00
Jacob Lee 1ecd50d835 Update gha-toolkit and docs 2022-11-30 16:38:53 +01:00
Sylvestre Ledru a01a82fa0b update to Rust 1.60 as minimal version 2022-11-27 09:04:24 +01:00
Connor Sheehan 83ab5f48a4 readme: remove `#` from shields.io url 2022-11-22 21:20:36 +01:00
Sylvestre Ledru c9fea3c652 Improve the doc 2022-11-19 18:49:01 +01:00
messense a02b256c69 Make `SCCACHE_S3_USE_SSL` optional
so that `SCCACHE_ENDPOINT` alone can control https or http scheme
2022-11-19 18:49:01 +01:00
messense 49e665f3fc Bring back `SCCACHE_S3_USE_SSL` 2022-11-19 18:49:01 +01:00
Alessandro Decina 6cdb1259ef New S3 backend
The backend uses the official AWS SDK for Rust. It supports SCCACHE_BUCKET,
SCCACHE_REGION and SCCACHE_ENDPOINT like the old backend.  It does not support
SCCACHE_S3_USE_SSL.

The backend adds support for a new SCCACHE_S3_NO_CREDENTIALS key that can be
set to implement a readonly cache that does not require AWS credentials at all.
This is useful to speed up public pull request builds that typically can't
access AWS credentials for security reasons.
2022-11-14 18:05:36 +01:00
Sylvestre Ledru bd46ba0303 with gcs: document the process 2022-11-12 20:32:47 +01:00
Sylvestre Ledru 35839de15e
Add badges 2022-11-11 18:56:21 +01:00
Brian Silverman e818668677 Change build to server 2022-06-16 18:07:45 +02:00
Brian Silverman 4f77c0e630 State local storage is not concurrent
After reading all the docs, I came away with the impression that the local storage may be safely used concurrently. I tried that, and it almost worked, until it filled it. Clarifying this should fix #407 and help future users avoid this problem.
2022-06-16 18:07:45 +02:00
Jonathan Schwender 5032a8303c
Increase the MSRV and bump dependencies (#1137)
* Bump the MSRV to 1.58

Bumps the official MSRV to 1.58.
This is likely more than required the upcoming version bumps.

* Upgrade cargo zstd to 0.10

* Bump serial_test to v0.6

Changelog does not mention any breaking changes.

* Bump blake to v1

* Bump rouille to 3.5

Required to bump syslog to v6, since otherwise no common version
can be selected for `time`

* Bump syslog to v6

No changelog available. Depends on rouille bump to 3.5, to get a
common version of ´time´.

* Upgrade JWT to v8

The explicit insecure decode method was removed and replaced by
an option for the Validation struct.
The `exp` field had to be added to JobJwt, since otherwise the validation would fail at runtime.
Apparently the `exp` field is required now, even if the valdiation of `exp` is turned off.
2022-05-05 10:47:19 -04:00
Yi Zhang 14a3a9dfb0
add one option to continue building even there's any server errors. (#1090)
* add opiton to ignore all server errors

* update as comments

* fix lint

* Update src/commands.rs

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>

* print unexpected io error

* Revert "Update src/commands.rs"

This reverts commit 878988e4eb.

* update as Mitchell's comments

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2022-02-11 12:16:50 -05:00
Hongli Lai b0b5596227
Support Azure Blob Storage key prefixes (#1109)
* Support Azure Blob Storage key prefixes

* Match AzureStorage location format with GCS

Co-authored-by: Mitchell Hentges <mitch9654@gmail.com>

* Fix tests, make Azure credentials parameter mandatory

* Fix rustfmt

Co-authored-by: Mitchell Hentges <mitch9654@gmail.com>
2022-02-11 11:09:27 -05:00
Toru Ogawa 610ddefbbc
GCP: Fix OAuth token format (#1108)
Co-authored-by: George Fraser <george@fivetran.com>
2022-02-05 10:44:47 +01:00
Hongli Lai 8178903d14
Support Google Cloud Storage bucket key prefixes (#1104)
* Support Google Cloud Storage bucket key prefixes

* Fix bugs, add tests
2022-02-01 15:25:58 +01:00
Tarekk Mohamed Abdalla 5b751f473e
fix issue in readme (#1101) 2022-01-28 08:38:58 +01:00
Alexander Sosedkin 50d0b1fc07 Add SCCACHE_C_CUSTOM_CACHE_BUSTER to CACHED_ENV_VARS
I needed a way to make hashes CWD-dependent,
and it feels ugly to use other variables names for that purpose.
2021-11-15 12:52:02 +01:00
Markus Westerlind 3a4987cdf8 chore: Make 1.48 the new minimum rust version 2021-11-13 17:42:52 +01:00
Arne Luenser 17ac3e14db Enable TLS support for Redis 2021-11-11 12:55:19 +01:00
Be cc4daa9a29 README: explain how to use /Zi with /Fd 2021-10-26 14:46:22 +02:00
Be 6256f4b9f9 README: document that sccache is incompatible with /Zi with MSVC 2021-10-26 14:46:22 +02:00
Xander 06303be19d
Make note of symlinks. (#1031)
* Make note of symlinks.

It took me awhile before figuring out I should use hardlinks instead of symlinks. This proposal suggests adding a note in the hope it'll save someone else a bit of time. 

See also this issue: https://github.com/mozilla/sccache/issues/993 where someone else also spent way too much time on this issue.
2021-10-26 11:31:04 +02:00
Igor Matuszewski 15b4c76579
Update README.md (#997)
It seems that the `gcs` feature doesn't depend on OpenSSL whereas `dist-server` still does, so update the README accordingly.
2021-10-26 11:07:25 +02:00
Be fdf159877c README: clarify how to debug on CI services 2021-03-10 15:30:16 +09:00
Mike Hommey e8c433713a Update CI badges 2021-01-14 18:55:23 +09:00
Mike Hommey 2832187ae7 Separate setting RUSTC_WRAPPER from running cargo build in the README 2020-12-11 11:50:45 +09:00
Mike Hommey d7eceb0ff0 Add a note about SCCACHE_RECACHE in the README 2020-12-11 10:56:03 +09:00
Mike Hommey daf2267242 Simplify the documented steps to build with static OpenSSL 2020-12-10 17:19:13 +09:00
ed neville 5ee4354c18 Typo: putting $HOME in code markers
Signed-off-by: ed neville <ed@s5h.net>
2020-12-10 11:30:23 +09:00
Mike Hommey 5e447094d0 Enable everything but dist-server by default 2020-12-10 10:17:57 +09:00
Mike Hommey cbb232a5a6 Bump minimum supported rust version to 1.43.0 because of tokio 0.3.5 2020-12-10 09:15:10 +09:00
Mike Hommey 3b340b31f8 Apply many fixes from `cargo clippy`
One of them requires rust 1.42.0, so bump to minimally support that.
Many of these fixes were lifted from PR #718.
2020-12-08 17:32:47 +09:00
Ryan Thomas 182c59ed60
Modify logging to use SCCACHE_LOG. (#822)
As per #810, modify env_logger to use the SCCACHE_LOG environment
variable instead of the RUST_LOG one. This is to enable control of
sccache logs whilst debugging other rust binaries.

Update docs for SCCACHE_LOG.

Fixes #810
2020-08-05 09:46:37 -04:00
Tim 711cd06d6c
Add known caveats section to readme (#815)
* Add known caveats section to readme

These are pretty serious limitations that I would have liked to read about rather than discover later! I also added an example for `RUST_LOG` so you don't have to go digging in the docs to learn how to use it.
2020-07-28 17:35:23 -04:00
Jakub Wieczorek 86c76c7c10
Add support for key prefixes when using S3 as the storage (#811)
The corresponding environment variable is `SCCACHE_S3_KEY_PREFIX`.
2020-07-21 10:26:53 -04:00
Eric Anholt f609dcb2ca Add a note for how to use sccache with cmake.
It feels like the obvious way would be to ask cmake to use "sccache
gcc" as CMAKE_C_COMPILER, but that option can't take arguments.  Leave
a note for the next person trying to figure it out.
2020-07-06 17:03:19 -04:00
Nicholas Nethercote 194a25f344 Some README tweaks. 2020-06-02 12:58:28 -04:00
Ted Mielczarek 98c62b5404 README cleanup and reorg. Fixes #727 and #630 2020-06-01 15:45:50 -04:00
Bernhard Schuster 32dc8b0abd bump minimum rust version to 1.41.1
Removes a chunk from the readme regarding a false positive
rustc-wrapper entry not being used, which is closed since 1.40.0 .
Cargo issue: https://github.com/rust-lang/cargo/issues/7745
2020-03-18 14:39:03 -04:00
BSKY 41a584c081 Add an installation instruction for macOS 2020-03-05 09:06:23 -05:00
Diogo Sousa 1a3c0def50 Add instructions on how to use cargo's configuration file to setup sccache. 2020-01-14 10:53:57 -05:00
Chris Manchester f324fb1292 Bump minimum rust version to 1.36.0 2019-12-12 13:58:10 -08:00
Alex Berghage a2cab6b35f feat: Support TLS in custom S3 endpoints
Since the `simples3` module already handles this (and it seems
the only logic flipped here is the url prefix), plumbing through
a config is a pretty quick change.
2019-11-14 13:19:46 -08:00