File tree Expand file tree Collapse file tree 8 files changed +21
-104
lines changed Expand file tree Collapse file tree 8 files changed +21
-104
lines changed Original file line number Diff line number Diff line change 1212 # types: [opened, synchronize, reopened]
1313 # branches: [develop]
1414 schedule :
15- - cron : " 5 0 * * 0"
15+ - cron : " 5 0 * * 0" # every Sunday at 00:05
16+ workflow_dispatch : # allow to manually trigger the workflow
1617
1718concurrency :
1819 group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
3031jobs :
3132 build-ci-docker-images :
3233 name : build-ci-docker-images
34+ if : github.ref == 'refs/heads/develop'
3335 runs-on : [self-hosted, ernie-8gpu]
3436 outputs :
3537 run_build : ${{ steps.set_flags.outputs.run_build }}
7577 git fetch origin pull/${PR_ID}/head
7678 git checkout -b PR_${PR_ID} FETCH_HEAD
7779 git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
78- git fetch upstream ${BRANCH}
80+ git fetch upstream ${BRANCH}:${BRANCH}
7981 git merge ${BRANCH} --no-edit
8082 git diff --numstat ${BRANCH} -- | awk "{print \$NF}"
8183 else
Original file line number Diff line number Diff line change 11name : Build Whl CE
22
3- on : [push]
4-
3+ on :
4+ push :
5+ branches :
6+ - develop
7+
58concurrency :
69 group : build-${{ github.workflow }}
710 cancel-in-progress : true
3134 work_dir : ${{ github.workspace }}
3235 FLAGS_dynamic_static_unified_comm : " True"
3336 python_version : " 3.10"
34- paddle_whl : https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-GpuSome-LinuxCentos-Gcc82-Cuda118-Cudnn86-Trt85-Py310-CENN-Compile/latest/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
37+ paddle : https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-GpuSome-LinuxCentos-Gcc82-Cuda118-Cudnn86-Trt85-Py310-CENN-Compile/latest/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
3538 run : |
3639 container_name=${TASK}-$(date +%Y%m%d-%H%M%S)
3740 echo "container_name=${container_name}" >> "$GITHUB_ENV"
4649 -e ce_scripts \
4750 -e no_proxy \
4851 -e CE_name \
49- -e paddle_whl \
52+ -e paddle \
5053 -e FLAGS_dynamic_static_unified_comm \
5154 -e python_version \
5255 -w /workspace --runtime=nvidia $IMAGE_NAME
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Deadlink CE
22
33on :
44 schedule :
5- - cron : " 0 16 * * 1"
5+ - cron : " 0 8 * * 6" # every Saturday at 6:00 AM
6+ workflow_dispatch : # allow to manually trigger the workflow
67
78concurrency :
89 group : deadlink-${{ github.workflow }}
@@ -22,6 +23,7 @@ defaults:
2223jobs :
2324 deadlink-ce :
2425 name : deadlink-ce
26+ if : github.ref == 'refs/heads/develop'
2527 runs-on : [self-hosted, ernie-8gpu]
2628 steps :
2729 - name : Determine Image Name
8385 ln -sf $(which python${python_version}) /usr/bin/python3
8486 pip config set global.cache-dir "/home/.cache/pip"
8587 set -e
86- cd /workspace/PaddleFormers && git config --global --add safe.directory $PWD
8788 python -m pip install beautifulsoup4 openpyxl
8889 bash run.sh PaddleFormers develop [email protected] PaddleFormers死链检测汇总报告 8990 '
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Unittest GPU CE
22
33on :
44 schedule :
5- - cron : " 0 16 * * 0"
5+ - cron : " 0 6 * * 6"
6+ workflow_dispatch : # allow to manually trigger the workflow
67
78concurrency :
89 group : unittest-${{ github.workflow }}
@@ -24,6 +25,7 @@ defaults:
2425jobs :
2526 unittest-gpu-ce :
2627 name : unittest-gpu-ce
28+ if : github.ref == 'refs/heads/develop'
2729 runs-on : [self-hosted, ernie-8gpu]
2830 steps :
2931 - name : Determine Image Name
8183 pip config set global.cache-dir "/home/.cache/pip"
8284 set -e
8385 cd /workspace/PaddleFormers && git config --global --add safe.directory $PWD
84- timeout 1h bash scripts/unit_test/ci_unit.sh ${paddle} true
86+ timeout 2h bash scripts/unit_test/ci_unit.sh ${paddle} true
8587 '
8688
8789 - name : Upload Allure-reports & Logs
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6161 git fetch origin pull/${PR_ID}/head
6262 git checkout -b PR_${PR_ID} FETCH_HEAD
6363 git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
64- git fetch upstream ${BRANCH}
64+ git fetch upstream ${BRANCH}:${BRANCH}
6565 git merge ${BRANCH} --no-edit
6666 git diff --numstat ${BRANCH} -- | awk "{print \$NF}"
6767 else
Original file line number Diff line number Diff line change @@ -2,11 +2,8 @@ name: Unittest GPU CI
22
33on :
44 pull_request :
5- branches :
6- - develop
7- - ' release*'
85 schedule :
9- - cron : " 4 0 * * *"
6+ - cron : " 3 0 * * *"
107 workflow_call :
118 inputs :
129 run_downstream :
10198 git fetch origin pull/${PR_ID}/head
10299 git checkout -b PR_${PR_ID} FETCH_HEAD
103100 git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
104- git fetch upstream ${BRANCH}
101+ git fetch upstream ${BRANCH}:${BRANCH}
105102 git merge ${BRANCH} --no-edit
106103 git diff --numstat ${BRANCH} -- | awk "{print \$NF}"
107104 else
You can’t perform that action at this time.
0 commit comments