Skip to content

Commit 5710078

Browse files
perf: v2.0.0 updates (#41)
1 parent 4aee748 commit 5710078

File tree

7 files changed

+30
-71
lines changed

7 files changed

+30
-71
lines changed

.github/workflows/pi_build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ permissions:
1414
jobs:
1515
call-pi-build:
1616
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_build.yml@dev
17+
if: github.event.pull_request.head.ref == 'parent-image-updates'
1718
secrets: inherit

.github/workflows/pi_merge.yml

Lines changed: 7 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55

66
pull_request:
77
types: [closed]
8+
branches:
9+
- dev
10+
- parent-image-updates
811

912
permissions:
1013
id-token: write
@@ -14,59 +17,10 @@ permissions:
1417
jobs:
1518
call-pi-merge-parent-image:
1619
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_merge_submodule.yml@dev
17-
if: ${{ github.event.pull_request.merged }}
20+
if: ${{ github.event.pull_request.merged && github.event.pull_request.head.ref == 'parent-image-updates' }}
1821
secrets: inherit
19-
20-
pi-matrix:
21-
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_matrix.yml@dev
22+
23+
call-pi-cleanup-submodule:
24+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_cleanup_submodule.yml@dev
2225
if: ${{ !github.event.pull_request.merged && github.event.pull_request.head.ref == 'parent-image-updates' }}
2326
secrets: inherit
24-
with:
25-
checkout_ref: parent-image-updates
26-
repository: "${{ github.repository_owner }}/refinery-submodule-parent-images"
27-
28-
call-dc-registry-delete:
29-
name: 'Docker: Delete Branch Images'
30-
needs: [pi-matrix]
31-
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/dc_registry_delete.yml@dev
32-
secrets: inherit
33-
strategy:
34-
matrix:
35-
parent_image_type: ${{ fromJson(needs.pi-matrix.outputs.parent_image_type) }}
36-
with:
37-
delete_tag: ${{ github.event.pull_request.head.ref }}-${{ matrix.parent_image_type }}
38-
app_name: ${{ vars.PARENT_IMAGE_NAME}}
39-
40-
gh-delete-submodule-branches:
41-
name: 'GitHub: Delete Submodule Branch'
42-
needs: [call-dc-registry-delete]
43-
if: ${{ !failure() }}
44-
runs-on: ubuntu-latest
45-
steps:
46-
- name: Checkout repository
47-
uses: actions/checkout@v4
48-
with:
49-
token: ${{ secrets.GH_TOKEN }}
50-
51-
- name: Delete Branch
52-
shell: bash
53-
run: git push origin --delete ${{ github.event.pull_request.head.ref }}
54-
55-
gh-delete-app-branches:
56-
name: 'GitHub: Delete App Branch'
57-
needs: [pi-matrix, gh-delete-submodule-branches]
58-
if: ${{ !failure() }}
59-
runs-on: ubuntu-latest
60-
strategy:
61-
matrix:
62-
app: ${{ fromJson(needs.pi-matrix.outputs.app) }}
63-
steps:
64-
- name: Checkout repository
65-
uses: actions/checkout@v4
66-
with:
67-
repository: "${{ github.repository_owner }}/${{ matrix.app }}"
68-
token: ${{ secrets.GH_TOKEN }}
69-
70-
- name: Delete Branch
71-
shell: bash
72-
run: git push origin --delete ${{ github.event.pull_request.head.ref }}

requirements/common-requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ argon2-cffi-bindings==21.2.0
1414
# via argon2-cffi
1515
boto3==1.39.6
1616
# via -r common-requirements.in
17-
botocore==1.39.6
17+
botocore==1.39.10
1818
# via
1919
# boto3
2020
# s3transfer
@@ -28,7 +28,7 @@ charset-normalizer==3.4.2
2828
# via requests
2929
click==8.2.1
3030
# via uvicorn
31-
fastapi==0.115.2
31+
fastapi==0.116.1
3232
# via -r mini-requirements.in
3333
h11==0.16.0
3434
# via uvicorn
@@ -68,15 +68,15 @@ pytz==2025.2
6868
# via pandas
6969
requests==2.32.4
7070
# via -r mini-requirements.in
71-
s3transfer==0.13.0
71+
s3transfer==0.13.1
7272
# via boto3
7373
six==1.17.0
7474
# via python-dateutil
7575
sniffio==1.3.1
7676
# via anyio
7777
sqlalchemy==1.4.42
7878
# via -r common-requirements.in
79-
starlette==0.40.0
79+
starlette==0.47.2
8080
# via fastapi
8181
typing-extensions==4.14.1
8282
# via
@@ -85,6 +85,7 @@ typing-extensions==4.14.1
8585
# minio
8686
# pydantic
8787
# pydantic-core
88+
# starlette
8889
urllib3==2.5.0
8990
# via
9091
# botocore

requirements/mini-requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
fastapi==0.115.2
1+
fastapi==0.116.1
22
uvicorn==0.35.0
33
pydantic==2.7.4
44
requests==2.32.4

requirements/mini-requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ annotated-types==0.7.0
88
# via pydantic
99
anyio==4.9.0
1010
# via starlette
11-
certifi==2025.6.15
11+
certifi==2025.7.14
1212
# via requests
1313
charset-normalizer==3.4.2
1414
# via requests
15-
click==8.1.8
15+
click==8.2.1
1616
# via uvicorn
17-
fastapi==0.115.2
17+
fastapi==0.116.1
1818
# via -r mini-requirements.in
1919
h11==0.16.0
2020
# via uvicorn
@@ -32,14 +32,15 @@ requests==2.32.4
3232
# via -r mini-requirements.in
3333
sniffio==1.3.1
3434
# via anyio
35-
starlette==0.40.0
35+
starlette==0.47.2
3636
# via fastapi
37-
typing-extensions==4.14.0
37+
typing-extensions==4.14.1
3838
# via
3939
# anyio
4040
# fastapi
4141
# pydantic
4242
# pydantic-core
43+
# starlette
4344
urllib3==2.5.0
4445
# via requests
4546
uvicorn==0.35.0

requirements/torch-cpu-requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ argon2-cffi-bindings==21.2.0
1616
# via argon2-cffi
1717
boto3==1.39.6
1818
# via -r common-requirements.in
19-
botocore==1.39.6
19+
botocore==1.39.10
2020
# via
2121
# boto3
2222
# s3transfer
@@ -30,7 +30,7 @@ charset-normalizer==3.4.2
3030
# via requests
3131
click==8.2.1
3232
# via uvicorn
33-
fastapi==0.115.2
33+
fastapi==0.116.1
3434
# via -r mini-requirements.in
3535
filelock==3.18.0
3636
# via
@@ -117,7 +117,7 @@ requests==2.32.4
117117
# -r mini-requirements.in
118118
# huggingface-hub
119119
# transformers
120-
s3transfer==0.13.0
120+
s3transfer==0.13.1
121121
# via boto3
122122
safetensors==0.5.3
123123
# via transformers
@@ -137,7 +137,7 @@ sniffio==1.3.1
137137
# via anyio
138138
sqlalchemy==1.4.42
139139
# via -r common-requirements.in
140-
starlette==0.40.0
140+
starlette==0.47.2
141141
# via fastapi
142142
sympy==1.14.0
143143
# via torch
@@ -161,6 +161,7 @@ typing-extensions==4.14.1
161161
# minio
162162
# pydantic
163163
# pydantic-core
164+
# starlette
164165
# torch
165166
urllib3==2.5.0
166167
# via

requirements/torch-cuda-requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ argon2-cffi-bindings==21.2.0
1616
# via argon2-cffi
1717
boto3==1.39.6
1818
# via -r common-requirements.in
19-
botocore==1.39.6
19+
botocore==1.39.10
2020
# via
2121
# boto3
2222
# s3transfer
@@ -30,7 +30,7 @@ charset-normalizer==3.4.2
3030
# via requests
3131
click==8.2.1
3232
# via uvicorn
33-
fastapi==0.115.2
33+
fastapi==0.116.1
3434
# via -r mini-requirements.in
3535
filelock==3.18.0
3636
# via
@@ -117,7 +117,7 @@ requests==2.32.4
117117
# -r mini-requirements.in
118118
# huggingface-hub
119119
# transformers
120-
s3transfer==0.13.0
120+
s3transfer==0.13.1
121121
# via boto3
122122
safetensors==0.5.3
123123
# via transformers
@@ -137,7 +137,7 @@ sniffio==1.3.1
137137
# via anyio
138138
sqlalchemy==1.4.42
139139
# via -r common-requirements.in
140-
starlette==0.40.0
140+
starlette==0.47.2
141141
# via fastapi
142142
sympy==1.14.0
143143
# via torch
@@ -161,6 +161,7 @@ typing-extensions==4.14.1
161161
# minio
162162
# pydantic
163163
# pydantic-core
164+
# starlette
164165
# torch
165166
urllib3==2.5.0
166167
# via

0 commit comments

Comments
 (0)