Skip to content

Commit 6b7458f

Browse files
committed
other images
1 parent 6ee1eb5 commit 6b7458f

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,7 @@ jobs:
919919
- name: Pull SAM Docker images
920920
if: matrix.test-application == 'aws-serverless'
921921
run: |
922-
docker pull public.ecr.aws/sam/build-nodejs18.x
923-
docker pull public.ecr.aws/sam/build-nodejs20.x
924-
docker pull public.ecr.aws/sam/build-nodejs22.x
922+
docker pull public.ecr.aws/sam/emulation-nodejs18.x
925923
- name: Restore caches
926924
uses: ./.github/actions/restore-cache
927925
with:

dev-packages/e2e-tests/test-applications/aws-serverless/src/lambda-functions-layer/TracingCjs/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ const Sentry = require('@sentry/aws-serverless');
22
const http = require('http');
33

44
exports.handler = async (event, context) => {
5-
console.log(process.version);
6-
console.log('PROCESS VERSION');
75
await Sentry.startSpan({ name: 'manual-span', op: 'test' }, async () => {
86
await new Promise(resolve => {
97
http.get('http://example.com', res => {
108
res.on('data', d => {
11-
process.stdout.write(process.version);
9+
process.stdout.write(d);
1210
});
1311

1412
res.on('end', () => {

dev-packages/e2e-tests/test-applications/aws-serverless/tests/lambda-fixtures.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ export const test = base.extend<{ testEnvironment: LocalLambdaStack; lambdaClien
4141
//'EAGER',
4242
'--docker-network',
4343
DOCKER_NETWORK_NAME,
44-
'--invoke-image',
45-
`public.ecr.aws/sam/build-nodejs${process.env.NODE_VERSION ?? '22'}.x`,
44+
...(process.env.NODE_VERSION === '18' ? ['--invoke-image', `public.ecr.aws/sam/emulation-nodejs18.x`] : []),
4645
],
4746
{
4847
stdio: ['ignore', debugLog.fd, debugLog.fd],

0 commit comments

Comments
 (0)