[Hot Fix] Resolve Skipper CI (#13670)
This commit is contained in:
parent
8e4514ed9e
commit
e3d1356e67
|
@ -17,6 +17,10 @@ pr:
|
|||
- "master"
|
||||
- "release/*"
|
||||
|
||||
variables:
|
||||
- name: continue
|
||||
value: '1'
|
||||
|
||||
jobs:
|
||||
- job: testing
|
||||
strategy:
|
||||
|
@ -39,8 +43,8 @@ jobs:
|
|||
steps:
|
||||
|
||||
- bash: |
|
||||
CHANGED_FILES=$(git diff --name-status master | awk '{print $2}')
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_'
|
||||
CHANGED_FILES=$(git diff --name-status origin/master -- . | awk '{print $2}')
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
|
||||
echo $CHANGED_FILES > changed_files.txt
|
||||
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
|
||||
echo $MATCHES
|
||||
|
|
|
@ -14,6 +14,10 @@ pr:
|
|||
- "master"
|
||||
- "release/*"
|
||||
|
||||
variables:
|
||||
- name: continue
|
||||
value: '1'
|
||||
|
||||
jobs:
|
||||
- job: testing
|
||||
# how long to run the job before automatically cancelling
|
||||
|
@ -26,8 +30,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- bash: |
|
||||
CHANGED_FILES=$(git diff --name-status master | awk '{print $2}')
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_'
|
||||
CHANGED_FILES=$(git diff --name-status origin/master -- . | awk '{print $2}')
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
|
||||
echo $CHANGED_FILES > changed_files.txt
|
||||
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
|
||||
echo $MATCHES
|
||||
|
|
|
@ -13,8 +13,10 @@ pr:
|
|||
- release/*
|
||||
|
||||
variables:
|
||||
- name: poplar_sdk
|
||||
value: "poplar_sdk-ubuntu_20_04-2.3.1+793-89796d462d"
|
||||
- name: poplar_sdk
|
||||
value: "poplar_sdk-ubuntu_20_04-2.3.1+793-89796d462d"
|
||||
- name: continue
|
||||
value: '1'
|
||||
|
||||
jobs:
|
||||
- job: testing
|
||||
|
@ -26,8 +28,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- bash: |
|
||||
CHANGED_FILES=$(git diff --name-status master | awk '{print $2}')
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_'
|
||||
CHANGED_FILES=$(git diff --name-status origin/master -- . | awk '{print $2}')
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
|
||||
echo $CHANGED_FILES > changed_files.txt
|
||||
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
|
||||
echo $MATCHES
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
id: skip
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_'
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
|
||||
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr " " "\n" > changed_files.txt
|
||||
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
|
||||
echo $MATCHES
|
||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
id: skip
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_'
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
|
||||
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr " " "\n" > changed_files.txt
|
||||
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
|
||||
echo $MATCHES
|
||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
id: skip
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_'
|
||||
FILTER='src/pytorch_lightning|requirements/pytorch|tests/tests_pytorch|examples/pl_*'
|
||||
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr " " "\n" > changed_files.txt
|
||||
MATCHES=$(cat changed_files.txt | grep -E $FILTER)
|
||||
echo $MATCHES
|
||||
|
|
Loading…
Reference in New Issue