Skip to content

Commit

Permalink
Merge pull request #8172 from OpenMined/remove-old-helm-versions
Browse files Browse the repository at this point in the history
Remove old helm versions
  • Loading branch information
rasswanth-s authored Oct 17, 2023
2 parents 78a2eac + 8f32228 commit f81ed9b
Show file tree
Hide file tree
Showing 43 changed files with 46 additions and 28 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,29 +137,6 @@ jobs:
echo "github_release_version=$(python packages/grid/VERSION)" >> $GITHUB_OUTPUT
fi
# Checkout to gh-pages and update helm repo
- name: Checkout to gh-pages
uses: actions/checkout@v3
with:
ref: gh-pages
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}
path: ghpages

- name: Copy helm repo files from Syft Repo
run: |
rm -rf ghpages/helm/*
cp -R packages/grid/helm/repo/. ghpages/helm/
- name: Commit changes to gh-pages
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ secrets.OM_BOT_NAME }}
author_email: ${{ secrets.OM_BOT_EMAIL }}
message: "Update Helm package from Syft Repo"
add: "helm/"
push: "origin gh-pages"
cwd: "./ghpages/"

# Checkout Infra repo (nested)
- name: Checkout Infra Repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -348,4 +325,25 @@ jobs:
helm registry login registry-1.docker.io -u ${{ secrets.DOCKER_LOGIN }} --password ${{secrets.DOCKER_PASSWORD}}
cd packages/grid/helm/repo && helm push syft-${{ steps.grid-version.outputs.GRID_VERSION }}.tgz oci://registry-1.docker.io/openmined
# Move the helm chart repo back to end
# Checkout to gh-pages and update helm repo
- name: Checkout to gh-pages
uses: actions/checkout@v3
with:
ref: gh-pages
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}
path: ghpages

- name: Copy helm repo files from Syft Repo
run: |
rm -rf ghpages/helm/*
cp -R packages/grid/helm/repo/. ghpages/helm/
- name: Commit changes to gh-pages
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ secrets.OM_BOT_NAME }}
author_email: ${{ secrets.OM_BOT_EMAIL }}
message: "Update Helm package from Syft Repo"
add: "helm/"
push: "origin gh-pages"
cwd: "./ghpages/"
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,31 @@ domain_client = sy.login(port=8080, email="[email protected]", password="change

## Deploy Kubernetes Helm Chart

**Note**: Assuming we have a Kubernetes cluster already setup.

#### 1. Add and update Helm repo for Syft

```sh
$ helm repo add openmined https://openmined.github.io/PySyft/helm
$ helm repo update openmined
```

#### 2. Search for available Syft versions

```sh
$ helm search repo openmined/syft --versions --devel
```

#### 3. Set your preferred Syft Chart version

```sh
SYFT_VERSION="<paste the chart version number>"
```

#### 4. Provisioning Helm Charts

```sh
$ kubectl create namespace syft
$ SYFT_VERSION="0.8.2-beta.26"
$ helm pull oci://registry-1.docker.io/openmined/syft --version $SYFT_VERSION
$ helm install my-domain "./syft-$SYFT_VERSION.tgz" --namespace syft --create-namespace
$ helm install my-domain openmined/syft --version $SYFT_VERSION --namespace syft --create-namespace
```

### Azure or GCP Ingress
Expand Down
Binary file removed packages/grid/helm/repo/syft-0.8.1-beta.12.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.1-beta.15.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.1-beta.19.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.1-beta.20.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.1-beta.21.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.1.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.10.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.11.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.12.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.13.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.14.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.15.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.16.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.17.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.18.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.19.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.2.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.20.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.21.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.22.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.23.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.24.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.25.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.26.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.27.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.28.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.29.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.3.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.30.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.31.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.32.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.33.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.34.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.35.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.36.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.4.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.5.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.6.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.7.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.8.tgz
Binary file not shown.
Binary file removed packages/grid/helm/repo/syft-0.8.2-beta.9.tgz
Binary file not shown.

0 comments on commit f81ed9b

Please sign in to comment.