-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create metadata add push to catalogue (#2272)
* add call to push-to-catalgoue lambda * update tests * upversion Dockerfile, config, changelog * change env name * upversion base image * add structlog to test reqs * better reqs
- Loading branch information
Showing
7 changed files
with
66 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
FROM ghcr.io/ministryofjustice/data-platform-daap-python-base:4.0.0 | ||
FROM ghcr.io/ministryofjustice/data-platform-daap-python-base:6.1.0 | ||
|
||
ARG VERSION | ||
|
||
ENV VERSION="${VERSION}" | ||
|
||
COPY src/var/task ${LAMBDA_TASK_ROOT} | ||
|
||
RUN python -m pip install --no-cache-dir --upgrade pip==23.3.1 \ | ||
&& python -m pip install --no-cache-dir --requirement requirements.txt | ||
|
||
CMD ["create_metadata.handler"] |
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
2 changes: 2 additions & 0 deletions
2
containers/daap-create-metadata/src/var/task/requirements.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
boto3==1.28.40 | ||
structlog==23.2.0 |
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,4 +1,4 @@ | ||
boto3==1.28.40 | ||
-r ../src/var/task/requirements.txt | ||
botocore==1.31.40 | ||
pytest==7.4.1 | ||
moto==4.2.2 | ||
|
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