Skip to content

Commit 90c3cdf

Browse files
authored
Release v3.2.0 into Main
2 parents 611954b + d6eec7f commit 90c3cdf

File tree

122 files changed

+7097
-3394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+7097
-3394
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Deploy Demo Environment
2+
on:
3+
push:
4+
branches: [ "main"]
5+
6+
permissions:
7+
id-token: write
8+
contents: read
9+
10+
jobs:
11+
CheckPendingWorkflow:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: ahmadnassri/action-workflow-queue@v1
15+
with:
16+
delay: 300000
17+
timeout: 7200000
18+
DeployLISA:
19+
needs: CheckPendingWorkflow
20+
environment: demo
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Configure AWS Credentials
25+
uses: aws-actions/configure-aws-credentials@v4
26+
with:
27+
aws-region: ${{ vars.AWS_REGION }}
28+
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.ROLE_NAME_TO_ASSUME }}
29+
role-session-name: GitHub_to_AWS_via_FederatedOIDC
30+
role-duration-seconds: 14400
31+
- name: Create config-custom.yaml
32+
id: create-yaml
33+
run: |
34+
echo "${{vars.CONFIG_YAML}}" > config-custom.yaml
35+
- name: Set up Python 3.11
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: "3.11"
39+
- name: Use Node.js 20.x
40+
uses: actions/setup-node@v4
41+
with:
42+
node-version: 20.x
43+
- name: Install CDK dependencies
44+
run: |
45+
npm install
46+
- name: Deploy LISA
47+
run: |
48+
make deploy HEADLESS=true
49+
SendSlackNotification:
50+
name: Send Slack Notification
51+
needs: [ DeployLISA ]
52+
runs-on: ubuntu-latest
53+
if: always()
54+
steps:
55+
- name: Send Notification that Demo Deploy Finished
56+
uses: rtCamp/action-slack-notify@v2
57+
env:
58+
SLACK_WEBHOOK: ${{ secrets.INTERNAL_DEV_SLACK_WEBHOOK_URL }}
59+
SLACK_COLOR: ${{ contains(join(needs.*.result, ' '), 'failure') && 'failure' || 'success' }}
60+
SLACK_TITLE: 'Demo Deploy Finished'
61+
SLACK_FOOTER: ''
62+
MSG_MINIMAL: 'actions url,commit'
63+
SLACK_MESSAGE_ON_FAILURE: '<!here> Demo Deploy FAILED on branch ${{ github.head_ref || github.ref_name }} for <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|commit>'
64+
SLACK_MESSAGE_ON_SUCCESS: 'Demo Deploy SUCCESS on branch ${{ github.head_ref || github.ref_name }} for <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|commit>.'
65+
SLACK_MESSAGE: 'Demo Deploy Finished with status ${{ job.status }} on branch ${{ github.head_ref || github.ref_name }} for <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|commit>'
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Deploy Dev Environment
2+
on:
3+
push:
4+
branches: [ "main", "develop", "release/**" ]
5+
6+
permissions:
7+
id-token: write
8+
contents: read
9+
10+
jobs:
11+
CheckPendingWorkflow:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: ahmadnassri/action-workflow-queue@v1
15+
with:
16+
delay: 300000
17+
timeout: 7200000
18+
DeployLISA:
19+
needs: CheckPendingWorkflow
20+
environment: dev
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Configure AWS Credentials
25+
uses: aws-actions/configure-aws-credentials@v4
26+
with:
27+
aws-region: ${{ vars.AWS_REGION }}
28+
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.ROLE_NAME_TO_ASSUME }}
29+
role-session-name: GitHub_to_AWS_via_FederatedOIDC
30+
role-duration-seconds: 14400
31+
- name: Create config-custom.yaml
32+
id: create-yaml
33+
run: |
34+
echo "${{vars.CONFIG_YAML}}" > config-custom.yaml
35+
- name: Set up Python 3.11
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: "3.11"
39+
- name: Use Node.js 20.x
40+
uses: actions/setup-node@v4
41+
with:
42+
node-version: 20.x
43+
- name: Install CDK dependencies
44+
run: |
45+
npm install
46+
- name: Deploy LISA
47+
run: |
48+
make deploy HEADLESS=true
49+
SendSlackNotification:
50+
name: Send Slack Notification
51+
needs: [ DeployLISA ]
52+
runs-on: ubuntu-latest
53+
if: always()
54+
steps:
55+
- name: Send Notification that Dev Deploy Finished
56+
uses: rtCamp/action-slack-notify@v2
57+
env:
58+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
59+
SLACK_COLOR: ${{ contains(join(needs.*.result, ' '), 'failure') && 'failure' || 'success' }}
60+
SLACK_TITLE: 'Dev Deploy Finished'
61+
SLACK_FOOTER: ''
62+
MSG_MINIMAL: 'actions url,commit'
63+
SLACK_MESSAGE_ON_FAILURE: '<!here> Dev Deploy FAILED on branch ${{ github.head_ref || github.ref_name }} for <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|commit>'
64+
SLACK_MESSAGE_ON_SUCCESS: 'Dev Deploy SUCCESS on branch ${{ github.head_ref || github.ref_name }} for <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|commit>.'
65+
SLACK_MESSAGE: 'Dev Deploy Finished with status ${{ job.status }} on branch ${{ github.head_ref || github.ref_name }} for <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|commit>'

.github/workflows/code.hotfix.branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
ref: refs/tags/${{ github.event.inputs.source_tag }}
2525
- name: Create Hotfix Branch and Update Version
2626
run: |
27-
git config --global user.email "petermul@amazon.com"
27+
git config --global user.email "evmann@amazon.com"
2828
git config --global user.name "github_actions_lisa"
2929
SRC_TAG=${{ github.event.inputs.source_tag }}
3030
DST_TAG=${{ github.event.inputs.dest_tag }}

.github/workflows/code.merge.main-to-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
ssh-key: ${{ secrets.DEPLOYMENT_SSH_KEY }}
1919
- name: merge main into develop
2020
run: |
21-
git config --global user.email "petermul@amazon.com"
21+
git config --global user.email "evmann@amazon.com"
2222
git config --global user.name "github_actions_lisa"
2323
git fetch --unshallow
2424
git checkout develop

.github/workflows/code.release.branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: develop
2222
- name: Create Release Branch and Update Version
2323
run: |
24-
git config --global user.email "petermul@amazon.com"
24+
git config --global user.email "evmann@amazon.com"
2525
git config --global user.name "github_actions_lisa"
2626
RELEASE_TAG=${{ github.event.inputs.release_tag }}
2727
git checkout -b release/${{ github.event.inputs.release_tag }}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
name: Deploy VitePress site to Github Pages
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 20
29+
cache: npm
30+
- name: Setup Pages
31+
uses: actions/configure-pages@v4
32+
- name: Install root dependencies
33+
run: |
34+
npm install
35+
- name: Install dependencies
36+
working-directory: ./lib/docs
37+
run: npm install
38+
env:
39+
CI: ""
40+
- name: Build with VitePress
41+
working-directory: ./lib/docs
42+
run: npm run build
43+
env:
44+
CI: ""
45+
DOCS_BASE_PATH: '/LISA/'
46+
- name: Upload artifact
47+
uses: actions/upload-pages-artifact@v3
48+
with:
49+
path: ./lib/docs/dist
50+
deploy:
51+
environment:
52+
name: github-pages
53+
url: ${{ steps.deployment.outputs.page_url }}
54+
needs: build
55+
runs-on: ubuntu-latest
56+
name: Deploy
57+
steps:
58+
- name: Deploy to GitHub Pages
59+
id: deployment
60+
uses: actions/deploy-pages@v4

.github/workflows/test-and-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: ['main', 'develop', 'release/**', 'hotfix/**']
66
pull_request:
7-
branches: ['main', 'develop', 'release/**', 'hotfix/**']
7+
branches: ['main', 'develop', 'release/**', 'hotfix/**', 'feature/**']
88

99
permissions:
1010
contents: read

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ coverage
3232
/models
3333
# Deployment configuration file
3434
config.yaml
35+
config-custom.yaml

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1+
# v3.2.0
2+
## Key Features
3+
### Enhanced Deployment Configuration
4+
- LISA v3.2.0 introduces a significant update to the configuration file schema, optimizing the deployment process
5+
- The previous single config.yaml file has been replaced with a more flexible two-file system: config-base.yaml and config-custom.yaml
6+
- config-base.yaml now contains default properties, which can be selectively overridden using config-custom.yaml, allowing for greater customization while maintaining a standardized base configuration
7+
- The number of required properties in the config-custom.yaml file has been reduced to 8 items, simplifying the configuration process
8+
- This update enhances the overall flexibility and maintainability of LISA configurations, providing a more robust foundation for future developments and easier customization for end-users
9+
10+
#### Important Note
11+
- The previous config.yaml file format is no longer compatible with this update
12+
- To facilitate migration, we have developed a utility. Users can execute `npm run migrate-properties` to automatically convert their existing config.yaml file to the new config-custom.yaml format
13+
14+
### Admin UI Configuration Page
15+
- Administrative Control of Chat Components:
16+
- Administrators now have granular control over the activation and deactivation of chat components for all users through the Configuration Page
17+
- This feature allows for dynamic management of user interface elements, enhancing system flexibility and user experience customization
18+
- Items that can be configured include:
19+
- The option to delete session history
20+
- Visibility of message metadata
21+
- Configuration of chat Kwargs
22+
- Customization of prompt templates
23+
- Adjust chat history buffer settings
24+
- Modify the number of RAG documents to be included in the retrieval process (TopK)
25+
- Ability to upload RAG documents
26+
- Ability to upload in-context documents
27+
- System Banner Management:
28+
- The Configuration Page now includes functionality for administrators to manage the system banner
29+
- Administrators can activate, deactivate, and update the content of the system banner
30+
31+
### LISA Documentation Site
32+
- We are pleased to announce the launch of the official [LISA Documentation site](https://awslabs.github.io/LISA/)
33+
- This comprehensive resource provides customers with additional guides and extensive information on LISA
34+
- The documentation is also optionally deployable within your environment during LISA deployment
35+
- The team is continuously working to add and expand content available on this site
36+
37+
## Enhancements
38+
- Implemented a selection-based interface for instance input, replacing free text entry
39+
- Improved CDK Nag integration across stacks
40+
- Added functionality for administrators to specify block volume size for models, enabling successful deployment of larger models
41+
- Introduced options for administrators to choose between Private or Regional API Gateway endpoints
42+
- Enabled subnet specification within the designated VPC for deployed resources
43+
- Implemented support for headless deployment execution
44+
45+
## Bug Fixes
46+
- Resolved issues with Create and Update model alerts to ensure proper display in the modal
47+
- Enhanced error handling for model creation/update processes to cover all potential scenarios
48+
49+
## Coming Soon
50+
- Version 3.3.0 will include a new RAG ingestion pipeline. This will allow users to configure an S3 bucket and an ingestion trigger. When triggered, these documents will be pre-processed and loaded into the selected vector store.
51+
52+
## Acknowledgements
53+
* @bedanley
54+
* @estohlmann
55+
* @dustins
56+
57+
**Full Changelog**: https://github.com/awslabs/LISA/compare/v3.1.0...v3.2.0
58+
59+
160
# v3.1.0
261
## Enhancements
362
### Model Management Administration

0 commit comments

Comments
 (0)