Skip to content

Commit

Permalink
add more artifact sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 13, 2023
1 parent 8511d0c commit c220d44
Showing 1 changed file with 26 additions and 8 deletions.
34 changes: 26 additions & 8 deletions .github/workflows/conda-cpp-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@ jobs:
- name: (testing) generate artifacts
run: |
mkdir -p ./artifacts
head -c 1000000 /dev/urandom > "./artifacts/1mb.bin"
head -c 10000000 /dev/urandom > "./artifacts10mb.bin"
head -c 100000000 /dev/urandom > "./artifacts/100mb.bin"
head -c 1000000000 /dev/urandom > "./artifacts/1gb.bin"
head -c 10000000000 /dev/urandom > "./artifacts/10gb.bin"
head -c 1000000 /dev/urandom > "./artifacts/1mb.bin"
head -c 10000000 /dev/urandom > "./artifacts/10mb.bin"
head -c 100000000 /dev/urandom > "./artifacts/100mb.bin"
head -c 500000000 /dev/urandom > "./artifacts/500mb.bin"
head -c 1000000000 /dev/urandom > "./artifacts/1gb.bin"
head -c 2000000000 /dev/urandom > "./artifacts/2gb.bin"
head -c 5000000000 /dev/urandom > "./artifacts/5gb.bin"
ls -alF .
echo "-----"
ls -alF "./artifacts"
Expand Down Expand Up @@ -132,6 +134,14 @@ jobs:
path: "artifacts/100mb.bin"
retention-days: 1
if-no-files-found: error
- name: (testing) upload 500MB artifact
if: "!cancelled()"
uses: actions/upload-artifact@v3
with:
name: "${{ env.RAPIDS_ARTIFACT_PREFIX }}-500mb"
path: "artifacts/500mb.bin"
retention-days: 1
if-no-files-found: error
- name: (testing) upload 1GB artifact
if: "!cancelled()"
uses: actions/upload-artifact@v3
Expand All @@ -140,12 +150,20 @@ jobs:
path: "artifacts/1gb.bin"
retention-days: 1
if-no-files-found: error
- name: (testing) upload 10GB artifact
- name: (testing) upload 2GB artifact
if: "!cancelled()"
uses: actions/upload-artifact@v3
with:
name: "${{ env.RAPIDS_ARTIFACT_PREFIX }}-2gb"
path: "artifacts/2gb.bin"
retention-days: 1
if-no-files-found: error
- name: (testing) upload 5GB artifact
if: "!cancelled()"
uses: actions/upload-artifact@v3
with:
name: "${{ env.RAPIDS_ARTIFACT_PREFIX }}-10gb"
path: "artifacts/10gb.bin"
name: "${{ env.RAPIDS_ARTIFACT_PREFIX }}-5gb"
path: "artifacts/5gb.bin"
retention-days: 1
if-no-files-found: error
- name: (testing) upload bundle of test artifacts
Expand Down

0 comments on commit c220d44

Please sign in to comment.