Skip to content

Commit 2a3820b

Browse files
committed
test
1 parent a6c3cae commit 2a3820b

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

.github/workflows/node-sample-app-s3-deploy.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
name: Sample App Deployment - Node S3
55
on:
66
workflow_dispatch: # be able to run the workflow on demand
7+
push:
8+
branches:
9+
- genesis-js-release-test
710

811
permissions:
912
id-token: write
@@ -54,22 +57,22 @@ jobs:
5457
working-directory: sample-apps/node
5558
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./node-sample-app.zip --key node-sample-app.zip
5659

57-
- name: Build Lambda Sample App
58-
uses: actions/checkout@v4
59-
with:
60-
repository: 'aws-observability/aws-otel-js-instrumentation'
61-
- name: Setup Layer Tools
62-
shell: bash
63-
run: npm install
64-
working-directory: lambda-layer
65-
- name: Build Lambda Sample App
66-
shell: bash
67-
run: npm install
68-
working-directory: lambda-layer/sample-apps/aws-sdk
60+
# - name: Build Lambda Sample App
61+
# uses: actions/checkout@v4
62+
# with:
63+
# repository: 'aws-observability/aws-otel-js-instrumentation'
64+
# - name: Setup Layer Tools
65+
# shell: bash
66+
# run: npm install
67+
# working-directory: lambda-layer
68+
# - name: Build Lambda Sample App
69+
# shell: bash
70+
# run: npm install
71+
# working-directory: lambda-layer/sample-apps/aws-sdk
6972

70-
- name: Upload to Lambda Sample App to S3
71-
working-directory: lambda-layer/sample-apps/aws-sdk
72-
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./build/function.zip --key jsfunction.zip
73+
# - name: Upload to Lambda Sample App to S3
74+
# working-directory: lambda-layer/sample-apps/aws-sdk
75+
# run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./build/function.zip --key jsfunction.zip
7376

7477

7578

sample-apps/node/genai-service/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ const PORT = parseInt(process.env.SAMPLE_APP_PORT || '8000', 10);
1111
const llm = new BedrockChat({
1212
model: "anthropic.claude-3-sonnet-20240229-v1:0",
1313
region: "us-east-1",
14-
credentials: {
15-
accessKeyId: process.env.BEDROCK_AWS_ACCESS_KEY_ID,
16-
secretAccessKey: process.env.BEDROCK_AWS_SECRET_ACCESS_KEY,
17-
},
1814
temperature: 0.7,
1915
});
2016

0 commit comments

Comments
 (0)