Skip to content

Commit 9a93df9

Browse files
authored
Rollup merge of rust-lang#46354 - Mark-Simulacrum:alt-try, r=alexcrichton
Deploy builds both with asserts enabled and asserts disabled to CI. This also removes uploads to the 'try' bucket, and instead dumps everything into the two rustc-builds and rustc-builds-alt buckets. This makes lives easier, as there is only one location for a given "type" of build, and since we have the git commit hash in the filenames, this is fine; we won't run into uploads of the same commit. cc @aidanhs -- this will break crater's logic for downloading `try#xxx` commits since the try bucket won't be uploaded into r? @alexcrichton
2 parents 1e49d4a + 2485afa commit 9a93df9

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

.travis.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix:
1616
if: type = pull_request OR branch = auto
1717

1818
- env: IMAGE=dist-x86_64-linux DEPLOY=1
19-
if: branch = auto
19+
if: branch = try OR branch = auto
2020

2121
# "alternate" deployments, these are "nightlies" but have LLVM assertions
2222
# turned on, they're deployed to a different location primarily for
@@ -309,22 +309,39 @@ deploy:
309309
branch: auto
310310
condition: $DEPLOY = 1
311311

312+
# this is the same as the above deployment provider except that it uploads to
313+
# a slightly different directory and has a different trigger
312314
- provider: s3
313315
bucket: rust-lang-ci2
314316
skip_cleanup: true
315317
local_dir: deploy
316-
upload_dir: rustc-builds-try
318+
upload_dir: rustc-builds-alt
317319
acl: public_read
318320
region: us-west-1
319321
access_key_id: AKIAJVBODR3IA4O72THQ
320322
secret_access_key:
321323
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
322324
on:
323-
branch: try
325+
branch: auto
324326
condition: $DEPLOY_ALT = 1
325327

326-
# this is the same as the above deployment provider except that it uploads to
327-
# a slightly different directory and has a different trigger
328+
# These two providers are the same as the two above, except deploy on the
329+
# try branch. Travis does not appear to provide a way to use "or" in these
330+
# conditions.
331+
- provider: s3
332+
bucket: rust-lang-ci2
333+
skip_cleanup: true
334+
local_dir: deploy
335+
upload_dir: rustc-builds
336+
acl: public_read
337+
region: us-west-1
338+
access_key_id: AKIAJVBODR3IA4O72THQ
339+
secret_access_key:
340+
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
341+
on:
342+
branch: try
343+
condition: $DEPLOY = 1
344+
328345
- provider: s3
329346
bucket: rust-lang-ci2
330347
skip_cleanup: true
@@ -336,5 +353,5 @@ deploy:
336353
secret_access_key:
337354
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
338355
on:
339-
branch: auto
356+
branch: try
340357
condition: $DEPLOY_ALT = 1

0 commit comments

Comments
 (0)