-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1301 from basetenlabs/bump-version-0.9.58
Release 0.9.58
- Loading branch information
Showing
28 changed files
with
1,244 additions
and
614 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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,52 @@ | ||
name: Truss CLI E2E tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
truss_version: | ||
description: "The version of Truss to test" | ||
required: false | ||
leave_deployments: | ||
description: "If set, deployments are not deleted." | ||
required: false | ||
default: false | ||
type: boolean | ||
jobs: | ||
test-chains: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Setup Python | ||
uses: ./.github/actions/setup-python/ | ||
- name: Poetry Install | ||
run: poetry install --with=dev,dev-server --extras=all | ||
- name: Install Truss | ||
run: | | ||
python -m venv truss_env | ||
TRUSS_VERSION=${{ github.event.inputs.truss_version || 'latest' }} | ||
if [ "$TRUSS_VERSION" = "latest" ]; then | ||
echo "Installing the latest version of Truss" | ||
truss_env/bin/pip install truss | ||
else | ||
echo "Installing Truss version $TRUSS_VERSION" | ||
truss_env/bin/pip install truss==$TRUSS_VERSION | ||
fi | ||
- name: Run tests | ||
env: | ||
TRUSS_ENV_PATH: ${{ github.workspace }}/truss_env | ||
run: | | ||
BASETEN_API_KEY_STAGING="${{ secrets.BASETEN_API_KEY_STAGING }}" \ | ||
LEAVE_DEPLOYMENTS="${{ github.event.inputs.leave_deployments }}" \ | ||
poetry run pytest smoketests \ | ||
--durations=0 \ | ||
--junitxml=report.xml \ | ||
-s --log-cli-level=INFO | ||
- name: Publish Test Report | ||
uses: mikepenz/action-junit-report@v4 | ||
if: always() | ||
with: | ||
commit: ${{ github.sha }} | ||
report_paths: "report.xml" |
This file contains 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 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
python 3.9.11 | ||
poetry 1.8.0 | ||
python 3.9.21 | ||
poetry 2.0.0 |
Oops, something went wrong.