Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bd0193f
PYT-868 Lua to Python - Change plugin config to expect optional lua n…
jeffngo Apr 30, 2020
e542504
Merge branch 'release/2.0.0' into develop
fdrozdowski May 7, 2020
cf9091b
Merge release/2.0.0 into develop
fdrozdowski May 8, 2020
0a0e88b
Fixes #71 Make change to allow for LUA type migrations in the upgrade…
nhlien93 May 8, 2020
c289fcc
Fix linting job for tools (#127)
fdrozdowski May 11, 2020
a017e28
Fixes #10 Fix the test issues of virtualization sdk on windows (#103)
muralinimmagadda May 12, 2020
4cc40d3
Set dependabot python version to 2.7.17 (#107)
fdrozdowski May 12, 2020
d62b54d
Fix linting and formatting issues in the tools package (#129)
fdrozdowski May 12, 2020
19eb459
Add dependabot config (#128)
fdrozdowski May 13, 2020
3bbca75
Change plugin config to expect optional minimum lua version string (#…
jeffngo May 13, 2020
4ae00f4
Bump pytest from 4.6.8 to 4.6.10 in /libs (#146)
dependabot-preview[bot] Jun 5, 2020
9f7819b
Bump pytest from 4.6.9 to 4.6.10 in /platform (#144)
dependabot-preview[bot] Jun 5, 2020
5fa9de2
Bump pytest from 4.6.9 to 4.6.11 in /dvp (#188)
dependabot-preview[bot] Jun 6, 2020
001aab4
Bump pytest from 4.6.9 to 4.6.11 in /tools (#190)
dependabot-preview[bot] Jun 6, 2020
20dbf62
Bump pytest from 4.6.6 to 4.6.11 in /common (#191)
dependabot-preview[bot] Jun 6, 2020
e4a31d8
Bump pytest from 4.6.10 to 4.6.11 in /libs (#194)
dependabot-preview[bot] Jun 8, 2020
7fff973
Remove wcwidth from dependencies (#192)
fdrozdowski Jun 8, 2020
8fec48b
Fixes #74 CI/CD: Write release GH Action: build and publish (#203)
fdrozdowski Jun 12, 2020
5c75f25
Fixes #171 Update API in build from 1.11.2 to 1.11.3 (#212)
nhlien93 Jun 22, 2020
32c4312
fixes #110 Write SDK docs with examples on how to add lua upgrades (#…
nhlien93 Jun 26, 2020
e42a8d9
fixes #211 SDK 2.1.0 Release Notes (#220)
jeffngo Jul 1, 2020
de74abc
Fixes #73 CI/CD: Write release GH Action: publish docs (#214)
fdrozdowski Jul 9, 2020
c0a0055
SDK 2.1.0 documentation edits (#226)
ankursarin Jul 13, 2020
d8d283f
Bump dvp-api and VSDK versions to release formats (#224)
fdrozdowski Jul 14, 2020
408ccab
Merge 'release/2.1.0' into master
fdrozdowski Jul 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.0.0
current_version = 2.1.0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
Expand Down
23 changes: 23 additions & 0 deletions .dependabot/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 1
update_configs:
# Keep requirements.txt files up-to-date in each package.
- package_manager: "python"
directory: "/dvp"
update_schedule: "daily"
target_branch: "develop"
- package_manager: "python"
directory: "/common"
update_schedule: "daily"
target_branch: "develop"
- package_manager: "python"
directory: "/platform"
update_schedule: "daily"
target_branch: "develop"
- package_manager: "python"
directory: "/libs"
update_schedule: "daily"
target_branch: "develop"
- package_manager: "python"
directory: "/tools"
update_schedule: "daily"
target_branch: "develop"
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
max-parallel: 4
matrix:
python-version: [2.7]
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
package: [common, libs, platform, tools]

steps:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

- name: Run flake8 on test directory
working-directory: ${{ matrix.package }}
run: python -m flake8 test/main/python --max-line-length 88
run: python -m flake8 src/test/python --max-line-length 88

#format:
#name: Check format ${{ matrix.package}}
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Publish docs to GitHub pages

on:
create:
branches:
- 'docs/**'
push:
branches:
- 'docs/**'
paths:
- 'docs/**'

jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
package: [docs]

steps:
- uses: actions/checkout@v2
with:
# Only a single commit is fetched by default, for the ref/SHA that triggered the workflow.
# Set fetch-depth: 0 to fetch all history for all branches and tags.
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set the current branch environment variable
working-directory: ${{ matrix.package }}
run: |
CURRENT_BRANCH_VAR=${GITHUB_REF#refs/heads/}
echo "Current branch: $CURRENT_BRANCH_VAR"
# Set CURRENT_BRANCH environment variable to the current branch name.
echo "::set-env name=CURRENT_BRANCH::$(echo $CURRENT_BRANCH_VAR)"
- name: Display all remote branches
working-directory: ${{ matrix.package }}
run: |
# Display all remote branches
git branch -r
- name: Set the latest docs branch environment variable
working-directory: ${{ matrix.package }}
run: |
# Get only docs branches, extract the "docs/x.y.z" part, sort them in descending order, and get the first one.
LATEST_DOCS_BRANCH_VAR=$(git branch -r | grep -e ".*\/*docs\/[0-9].[0-9].[0-9]" | sed -n "s/.*\/*\(docs\/[0-9].[0-9].[0-9]\).*/\1/p" | sort -r | head -n 1)
echo "Latest docs branch: $LATEST_DOCS_BRANCH_VAR"
# Set the LATEST_DOCS_BRANCH environment variable.
echo "::set-env name=LATEST_DOCS_BRANCH::$(echo $LATEST_DOCS_BRANCH_VAR)"
- name: Check that the current branch is the latest docs branch, fail otherwise
working-directory: ${{ matrix.package }}
run: |
if [ $CURRENT_BRANCH != $LATEST_DOCS_BRANCH ]; then
echo "The action is running on branch $CURRENT_BRANCH which is not the latest docs branch ($LATEST_DOCS_BRANCH)."
exit 1
else
echo "The action is running on the latest docs branch."
fi
- name: Install Pipenv
uses: dschep/install-pipenv-action@v1
- name: Install dependencies for building documenation
working-directory: ${{ matrix.package }}
run: |
pipenv install
- name: Build documentation
working-directory: ${{ matrix.package }}
run: |
pipenv run mkdocs build --clean
- name: Deploy the contents of docs/site to gh-pages 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/site
commit_message: Deploy to gh-pages 🚀
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
42 changes: 42 additions & 0 deletions .github/workflows/publish-python-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish Python packages to Test PyPi

on:
# Run on push when the version file has changed on selected branches.
push:
branches:
- master
- develop
- 'release/**'
paths:
- 'dvp/src/main/python/dlpx/virtualization/VERSION'

jobs:
publish:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: [2.7]
package: [common, dvp, libs, platform, tools]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Install dependencies necessary for building and publishing the package.
- name: Install dependencies
run: |
pip install setuptools wheel twine
# Build each Python package and publish it to Test PyPi.
- name: Build and publish ${{ matrix.package }} package
working-directory: ${{ matrix.package }}
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.VSDK_PYPI_TOKEN }}
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
run: |
python setup.py sdist bdist_wheel
twine upload dist/*

1 change: 1 addition & 0 deletions common/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.17
3 changes: 1 addition & 2 deletions common/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ pathlib2==2.3.5 ; python_version < '3.6'
pluggy==0.13.0
py==1.8.0
pyparsing==2.4.5
pytest==4.6.6
pytest==4.6.11
scandir==1.10.0 ; python_version < '3.5'
six==1.13.0
wcwidth==0.1.7
zipp==0.6.0
2 changes: 1 addition & 1 deletion common/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PYTHON_SRC = 'src/main/python'

install_requires = [
"dvp-api == 1.1.0",
"dvp-api == 1.3.0",
]

with open(os.path.join(PYTHON_SRC, 'dlpx/virtualization/common/VERSION')) as version_file:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.1.0
11 changes: 7 additions & 4 deletions docs/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ verify_ssl = true
name = "pypi"

[packages]
mkdocs = "*"
mkdocs-material = "*"
markdown-include = "*"
mkdocs-awesome-pages-plugin = "*"
mkdocs = "==0.17.5"
mkdocs-material = "==2.9.2"
markdown-include = "==0.5.1"
mkdocs-awesome-pages-plugin = "==1.2.0"

[requires]
python_version = "3.7"

[dev-packages]
123 changes: 85 additions & 38 deletions docs/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading