Skip to content

Commit f8e5924

Browse files
chore: dependancy layer fix
1 parent c1c17c0 commit f8e5924

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/cdk_package_code.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,15 @@ jobs:
7272
mkdir -p .dependencies/slackBotFunction/python
7373
mkdir -p .dependencies/syncKnowledgeBaseFunction/python
7474
75-
# Debug: Check Poetry groups
76-
echo "Available Poetry groups:"
77-
poetry show --tree --only=slackBotFunction || echo "Failed to show slackBotFunction group"
78-
poetry show --tree --only=syncKnowledgeBaseFunction || echo "Failed to show syncKnowledgeBaseFunction group"
79-
8075
# Export dependencies with error handling
8176
echo "Exporting slackBotFunction dependencies..."
82-
if ! poetry export --without-hashes --format=requirements.txt --only=slackBotFunction > requirements_slackBotFunction; then
77+
if ! poetry export --without-hashes --format=requirements.txt --with slackBotFunction > requirements_slackBotFunction; then
8378
echo "Failed to export slackBotFunction dependencies"
8479
exit 1
8580
fi
8681
8782
echo "Exporting syncKnowledgeBaseFunction dependencies..."
88-
if ! poetry export --without-hashes --format=requirements.txt --only=syncKnowledgeBaseFunction > requirements_syncKnowledgeBaseFunction; then
83+
if ! poetry export --without-hashes --format=requirements.txt --with syncKnowledgeBaseFunction > requirements_syncKnowledgeBaseFunction; then
8984
echo "Failed to export syncKnowledgeBaseFunction dependencies"
9085
exit 1
9186
fi

0 commit comments

Comments
 (0)