mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Keep log files
This commit is contained in:
parent
0ed434fbeb
commit
5fbc0faea3
1 changed files with 7 additions and 1 deletions
|
@ -25,6 +25,9 @@ def main():
|
|||
# ~
|
||||
|
||||
|
||||
build_artifacts_expiry = "1 week"
|
||||
log_artifacts_expiry = "1 year"
|
||||
|
||||
# https://docs.taskcluster.net/docs/reference/workers/docker-worker/docs/caches
|
||||
cache_scopes = [
|
||||
"docker-worker:cache:cargo-*",
|
||||
|
@ -35,7 +38,6 @@ def main():
|
|||
"cargo-rustup": "/root/.rustup",
|
||||
"cargo-sccache": "/root/.cache/sccache",
|
||||
}
|
||||
build_artifacts_expiry = "1 week"
|
||||
build_env = {
|
||||
"RUST_BACKTRACE": "1",
|
||||
"RUSTFLAGS": "-Dwarnings",
|
||||
|
@ -97,6 +99,10 @@ def main():
|
|||
--fail \
|
||||
| tar -xz
|
||||
"""
|
||||
kwargs.setdefault("artifacts", []).extend(
|
||||
("/repo/" + word, log_artifacts_expiry)
|
||||
for word in script.split() if word.endswith(".log")
|
||||
)
|
||||
decision.create_task(
|
||||
script=fetch_build + script,
|
||||
env=dict(**env or {}, BUILD_TASK_ID=release_build_task),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue