Skip to content

Commit

Permalink
Merge pull request #8122 from madhavajay/madhava/object_versioning2
Browse files Browse the repository at this point in the history
Object Versioning v2
  • Loading branch information
shubham3121 authored Oct 12, 2023
2 parents d2902c7 + b026ed8 commit f76ce87
Show file tree
Hide file tree
Showing 42 changed files with 3,627 additions and 62 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,18 @@ jobs:
tox -e syft.build.helm
tox -e syft.package.helm
- name: Check and Bump Protocol Version
if: github.event_name == 'schedule'
run: |
tox -e syft.protocol.check
- name: Commit changes to Syft
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ secrets.OM_BOT_NAME }}
author_email: ${{ secrets.OM_BOT_EMAIL }}
message: "[syft]bump version"
add: "['.bumpversion.cfg', 'VERSION', 'packages/grid/VERSION', 'packages/grid/devspace.yaml', 'packages/syft/src/syft/VERSION', 'packages/syft/setup.cfg', 'packages/grid/frontend/package.json', 'packages/syft/src/syft/__init__.py', 'packages/hagrid/hagrid/manifest_template.yml', 'packages/grid/helm/syft/Chart.yaml', 'packages/grid/helm/repo', 'packages/hagrid/hagrid/deps.py', 'packages/grid/podman/podman-kube/podman-syft-kube.yaml' , 'packages/syftcli/manifest.yml']"
add: "['.bumpversion.cfg', 'VERSION', 'packages/grid/VERSION', 'packages/grid/devspace.yaml', 'packages/syft/src/syft/VERSION', 'packages/syft/setup.cfg', 'packages/grid/frontend/package.json', 'packages/syft/src/syft/__init__.py', 'packages/hagrid/hagrid/manifest_template.yml', 'packages/grid/helm/syft/Chart.yaml', 'packages/grid/helm/repo', 'packages/hagrid/hagrid/deps.py', 'packages/grid/podman/podman-kube/podman-syft-kube.yaml' , 'packages/syftcli/manifest.yml', 'packages/syft/src/syft/protocol/protocol_version.json']"

- name: Scheduled Build and Publish
if: github.event_name == 'schedule'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Post Merge - Cleanup Notebooks
name: Post Merge Tasks

on:
workflow_call:
Expand All @@ -7,7 +7,6 @@ on:
branches:
- dev
- main
- "0.8"

jobs:
post-merge-cleanup-notebooks:
Expand All @@ -22,11 +21,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Commit changes to remove notebooks
- name: Check and Bump Protocol Version
if: github.event_name == 'schedule'
run: |
tox -e syft.protocol.check
- name: Commit changes to bump protocol and remove notebooks
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ secrets.OM_BOT_NAME }}
author_email: ${{ secrets.OM_BOT_EMAIL }}
message: "cleanup notebooks"
message: "bump protocol and remove notebooks"
remove: "-r notebooks/Experimental/"
add: "['packages/syft/src/syft/protocol/protocol_version.json']"
commit: "-a"
8 changes: 6 additions & 2 deletions .github/workflows/pr-tests-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
- name: Install pip packages
run: |
python -m pip install --upgrade --user pip
python -m pip install --upgrade --user pip tox
- name: Get pip cache dir
id: pip-cache
Expand All @@ -47,3 +47,7 @@ jobs:
${{ runner.os }}-pip-py${{ matrix.python-version }}-
- uses: pre-commit/[email protected]

- name: Check Protocol Version
run: |
tox -e syft.protocol.check
999 changes: 999 additions & 0 deletions notebooks/Experimental/Data Migration.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit f76ce87

Please sign in to comment.