-
Notifications
You must be signed in to change notification settings - Fork 90
chore(ci/cd): add pipelines + modernize repo #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
df22737
add pyproject.toml
5b2d3e3
add pyvenv.cfg to gitignore
38be49d
remove tox.ini
4d738b1
remove setup.cfg and setup.py
0725506
regenerate protobufs
70a3efa
update requirements.txt
0ec019e
add requirements.txt file
538c4fb
update local test script
8ede8b3
typo quotes in pyproject.toml
6f0b024
working with pyproject toml
18afb64
remove unused ci files
4e768ca
remove publishing requirements
0ed1a40
remove manifest.in
95e4b1d
cleanup publishing, readme, remove requirements.txt
d5f137e
update req dev
a89c2cb
add cd pipeline
2aaad97
Update meta.py
joshua-goldstein d1d23bb
use requirements-dev
b7ce420
reduce line width
a08ca40
update version compatibility table
5c38da1
add optional deps in pyproject
a532340
remove requirement dev and use .[dev]
1778307
update readme
f04b2af
Update ci-pydgraph-tests.yml
joshua-goldstein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: cd-pydgraph | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| releasetag: | ||
| description: 'releasetag' | ||
| required: true | ||
| type: string | ||
| jobs: | ||
| pydgraph-build: | ||
| runs-on: ubuntu-20.04 | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| ref: '${{ github.event.inputs.releasetag }}' | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: ${{ env.PYTHON_VERSION }} | ||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| python -m pip install .[dev] | ||
| # use twine to upload to pypi | ||
| python -m pip install twine | ||
| - name: Verify that protobufs are checked in | ||
| run: | | ||
| # should be a no-op | ||
| python scripts/protogen.py | ||
| git diff --exit-code -- . | ||
| - name: Build pydgraph | ||
| run: | | ||
| rm -rf dist | ||
| # build binary wheel and a source tarball | ||
| python -m build | ||
| - name: Upload to PyPi | ||
| run: twine upload --username dgraph-io --password ${{ secrets.DGRAPH_PYPI_PASSWORD }} dist/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,3 +35,4 @@ pydgraph.iml | |
| # Python Virtual Environments | ||
| venv | ||
| .venv | ||
| pyvenv.cfg | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.