Skip to content

Commit a7ca891

Browse files
alessandrodLucasSte
authored andcommitted
[SOL] CI: speed up PR runs
Deploy new sccache with support for SCCACHE_S3_NO_CREDENTIALS
1 parent d05f5ec commit a7ca891

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/ci/docker/host-x86_64/sbf-solana-solana/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2121

2222
RUN PATH="${HOME}/.cargo/bin:${PATH}" \
2323
cargo install --git https://github.com/solana-labs/cargo-run-bpf-tests.git \
24-
--rev 4cae9c0 \
24+
--rev 3d628c7 \
2525
--bin cargo-run-bpf-tests --root /usr/local
2626

2727
COPY scripts/sccache.sh /scripts/

src/ci/docker/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ args=
213213
if [ "$SCCACHE_BUCKET" != "" ]; then
214214
args="$args --env SCCACHE_BUCKET"
215215
args="$args --env SCCACHE_REGION"
216+
args="$args --env SCCACHE_S3_NO_CREDENTIALS"
216217
args="$args --env AWS_ACCESS_KEY_ID"
217218
args="$args --env AWS_SECRET_ACCESS_KEY"
218219
args="$args --env AWS_REGION"

src/ci/docker/scripts/sccache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -ex
66

77
case "$(uname -m)" in
88
x86_64)
9-
url="https://cached-ci-artifacts.s3.us-east-2.amazonaws.com/sccache-bc014e0-x86_64-unknown-linux-musl"
9+
url="https://cached-ci-artifacts.s3.us-east-2.amazonaws.com/sccache-5d2a373-x86_64-unknown-linux-musl"
1010
;;
1111
aarch64)
1212
url="https://ci-mirrors.rust-lang.org/rustc/2021-08-25-sccache-v0.2.15-aarch64-unknown-linux-musl"

src/ci/github-actions/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ x--expand-yaml-anchors--remove:
3939
- &public-variables
4040
SCCACHE_BUCKET: cached-ci-artifacts
4141
SCCACHE_REGION: us-east-2
42+
SCCACHE_S3_NO_CREDENTIALS: 1
4243
TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
4344
CACHE_DOMAIN: cached-ci-artifacts.s3.us-east-2.amazonaws.com
4445

0 commit comments

Comments
 (0)