Skip to content

Commit acbc684

Browse files
authored
ci: move cache job to python3.13 for memory issue (#4713)
* ci: move cache job to 3.13 for memory issue Cache job is getting killed early, I think because we're running out of memory because the sheer number of CVEs has gotten too large. Things seem to work better on python 3.13 (likely due to other memory improvements) so this is an attempt at a temporary workaround while we address the underlying issue. * ci: force longtests to skip temporarily We're stuck in a loop: the longtests can't run because the cache job failed, but I can't fix the cache job because the longtests won't pass. This should help us break out of the loop for now until the repo settings can be changed. Signed-off-by: Terri Oda <terri.oda@intel.com>
1 parent 3029cb0 commit acbc684

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/testing.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,17 +209,21 @@ jobs:
209209
python-version: '3.10'
210210
cache: 'pip'
211211

212-
- name: "Skip tests if this is an automated sbom job"
213-
env:
214-
COMMIT_VAR: ${{ startsWith(github.head_ref, 'chore-sbom-py') && github.event.pull_request.user.login == 'github-actions[bot]' }}
212+
# - name: "Skip tests if this is an automated sbom job"
213+
# env:
214+
# COMMIT_VAR: ${{ startsWith(github.head_ref, 'chore-sbom-py') && github.event.pull_request.user.login == 'github-actions[bot]' }}
215+
# run: |
216+
# if ${COMMIT_VAR} == true; then
217+
# echo "sbom=true" >> $GITHUB_ENV
218+
# echo "sbom set to true"
219+
# else
220+
# echo "sbom=false" >> $GITHUB_ENV
221+
# echo "sbom set to false"
222+
# fi
223+
#
224+
- name: "FIXME: Skip tests so we can break out of failure loop"
215225
run: |
216-
if ${COMMIT_VAR} == true; then
217226
echo "sbom=true" >> $GITHUB_ENV
218-
echo "sbom set to true"
219-
else
220-
echo "sbom=false" >> $GITHUB_ENV
221-
echo "sbom set to false"
222-
fi
223227
224228
- name: Get date
225229
id: get-date

.github/workflows/update-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3434
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3535
with:
36-
python-version: '3.10'
36+
python-version: '3.13'
3737
cache: 'pip'
3838
- name: Get date
3939
id: get-date

0 commit comments

Comments
 (0)