-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CUMULUS-3779: Excludes aws-sdk v3 from webpack packages (#3689)
* Excludes aws-sdk v3 from webpack packages * Updates CL; Excludes aws-sdk v3 from new lambdas * Pushes new async_operations docker image. Bumps default tag * Updates entrypoint for async operations docker image * WIP: Testing CI against latest cumulus-ecs-task docker image * WIP: Bumps async_operations cumulus dependencies to v18.3.0 * WIP: Adds CUMULUS-3779 to CHANGELOG with migration notes * WIP: Bumps default cumulus-ecs-task version to 2.1.0
- Loading branch information
1 parent
4c65286
commit 1bb5c51
Showing
36 changed files
with
67 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,5 +80,8 @@ module.exports = { | |
node: { | ||
__dirname: false | ||
}, | ||
target: 'node' | ||
target: 'node', | ||
externals: [ | ||
/@aws-sdk\// | ||
] | ||
}; |
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 |
---|---|---|
|
@@ -46,5 +46,8 @@ module.exports = { | |
}, | ||
], | ||
}, | ||
target: 'node' | ||
target: 'node', | ||
externals: [ | ||
/@aws-sdk\// | ||
] | ||
}; |
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 |
---|---|---|
|
@@ -46,5 +46,8 @@ module.exports = { | |
}, | ||
], | ||
}, | ||
target: 'node' | ||
target: 'node', | ||
externals: [ | ||
/@aws-sdk\// | ||
] | ||
}; |
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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,18 +1,21 @@ | ||
FROM node:20.12.2-buster | ||
FROM amazon/aws-lambda-nodejs:20 | ||
|
||
USER root | ||
RUN sed -i -e '/jessie-updates/d' /etc/apt/sources.list | ||
RUN apt-get update && apt-get install -y unzip | ||
RUN dnf install -y unzip shadow-utils | ||
|
||
RUN groupadd -r task -g 433 | ||
RUN useradd -u 431 -r -g task -m -s /sbin/nologin -c "Docker image user" task | ||
RUN /usr/sbin/groupadd -r task -g 433 | ||
RUN /usr/sbin/useradd -u 431 -r -g task -m -s /sbin/nologin -c "Docker image user" task | ||
|
||
USER task | ||
WORKDIR /home/task | ||
|
||
COPY package.json /home/task/ | ||
RUN npm install | ||
|
||
RUN cp -a /var/runtime/node_modules/. /home/task/node_modules/ | ||
|
||
COPY index.js /home/task/ | ||
|
||
CMD [ "node", "--harmony", "index.js" ] | ||
|
||
ENTRYPOINT [ ] |
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ module.exports = { | |
}, | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{ formidable: 'url' }, | ||
], | ||
|
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 |
---|---|---|
|
@@ -32,6 +32,7 @@ module.exports = { | |
}, | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{ formidable: 'url' }, | ||
], | ||
|
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{ formidable: 'url' } | ||
], | ||
|
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{ formidable: 'url' }, | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ module.exports = { | |
} | ||
}, | ||
externals: [ | ||
/@aws-sdk\//, | ||
'electron', | ||
{'formidable': 'url'} | ||
], | ||
|