Skip to content

Commit d993008

Browse files
committed
just standard
1 parent 9247755 commit d993008

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/LAMBDA_LAYERS_SOP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This document defines the standard operating procedures for managing Strands Age
1313
2. Specify PyPI package version
1414
3. Type "Create Lambda Layer {package_version}" to confirm
1515
4. All 136 individual layers deploy in parallel (4 Python × 2 arch × 17 regions)
16-
5. Each layer gets its own unique name: `strands-agents-py{PYTHON_VERSION}-{ARCH}-all`
16+
5. Each layer gets its own unique name: `strands-agents-py{PYTHON_VERSION}-{ARCH}`
1717

1818
### 2. Version Buffering for New Variants
1919
When adding new variants (new Python version, architecture, or region):

.github/workflows/publish-lambda-layer.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,11 @@ jobs:
110110
111111
- name: Download and install package
112112
run: |
113-
pip install strands-agents[all]==${{ inputs.package_version }} \
113+
pip install strands-agents==${{ inputs.package_version }} \
114114
--python-version ${{ matrix.python-version }} \
115115
--platform manylinux2014_${{ matrix.architecture }} \
116116
-t layer/python/ \
117117
--only-binary=:all:
118-
- name: Remove grpc files to reduce size
119-
run: |
120-
find layer/python -name "*grpc*" -type f -delete
121-
find layer/python -name "*grpc*" -type d -exec rm -rf {} + 2>/dev/null || true
122118
123119
- name: Create layer zip
124120
run: |
@@ -130,7 +126,7 @@ jobs:
130126
PYTHON_VERSION="${{ matrix.python-version }}"
131127
ARCH="${{ matrix.architecture }}"
132128
REGION="${{ matrix.region }}"
133-
LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}-all"
129+
LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}"
134130
ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
135131
BUCKET_NAME="${{ env.BUCKET_NAME }}-${ACCOUNT_ID}-${REGION}"
136132
LAYER_KEY="$LAYER_NAME/v${{ inputs.package_version }}/lambda-layer.zip"
@@ -162,7 +158,7 @@ jobs:
162158
PYTHON_VERSION="${{ matrix.python-version }}"
163159
ARCH="${{ matrix.architecture }}"
164160
REGION="${{ matrix.region }}"
165-
LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}-all"
161+
LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}"
166162
ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
167163
REGION_BUCKET="${{ env.BUCKET_NAME }}-${ACCOUNT_ID}-${REGION}"
168164
LAYER_KEY="$LAYER_NAME/v${{ inputs.package_version }}/lambda-layer.zip"

.github/workflows/yank-lambda-layer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
PYTHON_VERSION="${{ matrix.python-version }}"
6565
ARCH="${{ matrix.architecture }}"
6666
REGION="${{ matrix.region }}"
67-
LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}-all"
67+
LAYER_NAME="strands-agents-py${PYTHON_VERSION//./_}-${ARCH}"
6868
LAYER_VERSION="${{ inputs.layer_version }}"
6969
7070
echo "Attempting to yank layer $LAYER_NAME version $LAYER_VERSION in region $REGION"

0 commit comments

Comments
 (0)