Skip to content

Commit

Permalink
Merge branch 'dev' into eelco/bigquery-testing-jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavajay committed Aug 31, 2024
2 parents 75aa156 + cda05f8 commit 3d43dfb
Show file tree
Hide file tree
Showing 47 changed files with 1,464 additions and 721 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Build the docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 bump2version==1.0.1
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2 bump2version==1.0.1
uv --version
- name: Generate Release Metadata
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 setuptools wheel twine bump2version PyYAML
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2 setuptools wheel twine bump2version PyYAML
uv --version
- name: Bump to Final Release version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Install tox and uv
run: |
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 tox-current-env
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2 tox-current-env
- name: Run unit tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 bump2version==1.0.1
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2 bump2version==1.0.1
uv --version
- name: Get Release tag
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 setuptools wheel twine bump2version PyYAML
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2 setuptools wheel twine bump2version PyYAML
uv --version
- name: Bump the Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-syftcli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Build syftcli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get pip cache dir
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-merge-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install pip packages
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Check and Bump Protocol Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
if: steps.changes.outputs.frontend == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# Install python deps
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
kube-linter version
polaris version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-helm-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# Install python deps
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
# Install kubernetes
brew install helm k3d devspace kubectl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install pip packages
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/pr-tests-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
if: steps.changes.outputs.stack == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Run syft backend base image building test
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
if: steps.changes.outputs.stack == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
if: steps.changes.outputs.stack == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -328,7 +328,7 @@ jobs:
if: steps.changes.outputs.stack == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -451,11 +451,11 @@ jobs:
run: |
sudo python ./scripts/patch_hosts.py --add-k3d-registry
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
large-packages: false
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: true
# large-packages: false

# free 10GB of space
- name: Remove unnecessary files
Expand All @@ -471,7 +471,7 @@ jobs:
if: steps.changes.outputs.stack == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -513,6 +513,7 @@ jobs:
timeout-minutes: 60
env:
GITHUB_CI: true
TOX_PYTHON: python${{ matrix.python-version }}
shell: bash
run: |
K3D_VERSION=v5.6.3
Expand All @@ -526,6 +527,7 @@ jobs:
curl -sSL https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64 -o ./devspace
chmod +x devspace
devspace version
export PATH="/usr/share/miniconda/bin:$PATH"
tox -e stack.test.notebook.scenario.k8s
- name: Get current timestamp
Expand Down Expand Up @@ -595,7 +597,7 @@ jobs:
if: steps.changes.outputs.syft == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/pr-tests-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
if: steps.changes.outputs.syft == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
if: steps.changes.outputs.syft == 'true' || steps.changes.outputs.notebooks == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -194,7 +194,8 @@ jobs:
matrix:
# Disable on windows until its flakyness is reduced.
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest] # mac wont start SMTPD mail server?
python-version: ["3.12"]
deployment-type: ["python"]
bump-version: ["False"]
Expand Down Expand Up @@ -244,7 +245,7 @@ jobs:
if: steps.changes.outputs.syft == 'true' || steps.changes.outputs.notebooks_scenario == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand All @@ -264,15 +265,15 @@ jobs:
${{ runner.os }}-uv-py${{ matrix.python-version }}-
- name: Run notebook scenario tests
uses: nick-fields/retry@v3
if: steps.changes.outputs.syft == 'true' || steps.changes.outputs.notebooks_scenario == 'true'
env:
ORCHESTRA_DEPLOYMENT_TYPE: "${{ matrix.deployment-type }}"
BUMP_VERSION: "${{ matrix.bump-version }}"
with:
timeout_seconds: 2400
max_attempts: 3
command: tox -e syft.test.notebook.scenario
TOX_PYTHON: python${{ matrix.python-version }}
shell: bash
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
tox -e syft.test.notebook.scenario
pr-tests-syft-notebook-scenario-sync:
strategy:
Expand Down Expand Up @@ -330,7 +331,7 @@ jobs:
if: steps.changes.outputs.syft == 'true' || steps.changes.outputs.notebooks_scenario == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -407,7 +408,7 @@ jobs:
if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down Expand Up @@ -504,7 +505,7 @@ jobs:
if: steps.changes.outputs.syft == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
pip install uv==0.4.1 tox==4.18.0 tox-uv==1.11.2
uv --version
- name: Get uv cache dir
Expand Down
Loading

0 comments on commit 3d43dfb

Please sign in to comment.