Skip to content

Commit f4ccc80

Browse files
committed
no-binary test
Signed-off-by: Tommy Hughes <tohughes@redhat.com>
1 parent be3d85c commit f4ccc80

Some content is hidden

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

41 files changed

+28379
-1494
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ docs
33
charts
44
env
55
**/.terraform
6+
offline_build/

.github/fork_workflows/fork_pr_integration_tests_aws.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,10 @@ jobs:
5151
aws-region: us-west-2
5252
- name: Use AWS CLI
5353
run: aws sts get-caller-identity
54-
- name: Install uv
55-
run: |
56-
curl -LsSf https://astral.sh/uv/install.sh | sh
57-
- name: Get uv cache dir
58-
id: uv-cache
59-
run: |
60-
echo "::set-output name=dir::$(uv cache dir)"
61-
- name: uv cache
62-
uses: actions/cache@v4
54+
- name: Install the latest version of uv
55+
uses: astral-sh/setup-uv@v5
6356
with:
64-
path: ${{ steps.uv-cache.outputs.dir }}
65-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
57+
enable-cache: true
6658
- name: Install apache-arrow on ubuntu
6759
if: matrix.os == 'ubuntu-latest'
6860
run: |
@@ -85,3 +77,5 @@ jobs:
8577
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "File and not Snowflake and not BigQuery and not minio_registry"
8678
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "dynamo and not Snowflake and not BigQuery and not minio_registry"
8779
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "Redshift and not Snowflake and not BigQuery and not minio_registry"
80+
- name: Minimize uv cache
81+
run: uv cache prune --ci

.github/fork_workflows/fork_pr_integration_tests_gcp.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,10 @@ jobs:
5353
project_id: ${{ secrets.GCP_PROJECT_ID }}
5454
- name: Use gcloud CLI
5555
run: gcloud info
56-
- name: Install uv
57-
run: |
58-
curl -LsSf https://astral.sh/uv/install.sh | sh
59-
- name: Get uv cache dir
60-
id: uv-cache
61-
run: |
62-
echo "::set-output name=dir::$(uv cache dir)"
63-
- name: uv cache
64-
uses: actions/cache@v4
56+
- name: Install the latest version of uv
57+
uses: astral-sh/setup-uv@v5
6558
with:
66-
path: ${{ steps.uv-cache.outputs.dir }}
67-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
59+
enable-cache: true
6860
- name: Install apache-arrow on ubuntu
6961
if: matrix.os == 'ubuntu-latest'
7062
run: |
@@ -86,3 +78,5 @@ jobs:
8678
run: |
8779
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "BigQuery and not dynamo and not Redshift and not Snowflake and not minio_registry"
8880
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "File and not dynamo and not Redshift and not Snowflake and not minio_registry"
81+
- name: Minimize uv cache
82+
run: uv cache prune --ci

.github/fork_workflows/fork_pr_integration_tests_snowflake.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,10 @@ jobs:
4343
uses: actions/setup-go@v2
4444
with:
4545
go-version: 1.18.0
46-
- name: Install uv
47-
run: |
48-
curl -LsSf https://astral.sh/uv/install.sh | sh
49-
- name: Get uv cache dir
50-
id: uv-cache
51-
run: |
52-
echo "::set-output name=dir::$(uv cache dir)"
53-
- name: uv cache
54-
uses: actions/cache@v4
46+
- name: Install the latest version of uv
47+
uses: astral-sh/setup-uv@v5
5548
with:
56-
path: ${{ steps.uv-cache.outputs.dir }}
57-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
49+
enable-cache: true
5850
- name: Install apache-arrow on ubuntu
5951
if: matrix.os == 'ubuntu-latest'
6052
run: |
@@ -82,3 +74,5 @@ jobs:
8274
run: |
8375
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "Snowflake and not dynamo and not Redshift and not Bigquery and not gcp and not minio_registry"
8476
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --integration --durations=5 --timeout=1200 --timeout_method=thread -k "File and not dynamo and not Redshift and not Bigquery and not gcp and not minio_registry"
77+
- name: Minimize uv cache
78+
run: uv cache prune --ci

.github/workflows/java_master_only.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,10 @@ jobs:
118118
with:
119119
python-version: 3.11
120120
architecture: x64
121-
- name: Install uv
122-
run: |
123-
curl -LsSf https://astral.sh/uv/install.sh | sh
124-
- name: Get uv cache dir
125-
id: uv-cache
126-
run: |
127-
echo "::set-output name=dir::$(uv cache dir)"
128-
- name: uv cache
129-
uses: actions/cache@v4
121+
- name: Install the latest version of uv
122+
uses: astral-sh/setup-uv@v5
130123
with:
131-
path: ${{ steps.uv-cache.outputs.dir }}
132-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
133-
124+
enable-cache: true
134125
- name: Install Python dependencies
135126
run: make install-python-dependencies-ci
136127
- uses: actions/cache@v4
@@ -159,3 +150,5 @@ jobs:
159150
run: aws sts get-caller-identity
160151
- name: Run integration tests
161152
run: make test-java-integration
153+
- name: Minimize uv cache
154+
run: uv cache prune --ci

.github/workflows/java_pr.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,10 @@ jobs:
167167
with:
168168
python-version: 3.11
169169
architecture: x64
170-
- name: Install uv
171-
run: |
172-
curl -LsSf https://astral.sh/uv/install.sh | sh
173-
- name: Get uv cache dir
174-
id: uv-cache
175-
run: |
176-
echo "::set-output name=dir::$(uv cache dir)"
177-
- name: uv cache
178-
uses: actions/cache@v4
179-
with:
180-
path: ${{ steps.uv-cache.outputs.dir }}
181-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
170+
- name: Install the latest version of uv
171+
uses: astral-sh/setup-uv@v5
172+
with:
173+
enable-cache: true
182174
- name: Install dependencies
183175
run: make install-python-dependencies-ci
184176
- name: Run integration tests
@@ -190,3 +182,5 @@ jobs:
190182
name: it-report
191183
path: spark/ingestion/target/test-reports/TestSuite.txt
192184
retention-days: 5
185+
- name: Minimize uv cache
186+
run: uv cache prune --ci

.github/workflows/linter.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,31 @@ on: [push, pull_request]
44

55
jobs:
66
lint-python:
7-
runs-on: [ubuntu-latest]
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
python-version: [ "3.9", "3.10", "3.11"]
12+
os: [ ubuntu-latest ]
813
env:
9-
PYTHON: 3.11
14+
OS: ${{ matrix.os }}
15+
PYTHON: ${{ matrix.python-version }}
1016
steps:
1117
- uses: actions/checkout@v4
1218
- name: Setup Python
1319
id: setup-python
1420
uses: actions/setup-python@v5
1521
with:
16-
python-version: "3.11"
22+
python-version: ${{ matrix.python-version }}
1723
architecture: x64
18-
- name: Install uv
19-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
24+
- name: Install the latest version of uv
25+
uses: astral-sh/setup-uv@v5
26+
with:
27+
enable-cache: true
2028
- name: Install dependencies
2129
run: |
2230
make install-python-dependencies-ci
2331
- name: Lint python
2432
run: make lint-python
33+
- name: Minimize uv cache
34+
run: uv cache prune --ci

.github/workflows/master_only.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,10 @@ jobs:
5353
aws-region: us-west-2
5454
- name: Use AWS CLI
5555
run: aws sts get-caller-identity
56-
- name: Install uv
57-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
58-
- name: Get uv cache dir
59-
id: uv-cache
60-
run: |
61-
echo "::set-output name=dir::$(uv cache dir)"
62-
- name: uv cache
63-
uses: actions/cache@v4
56+
- name: Install the latest version of uv
57+
uses: astral-sh/setup-uv@v5
6458
with:
65-
path: ${{ steps.uv-cache.outputs.dir }}
66-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
59+
enable-cache: true
6760
- name: Install dependencies
6861
run: make install-python-dependencies-ci
6962
- name: Setup Redis Cluster
@@ -88,6 +81,8 @@ jobs:
8881
run: pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-autosave --benchmark-save-data --durations=5
8982
- name: Upload Benchmark Artifact to S3
9083
run: aws s3 cp --recursive .benchmarks s3://feast-ci-pytest-benchmark
84+
- name: Minimize uv cache
85+
run: uv cache prune --ci
9186

9287
build-all-docker-images:
9388
if: github.repository == 'feast-dev/feast'

.github/workflows/nightly-ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,10 @@ jobs:
117117
aws-region: us-west-2
118118
- name: Use AWS CLI
119119
run: aws sts get-caller-identity
120-
- name: Install uv
121-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
122-
- name: Get uv cache dir
123-
id: uv-cache
124-
run: |
125-
echo "::set-output name=dir::$(uv cache dir)"
126-
- name: uv cache
127-
uses: actions/cache@v4
120+
- name: Install the latest version of uv
121+
uses: astral-sh/setup-uv@v5
128122
with:
129-
path: ${{ steps.uv-cache.outputs.dir }}
130-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
123+
enable-cache: true
131124
- name: Install apache-arrow on ubuntu
132125
if: matrix.os == 'ubuntu-latest'
133126
run: |
@@ -155,3 +148,5 @@ jobs:
155148
SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}
156149
SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}
157150
run: make test-python-integration
151+
- name: Minimize uv cache
152+
run: uv cache prune --ci

.github/workflows/pr_integration_tests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,10 @@ jobs:
7878
aws-region: us-west-2
7979
- name: Use AWS CLI
8080
run: aws sts get-caller-identity
81-
- name: Install uv
82-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
83-
- name: Get uv cache dir
84-
id: uv-cache
85-
run: |
86-
echo "::set-output name=dir::$(uv cache dir)"
87-
- name: uv cache
88-
uses: actions/cache@v4
81+
- name: Install the latest version of uv
82+
uses: astral-sh/setup-uv@v5
8983
with:
90-
path: ${{ steps.uv-cache.outputs.dir }}
91-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
84+
enable-cache: true
9285
- name: Install dependencies
9386
run: make install-python-dependencies-ci
9487
- name: Setup Redis Cluster
@@ -105,3 +98,5 @@ jobs:
10598
SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}
10699
SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}
107100
run: make test-python-integration
101+
- name: Minimize uv cache
102+
run: uv cache prune --ci

0 commit comments

Comments
 (0)