Skip to content

Commit

Permalink
Merge pull request #70 from OpenMined/rasswanth/update_readme
Browse files Browse the repository at this point in the history
[CD] Misc Changes
  • Loading branch information
rasswanth-s authored Oct 9, 2024
2 parents a46830b + 18b9970 commit 8cd8068
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/cd-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ on:
description: "Perform a test bump version without pushing to pypi and repo"
type: boolean
default: false

skip_tests:
description: "If true, skip pre-release tests"
required: false
default: "false"
type: choice
options:
- "false"
- "true"

# Prevents concurrent runs of the same workflow
# while the previous run is still in progress
Expand All @@ -24,7 +33,13 @@ concurrency:
cancel-in-progress: false

jobs:
call-pr-tests:
if: ${{ inputs.skip_tests == 'false' }}
uses: ./.github/workflows/pr-tests.yaml


deploy-syftbox:
needs: [call-pr-tests]
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -70,4 +85,4 @@ jobs:
- name: Push changes to SyftBox repo
if: ${{ inputs.test_bump == false }}
run: |
git push origin main
git push origin
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ curl -LsSf https://astral.sh/uv/install.sh | sh

uv venv .venv

## install the wheel
## Install Syftbox

uv pip install http://20.168.10.234:8080/wheel/syftbox-0.1.0-py3-none-any.whl --reinstall
uv pip install -U syftbox

## run the client

Expand Down
4 changes: 2 additions & 2 deletions syftbox/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ async def lifespan(app: FastAPI):
# create a virtualenv somewhere
uv venv .venv
# install the wheel
uv pip install http://20.168.10.234:8080/wheel/syftbox-0.1.0-py3-none-any.whl --reinstall
# Install SyftBox
uv pip install -U syftbox
# run the client
uv run syftbox client
Expand Down

0 comments on commit 8cd8068

Please sign in to comment.