Skip to content

Commit

Permalink
Updated release version and removed migrationtool changes from github…
Browse files Browse the repository at this point in the history
… action.
  • Loading branch information
mkhachane committed Sep 9, 2024
1 parent c0250d4 commit d4de2cb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 29 deletions.
36 changes: 13 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,27 +101,17 @@ jobs:
mkdir dist
if [[ ${{ steps.publish_target.outputs.PUBLISH_ALL_TARGET }} == true ]] || [[ ${{ steps.publish_target.outputs.PUBLISH_SDK_TARGET }} == true ]]; then
./create_sdk_pip_packages.sh sdk
fi
if [[ ${{ steps.publish_target.outputs.PUBLISH_ALL_TARGET }} == true ]] || [[ ${{ steps.publish_target.outputs.PUBLISH_MIGRATION_TARGET }} == true ]]; then
./create_sdk_pip_packages.sh migrationtools
./create_sdk_pkgs.sh
fi
if [[ ${{ steps.publish_target.outputs.TAG_NAME }} == "test-"* ]]; then
echo "Test tag found. Skipping python assets upload to public repo."
else
echo "Normal tag found. Uploading python assets to public repo."
if [[ ${{ steps.publish_target.outputs.PUBLISH_ALL_TARGET }} == true ]] || [[ ${{ steps.publish_target.outputs.PUBLISH_SDK_TARGET }} == true ]]; then
./create_sdk_pkgs.sh
./create_sdk_pypi.sh sdk
fi
if [[ ${{ steps.publish_target.outputs.PUBLISH_ALL_TARGET }} == true ]] || [[ ${{ steps.publish_target.outputs.PUBLISH_MIGRATION_TARGET }} == true ]]; then
./create_sdk_pypi.sh migrationtools
fi
echo "Skipping uploading python-sdk artifacts on Pypi."
# ./create_sdk_pypi.sh sdk
fi
echo "AVI VERSION=== $AVI_VERSION"
ls dist/
if [[ ${{ steps.publish_target.outputs.PUBLISH_ALL_TARGET }} == true ]] || [[ ${{ steps.publish_target.outputs.PUBLISH_MIGRATION_TARGET }} == true ]]; then
mv dist/avimigrationtools-$AVI_VERSION.tar.gz ../avimigrationtools-$AVI_VERSION.tar.gz
fi
if [[ ${{ steps.publish_target.outputs.PUBLISH_ALL_TARGET }} == true ]] || [[ ${{ steps.publish_target.outputs.PUBLISH_SDK_TARGET }} == true ]]; then
mv dist/avisdk-$AVI_VERSION.tar.gz ../avisdk-$AVI_VERSION.tar.gz
#mv dist/python-avisdk_0_all.deb ../avisdk-$AVI_VERSION.deb
Expand Down Expand Up @@ -149,16 +139,16 @@ jobs:
asset_name: pip-package-avisdk-${{ steps.get_sdk_version.outputs.AVI_VERSION }}.tar.gz
asset_content_type: application/gzip

- if: steps.publish_target.outputs.PUBLISH_ALL_TARGET == 'true' || steps.publish_target.outputs.PUBLISH_MIGRATION_TARGET == 'true'
name: Upload Avi Migration Tools pip package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
upload_url: ${{ steps.update_release.outputs.upload_url }}
asset_path: avimigrationtools-${{ steps.get_sdk_version.outputs.AVI_VERSION }}.tar.gz
asset_name: pip-package-avimigrationtools-${{ steps.get_sdk_version.outputs.AVI_VERSION }}.tar.gz
asset_content_type: application/gzip
# - if: steps.publish_target.outputs.PUBLISH_ALL_TARGET == 'true' || steps.publish_target.outputs.PUBLISH_MIGRATION_TARGET == 'true'
# name: Upload Avi Migration Tools pip package
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.github_token }}
# with:
# upload_url: ${{ steps.update_release.outputs.upload_url }}
# asset_path: avimigrationtools-${{ steps.get_sdk_version.outputs.AVI_VERSION }}.tar.gz
# asset_name: pip-package-avimigrationtools-${{ steps.get_sdk_version.outputs.AVI_VERSION }}.tar.gz
# asset_content_type: application/gzip

#- name: Upload Avi API SDK debian package
# uses: actions/upload-release-asset@v1
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ into the Avi Solution. Avi SDK provides the following tools and utilities:
- **[Python AVI API SDK](./python/avi/sdk/)**: AVI API SDK is a Python Package that
provides APIs to communicate with Avi Controller’s REST APIs. It extends Python’s Request Library’s Session Class
and provides utilities to simplify integration with Avi Controller.
- **[AVI Migration Tools](./python/avi/migrationtools/)**: AVI migrations tools are the python
scripts which helps to migrate/convert F5, Netscaler configurations to AVI.
- **[Avi Go SDK and Utilities](./go/)**: Avi Go SDK is a Go Package that provides APIs to communicate with
Avi Controller’s REST APIs. It uses Avisession class and provides utilities to simplify integration with Avi
controller.
Expand All @@ -21,8 +19,6 @@ as a dependency-free npm module.

**[Avi API SDK and Utilities](./python/avi/sdk/README.md)**

**[Avi Migration Tools](./python/avi/migrationtools/README.md)**

**[Avi Go SDK and Utilities](./go/README.md)**

**[Avi Java API SDK](./java/README.md)**
Expand All @@ -35,4 +31,4 @@ as a dependency-free npm module.

The alb-sdk project team welcomes contributions from the community. Before you start working with alb-sdk, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch.


**Note**: Migrationtools will be released separately as part of AVI release process. Going forward, we will release the AVI migration tools as a standalone release and not part of the SDK starting with the 30.2.x releases.
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.vmware.avi.sdk</groupId>
<artifactId>avisdk</artifactId>
<version>22.1.3</version>
<version>30.2.2</version>
<name>avisdk</name>
<description>Avi SDK is a java API which creates a session with controller and perform CRUD operations.</description>
<url>https://github.com/vmware/alb-sdk/tree/master/java</url>
Expand Down

0 comments on commit d4de2cb

Please sign in to comment.