Skip to content

Commit f078a1a

Browse files
committed
update setuptools
2 parents da8588f + 097fe6d commit f078a1a

File tree

219 files changed

+33167
-37009
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+33167
-37009
lines changed

.github/components-path-filters.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ platform/services/auth_proxy:
77
- .github/workflows/component.yml
88
platform/services/credit:
99
- platform/services/credit/**
10+
- libs/kafka_tools/**
11+
- libs/telemetry_tools/**
1012
- libs/grpc_interfaces/pyproject.toml
1113
- libs/grpc_interfaces/credit_system/**
1214
- libs/grpc_interfaces/account_service/**
@@ -15,6 +17,7 @@ platform/services/credit:
1517
- .github/workflows/component.yml
1618
platform/services/observability:
1719
- platform/services/observability/**
20+
- libs/telemetry_tools/**
1821
- Makefile.shared-python
1922
- Makefile.shared
2023
- .github/workflows/component.yml
@@ -29,11 +32,14 @@ platform/services/onboarding:
2932
- .github/workflows/component.yml
3033
platform/services/notifier:
3134
- platform/services/notifier/**
35+
- libs/kafka_tools/**
36+
- libs/telemetry_tools/**
3237
- Makefile.shared-python
3338
- Makefile.shared
3439
- .github/workflows/component.yml
3540
platform/services/user_directory:
3641
- platform/services/user_directory/**
42+
- platform/libs/users_handler/**
3743
- libs/telemetry_tools/**
3844
- libs/spicedb_tools/**
3945
- libs/grpc_interfaces/pyproject.toml
@@ -78,6 +84,7 @@ platform/services/opa_bundle:
7884
- .github/workflows/component.yml
7985
platform/services/installer:
8086
- platform/services/installer/**
87+
- libs/k8s_tools/**
8188
- Makefile.shared-python
8289
- Makefile.shared
8390
- .github/workflows/component.yml
@@ -87,9 +94,12 @@ interactive_ai/services/auto_train:
8794
- interactive_ai/services/auto_train/**
8895
- interactive_ai/libs/iai_core_py/**
8996
- interactive_ai/supported_models/**
97+
- libs/grpc_interfaces/pyproject.toml
98+
- libs/grpc_interfaces/job_submission/**
9099
- libs/types/**
91100
- libs/telemetry_tools/**
92101
- libs/feature_tools/**
102+
- libs/configuration_tools/**
93103
- Makefile.shared-python
94104
- Makefile.shared
95105
- .github/workflows/component.yml
@@ -178,6 +188,9 @@ interactive_ai/services/resource:
178188
- interactive_ai/services/resource/**
179189
- interactive_ai/libs/iai_core_py/**
180190
- interactive_ai/libs/media_utils/**
191+
- interactive_ai/supported_models/**
192+
- libs/grpc_interfaces/pyproject.toml
193+
- libs/grpc_interfaces/model_registration/**
181194
- libs/types/**
182195
- libs/telemetry_tools/**
183196
- libs/feature_tools/**
@@ -218,11 +231,14 @@ interactive_ai/workflows/common:
218231
- libs/kafka_tools/**
219232
- libs/telemetry_tools/**
220233
- libs/types/**
234+
- libs/grpc_interfaces/pyproject.toml
235+
- libs/grpc_interfaces/job_update/**
221236
- Makefile.shared-python
222237
- Makefile.shared
223238
- .github/workflows/component.yml
224239
interactive_ai/workflows/dataset_ie:
225240
- interactive_ai/workflows/dataset_ie/**
241+
- interactive_ai/workflows/common/pyproject.toml
226242
- interactive_ai/workflows/common/jobs_common
227243
- interactive_ai/workflows/common/jobs_common_extras/datumaro_conversion
228244
- interactive_ai/libs/iai_core_py/**
@@ -237,6 +253,7 @@ interactive_ai/workflows/dataset_ie:
237253
- .github/workflows/component.yml
238254
interactive_ai/workflows/project_ie:
239255
- interactive_ai/workflows/project_ie/**
256+
- interactive_ai/workflows/common/pyproject.toml
240257
- interactive_ai/workflows/common/jobs_common
241258
- interactive_ai/workflows/common/jobs_common_extras/datumaro_conversion
242259
- interactive_ai/data_migration/**
@@ -252,6 +269,7 @@ interactive_ai/workflows/project_ie:
252269
- .github/workflows/component.yml
253270
interactive_ai/workflows/model_test:
254271
- interactive_ai/workflows/model_test/**
272+
- interactive_ai/workflows/common/pyproject.toml
255273
- interactive_ai/workflows/common/jobs_common
256274
- interactive_ai/workflows/common/jobs_common_extras/evaluation
257275
- interactive_ai/libs/iai_core_py/**
@@ -264,12 +282,14 @@ interactive_ai/workflows/model_test:
264282
- .github/workflows/component.yml
265283
interactive_ai/workflows/optimize:
266284
- interactive_ai/workflows/optimize/**
285+
- interactive_ai/workflows/common/pyproject.toml
267286
- interactive_ai/workflows/common/jobs_common
268287
- interactive_ai/workflows/common/jobs_common_extras/evaluation
269288
- interactive_ai/workflows/common/jobs_common_extras/shard_dataset
270289
- interactive_ai/libs/iai_core_py/**
271290
- interactive_ai/libs/media_utils/**
272291
- libs/k8s_tools/**
292+
- libs/kafka_tools/**
273293
- libs/telemetry_tools/**
274294
- libs/types/**
275295
- Makefile.shared-python
@@ -279,6 +299,7 @@ interactive_ai/workflows/train:
279299
- interactive_ai/supported_models/**
280300
- interactive_ai/workflows/train/job/**
281301
- interactive_ai/workflows/train/tests/**
302+
- interactive_ai/workflows/common/pyproject.toml
282303
- interactive_ai/workflows/common/jobs_common
283304
- interactive_ai/workflows/common/jobs_common_extras/evaluation
284305
- interactive_ai/workflows/common/jobs_common_extras/experiments

.github/renovate.json5

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@
6363
schedule: ["* * * * 0"], // weekly
6464
},
6565

66+
// Base images from dev_tools/builder_images
67+
// are upgraded separately as it requires two steps
68+
{
69+
enabled: true,
70+
matchDatasources: ["docker"],
71+
pinDigests: true,
72+
groupName: "Pin builder images",
73+
groupSlug: "pin-builders",
74+
schedule: ["* * 1 * *"], // every month
75+
matchPaths: ["dev_tools/builder_images/**"],
76+
},
77+
6678
// Disable non-security upgrades for go and npm.
6779
// We will enable it in the next phase
6880
{

.github/workflows/bdd-stylecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
persist-credentials: false
3131

3232
- name: Install uv
33-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
33+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
3434
with:
3535
version: "0.7.13"
3636

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# This workflow builds and publishes builder container images for Python and Go.
2+
# These images contain all the tools required to build applications and are used
3+
# both in GitHub Actions workflows and for local development. The workflow checks
4+
# for changes in the builder image directories, builds the relevant images if needed,
5+
# and pushes them to the GitHub Container Registry. This ensures that up-to-date
6+
# builder images are available for creating product images in CI/CD pipelines and
7+
# for developers working locally.
8+
#
9+
# NOTICE:
10+
# Whenever you make changes to the builder image directories,
11+
# you MUST bump the BUILDER_TAG in the corresponding Makefile.
12+
# This ensures that the new image is tagged and published correctly.
13+
14+
name: Build and Publish Builder Images
15+
16+
on:
17+
push:
18+
branches:
19+
- main
20+
paths:
21+
- 'dev_tools/builder_images/**'
22+
pull_request:
23+
branches:
24+
- main
25+
paths:
26+
- 'dev_tools/builder_images/**'
27+
28+
permissions: {}
29+
30+
jobs:
31+
check_paths:
32+
name: Check if workflow should run
33+
runs-on: ubuntu-latest
34+
permissions:
35+
contents: read
36+
outputs:
37+
build_list: ${{ steps.changed-files-yaml.outputs.modified_keys }}
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
41+
with:
42+
persist-credentials: false
43+
44+
- name: Get all paths that should trigger the workflow
45+
id: changed-files-yaml
46+
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
47+
with:
48+
files_yaml: |
49+
go:
50+
- dev_tools/builder_images/go-builder/**
51+
python:
52+
- dev_tools/builder_images/python-builder/**
53+
54+
create_builder:
55+
name: Create and push builder images
56+
needs: check_paths
57+
runs-on: ubuntu-latest
58+
permissions:
59+
contents: read
60+
packages: write # To push to GitHub Container Registry
61+
strategy:
62+
fail-fast: false
63+
matrix:
64+
include:
65+
- path: dev_tools/builder_images/go-builder
66+
run_condition: ${{ contains(needs.check_paths.outputs.build_list, 'go')}}
67+
- path: dev_tools/builder_images/python-builder
68+
run_condition: ${{ contains(needs.check_paths.outputs.build_list, 'python')}}
69+
env:
70+
REGISTRY: ghcr.io/open-edge-platform
71+
steps:
72+
- name: Checkout repository
73+
if: ${{ matrix.run_condition }}
74+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
75+
with:
76+
persist-credentials: false
77+
78+
- name: Check if Docker image exists
79+
if: ${{ matrix.run_condition }}
80+
run: |
81+
IMAGE=$(make -C ${{ matrix.path }} list-image | grep $REGISTRY)
82+
if docker manifest inspect "${IMAGE}" > /dev/null 2>&1; then
83+
echo Image ${IMAGE} exists please bump the BUILDER_TAG in the Makefile
84+
exit 1
85+
else
86+
echo "exists=false" >> $GITHUB_OUTPUT
87+
fi
88+
89+
- name: Build image
90+
if: ${{ matrix.run_condition}}
91+
run: |
92+
make -C ${{ matrix.path }} build-image
93+
94+
- name: Log in to GitHub Container Registry
95+
if: ${{ matrix.run_condition && github.event_name == 'push'}}
96+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
97+
with:
98+
registry: ghcr.io
99+
username: ${{ github.actor }}
100+
password: ${{ secrets.GITHUB_TOKEN }}
101+
102+
- name: Push image
103+
if: ${{ matrix.run_condition && github.event_name == 'push'}}
104+
run: |
105+
make -C ${{ matrix.path }} push-image

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666

6767
# Initializes the CodeQL tools for scanning.
6868
- name: Initialize CodeQL
69-
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
69+
uses: github/codeql-action/init@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
7070
with:
7171
languages: ${{ matrix.language }}
7272
build-mode: ${{ matrix.build-mode }}
7373
queries: security-extended
7474

7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
76+
uses: github/codeql-action/analyze@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
7777
with:
7878
category: "/language:${{matrix.language}}"

.github/workflows/collect-source.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
runs-on: ubuntu-latest
117117
needs: get-unique-names
118118
container:
119-
image: debian:bookworm-slim@sha256:df52e55e3361a81ac1bead266f3373ee55d29aa50cf0975d440c2be3483d8ed3
119+
image: debian:bookworm-slim@sha256:7e490910eea2861b9664577a96b54ce68ea3e02ce7f51d89cb0103a6f9c386e0
120120
steps:
121121
- name: Add apt sources for deb-src
122122
shell: bash

.github/workflows/component.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
env:
5353
TAG: ${{ inputs.build_version || github.sha }}
5454
REGISTRY: ${{ secrets.REGISTRY }}
55+
# Update these when the tags in dev_tools/builder_images/*/Makefile are updated.
56+
# Remember that new tags will be available only after the code with the change is merged
57+
# and the builder image workflow is run and completed successfully.
5558
PYTHON_BUILDER_IMAGE: builder-images/python-builder:v0.1
5659
GO_BUILDER_IMAGE: builder-images/go-builder:v0.1
5760
steps:

.github/workflows/libs_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
sudo -E apt install -y ffmpeg
5252
5353
- name: Install uv
54-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
54+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
5555
with:
5656
version: "0.7.13"
5757

.github/workflows/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
private-key: ${{ secrets.RENOVATE_APP_PEM }}
4141

4242
- name: Self-hosted Renovate
43-
uses: renovatebot/github-action@9ba84f1ade243f8c2ce5b223df61cf23dc094584 # v43.0.13
43+
uses: renovatebot/github-action@2d941ef4e268e53affdc1f11365c69a73e544f50 # v43.0.14
4444
with:
4545
configurationFile: .github/renovate.json5
4646
token: "${{ steps.get-github-app-token.outputs.token }}"

.github/workflows/scorecards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
persist-credentials: false
3333

3434
- name: Run analysis
35-
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
35+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
3636
with:
3737
results_file: results.sarif
3838
results_format: sarif
3939
publish_results: true
4040

4141
# Upload the results to GitHub's code scanning dashboard
4242
- name: Upload to code-scanning
43-
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
43+
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
4444
with:
4545
sarif_file: results.sarif

0 commit comments

Comments
 (0)