Skip to content

Commit e3b2df2

Browse files
committed
fix layer packaging
1 parent 598c817 commit e3b2df2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cdk_package_code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
run: |
6464
poetry export --without-hashes --format=requirements.txt --with slackBotFunction > requirements_slackBotFunction
6565
poetry export --without-hashes --format=requirements.txt --with syncKnowledgeBaseFunction > requirements_syncKnowledgeBaseFunction
66-
pip3 install -r requirements_slackBotFunction -t packages/slackBotFunction/.dependencies
67-
pip3 install -r requirements_syncKnowledgeBaseFunction -t packages/syncKnowledgeBaseFunction/.dependencies
66+
pip3 install -r requirements_slackBotFunction -t packages/slackBotFunction/.dependencies/python
67+
pip3 install -r requirements_syncKnowledgeBaseFunction -t packages/syncKnowledgeBaseFunction/.dependencies/python
6868
6969
- name: 'Tar files'
7070
run: |

scripts/run_sync.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ echo "Generating config for ${EPSAM_CONFIG}"
6565
echo "Installing dependencies locally"
6666
poetry export --without-hashes --format=requirements.txt --with slackBotFunction > .requirements_slackBotFunction
6767
poetry export --without-hashes --format=requirements.txt --with syncKnowledgeBaseFunction > .requirements_syncKnowledgeBaseFunction
68-
pip3 install -r .requirements_slackBotFunction -t packages/slackBotFunction/.dependencies
69-
pip3 install -r .requirements_syncKnowledgeBaseFunction -t packages/syncKnowledgeBaseFunction/.dependencies
68+
pip3 install -r .requirements_slackBotFunction -t packages/slackBotFunction/.dependencies/python
69+
pip3 install -r .requirements_syncKnowledgeBaseFunction -t packages/syncKnowledgeBaseFunction/.dependencies/python
7070

7171
sync_epsam_app() {
7272
echo "Starting sync epsam CDK app"
@@ -82,4 +82,4 @@ sync_epsam_app() {
8282
}
8383

8484

85-
# (trap 'kill 0' SIGINT; sync_epsam_app)
85+
(trap 'kill 0' SIGINT; sync_epsam_app)

0 commit comments

Comments
 (0)