fix brackets on docker ci builds, add option to skip e2e builds [skip e2e] (#2080) [skip ci]

This commit is contained in:
Wing Lian
2024-11-19 10:29:31 -05:00
committed by GitHub
parent 775311f98f
commit a77c8a71cf
4 changed files with 7 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ jobs:
find "$(pip cache dir)/http-v2" -type f -mtime +14 -exec rm {} \;
docker-e2e-tests-1st:
if: github.repository_owner == 'axolotl-ai-cloud'
if: ${{ ! contains(github.event.commits[0].message, '[skip e2e]') && github.repository_owner == 'axolotl-ai-cloud' }}
# this job needs to be run on self-hosted GPU runners...
runs-on: [self-hosted, modal]
timeout-minutes: 90