Skip to content

Commit d21da81

Browse files
Chore/update scripts floder (#2660)
1 parent 804acdd commit d21da81

16 files changed

+404
-679
lines changed

.github/workflows/ce-build-ci-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build-ci-images-test:
1717
name: build-ci-images-test
1818
if: github.ref == 'refs/heads/develop'
19-
uses: ./.github/workflows/ce-build-images.yaml
19+
uses: ./.github/workflows/ce-build-images.yml
2020
with:
2121
flag_build: test
2222
runner: ernie-8gpu-2
@@ -45,7 +45,7 @@ jobs:
4545
update-ci-images-1:
4646
name: update-ci-images-1
4747
needs: [build-ci-images-test, test-ci-images]
48-
uses: ./.github/workflows/ce-build-images.yaml
48+
uses: ./.github/workflows/ce-build-images.yml
4949
with:
5050
flag_build: update
5151
runner: ernie-8gpu-1
@@ -54,7 +54,7 @@ jobs:
5454
update-ci-images-2:
5555
name: update-ci-images-2
5656
needs: [build-ci-images-test, test-ci-images]
57-
uses: ./.github/workflows/ce-build-images.yaml
57+
uses: ./.github/workflows/ce-build-images.yml
5858
with:
5959
flag_build: update
6060
runner: ernie-8gpu-2

.github/workflows/ce-build-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
docker rmi "$img" || true
111111
done
112112
# mv test image to latest or new build latest
113-
if docker images --format '{{.Repository}}:{{.Tag}}' | grep 'test-$(date +%Y%m%d)'; then
113+
if docker images --format '{{.Repository}}:{{.Tag}}' | grep 'test'; then
114114
echo "mv test image to latest, no need to build"
115115
docker tag "$img" "${image_name}"
116116
docker rmi "$img" || true

.github/workflows/ce-build-wh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
pip config set global.cache-dir "/home/.cache/pip"
7474
set -e
7575
cd /workspace/PaddleFormers && git config --global --add safe.directory $PWD
76-
bash scripts/regression/build.sh
76+
bash scripts/dependence/build.sh
7777
'
7878
7979
- name: Upload Products

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ __pycache__/
1010
.Python
1111
build/
1212
build*
13-
!scripts/regression/build.sh
13+
!scripts/dependence/build.sh
1414
develop-eggs/
1515
dist/
1616
downloads/

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,3 @@ deploy-paddleformers:
6868
python3 setup.py sdist bdist_wheel
6969
# upload
7070
twine upload --skip-existing dist/*
71-
72-
.PHONY: regression-all
73-
release:
74-
bash ./scripts/regression/run_release.sh 0 0,1 all
75-
76-
.PHONY: regression-key
77-
key:
78-
bash ./scripts/regression/run_release.sh 0 0,1 p0
File renamed without changes.

scripts/regression/README.md

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

scripts/regression/ci_normal_case.py

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

scripts/regression/requirements_ci.txt

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

0 commit comments

Comments
 (0)