Skip to content

Commit

Permalink
Use Cloudflare as CI Cache
Browse files Browse the repository at this point in the history
Using Google Cloud creates very high egress cost.

This reverts commit f4081da.
  • Loading branch information
theduke committed Feb 6, 2023
1 parent 1387363 commit 9324e44
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
~/.cargo/*
./target/*
key: r22-${{ github.repository }}-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-wasmer-make-lint-linux-x64
aws-s3-bucket: wasmer-github-ci-cache
aws-access-key-id: ${{ secrets.GOOGLE_CACHE_ID }}
aws-secret-access-key: ${{ secrets.GOOGLE_CACHE_SECRET }}
aws-s3-bucket: wasmer-rust-artifacts-cache
aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}
aws-region: auto
aws-endpoint: https://storage.googleapis.com
aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
aws-s3-bucket-endpoint: false
aws-s3-force-path-style: true
- run: make lint
Expand Down Expand Up @@ -343,11 +343,11 @@ jobs:
./target/*
$CARGO_ROOT_DIR/*
key: r22-${{ github.repository }}-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-wasmer-make-build-wasmer-${{ matrix.build-what.key }}-${{ matrix.metadata.build }}
aws-s3-bucket: wasmer-github-ci-cache
aws-access-key-id: ${{ secrets.GOOGLE_CACHE_ID }}
aws-secret-access-key: ${{ secrets.GOOGLE_CACHE_SECRET }}
aws-s3-bucket: wasmer-rust-artifacts-cache
aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}
aws-region: auto
aws-endpoint: https://storage.googleapis.com
aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
aws-s3-bucket-endpoint: false
aws-s3-force-path-style: true
- name: Build C-API
Expand Down Expand Up @@ -518,11 +518,11 @@ jobs:
~/.cargo/*
./target/*
key: r22-${{ github.repository }}-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-wasmer-make-test-stage-${{ matrix.stage.make }}-${{ matrix.metadata.build }}
aws-s3-bucket: wasmer-github-ci-cache
aws-access-key-id: ${{ secrets.GOOGLE_CACHE_ID }}
aws-secret-access-key: ${{ secrets.GOOGLE_CACHE_SECRET }}
aws-s3-bucket: wasmer-rust-artifacts-cache
aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}
aws-region: auto
aws-endpoint: https://storage.googleapis.com
aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
aws-s3-bucket-endpoint: false
aws-s3-force-path-style: true
- name: ${{ matrix.stage.description }}
Expand Down Expand Up @@ -593,11 +593,11 @@ jobs:
~/.cargo/*
./target/*
key: r22-${{ github.repository }}-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-wasmer-make-test-integration-cli-${{ matrix.build }}
aws-s3-bucket: wasmer-github-ci-cache
aws-access-key-id: ${{ secrets.GOOGLE_CACHE_ID }}
aws-secret-access-key: ${{ secrets.GOOGLE_CACHE_SECRET }}
aws-s3-bucket: wasmer-rust-artifacts-cache
aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}
aws-region: auto
aws-endpoint: https://storage.googleapis.com
aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
aws-s3-bucket-endpoint: false
aws-s3-force-path-style: true
- name: Prepare package directory
Expand Down

0 comments on commit 9324e44

Please sign in to comment.