Skip to content

Commit ece35ad

Browse files
[CI] Remove artifacts cleanup task (#10230)
Keep pre-/post-commit artifacts for three days for now and keep nightly for the maximum possible period of 90 days. I also plan to create a *rolling* 'last-successful-nightly' tag and retire our current nightly releases after that.
1 parent f1986b4 commit ece35ad

File tree

4 files changed

+13
-32
lines changed

4 files changed

+13
-32
lines changed

.github/workflows/sycl_cleanup.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ on:
8282
description: 'Merge default branch after the checkout'
8383
type: boolean
8484
default: true
85+
retention-days:
86+
description: 'Artifacts retention period'
87+
type: string
88+
default: 3
8589

8690
jobs:
8791
build:
@@ -197,6 +201,7 @@ jobs:
197201
with:
198202
name: sycl_linux_${{ inputs.build_artifact_suffix }}
199203
path: ${{ inputs.artifact_archive_name }}
204+
retention-days: ${{ inputs.retention-days }}
200205

201206
aws-start:
202207
name: Start AWS

.github/workflows/sycl_nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
build_artifact_suffix: default-2204
2828
build_configure_extra_args: '--hip --cuda --enable-esimd-emulator'
2929
merge: false
30+
retention-days: 90
3031

3132
ubuntu2204_opaque_pointers_build_test:
3233
if: github.repository == 'intel/llvm'
@@ -44,6 +45,8 @@ jobs:
4445
name: Windows
4546
if: github.repository == 'intel/llvm'
4647
uses: ./.github/workflows/sycl_windows_build_and_test.yml
48+
with:
49+
retention-days: 90
4750

4851
ubuntu2204_docker_build_push:
4952
if: github.repository == 'intel/llvm'

.github/workflows/sycl_windows_build_and_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
artifact_archive_name:
2727
type: string
2828
default: llvm_sycl.tar.gz
29+
retention-days:
30+
description: 'Artifacts retention period'
31+
type: string
32+
default: 3
2933

3034
jobs:
3135
build:
@@ -122,6 +126,7 @@ jobs:
122126
with:
123127
name: sycl_windows_default
124128
path: ${{ inputs.artifact_archive_name }}
129+
retention-days: ${{ inputs.retention-days }}
125130

126131
e2e-tests:
127132
needs: build

0 commit comments

Comments
 (0)