Skip to content

Commit 1f9fcb0

Browse files
Upgrade: [dependabot] - bump moto from 5.1.15 to 5.1.16 (#140)
Bumps [moto](https://github.com/getmoto/moto) from 5.1.15 to 5.1.16. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getmoto/moto/blob/master/CHANGELOG.md">moto's changelog</a>.</em></p> <blockquote> <h2>5.1.16</h2> <p>Docker Digest for 5.1.16: <em>sha256:f78c8e0370cabe2516395f351fb27e1df1aa6dc2d728d6de16d5dfbc9ccf595d</em></p> <pre><code>General: * Removed support for the RoboMaker and QLDB, now that AWS has also deprecated these services <p>New Services:<br /> * S3Vectors:<br /> * create_vector_bucket()<br /> * delete_vector_bucket()<br /> * get_vector_bucket()<br /> * list_vector_buckets()</p> <p>New Methods:<br /> * Glue:<br /> * create_security_configuration()<br /> * delete_security_configuration()<br /> * get_security_configuration()<br /> * get_security_configurations()</p> <pre><code>* FSx: * create_backup() * delete_backup() * list_tags_for_resource() * VPCLattice: * get_service() * get_service_network() * list_services() * list_service_networks() * list_tags_for_resource() * tag_resource() * untag_resource() </code></pre> <p>Miscellaneous:<br /> * ACM: list_certificates() now supports the 'keyTypes'-filter<br /> * APIGateway: get_stage() now supports stages that are URL encoded, like '$default'<br /> * DynamoDB now supports the WarmThroughput parameter on Tables and Indexes<br /> * DynamoDB: execute_statement() now supports querying indexes (both GSI and LSI)<br /> * EC2: create_volume() now supports the MultiAttachEnabled-parameter<br /> * EC2: modify_volume() now supports the parameters Iops, Throughput and MultiAttachEnabled<br /> * ElastiCache: create_cache_cluster() now validates that the mandatory parameter CacheNodeType is provided<br /> * ELBv2: describe_listener_certificates() now returns the IsDefault-field<br /> * Glue: create_connection() now supports the parameters ConnectionProperties, SparkProperties, AthenaProperties and PythonProperties<br /> * ResourceGroupsTaggingAPI: get_resources() now supports FSx resource types (Backups and FileSystems)<br /> * ResourceGroupsTaggingAPI: get_resources() now supports VPCLattice resource types (Services and Service Networks)<br /> * ResourceGroupsTaggingAPI: untag_resources() now supports RDS resource types<br /> * S3: put_object_tagging() now throws MethodNotAllowed when trying to tag a DeleteMarker<br /> * SSM: get_parameters_by_path() now validates that the maxResults-parameter is 10 at most<br /> </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getmoto/moto/commit/dc8ec8beb62c6067e751788a935dacc58b2b5162"><code>dc8ec8b</code></a> Pre-Release: Up Version Number</li> <li><a href="https://github.com/getmoto/moto/commit/e230201ca01de4ddbd1cb16dfe2ac6f0719c71ce"><code>e230201</code></a> Prep release 5.1.16 (<a href="https://redirect.github.com/getmoto/moto/issues/9436">#9436</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/882728066bb430a2afa84753ab164df1738812c5"><code>8827280</code></a> chore: update SSM default parameters (<a href="https://redirect.github.com/getmoto/moto/issues/9434">#9434</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/53e19f156c6f26bd2fe6a88a26a5493f42a40a24"><code>53e19f1</code></a> chore: update EC2 Instance Types (<a href="https://redirect.github.com/getmoto/moto/issues/9433">#9433</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/3c033d7c7abeccd09337a059bc327c9d51084c28"><code>3c033d7</code></a> chore: update EC2 Instance Offerings (<a href="https://redirect.github.com/getmoto/moto/issues/9432">#9432</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/f709dd93dd6592012f1ff288f5432ba12674f1cc"><code>f709dd9</code></a> chore: update EMR Instance Types (<a href="https://redirect.github.com/getmoto/moto/issues/9431">#9431</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/ba75ce6e1e8a46966e66ca748970f57c9fefdf82"><code>ba75ce6</code></a> Bump the go-deps group in /other_langs/tests_go with 6 updates (<a href="https://redirect.github.com/getmoto/moto/issues/9430">#9430</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/e1a3dffa441a1985753d40615c1b2872fb9b8294"><code>e1a3dff</code></a> Bump software.amazon.awssdk:bom (<a href="https://redirect.github.com/getmoto/moto/issues/9429">#9429</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/4c65b6c65fa5e9596bb5d35cd292da75f1564ef4"><code>4c65b6c</code></a> ManagedBlockChain: Use serialization framework for responses (<a href="https://redirect.github.com/getmoto/moto/issues/9428">#9428</a>)</li> <li><a href="https://github.com/getmoto/moto/commit/69e618a759d868406ec5f099ad8117d581fe3861"><code>69e618a</code></a> chore: update SSM default AMI's (<a href="https://redirect.github.com/getmoto/moto/issues/9426">#9426</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getmoto/moto/compare/5.1.15...5.1.16">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=moto&package-manager=pip&previous-version=5.1.15&new-version=5.1.16)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: bencegadanyi1-nhs <[email protected]>
1 parent 67c2a56 commit 1f9fcb0

File tree

3 files changed

+51
-50
lines changed

3 files changed

+51
-50
lines changed

.github/workflows/cdk_package_code.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
id: asdf-version
3131
run: echo "version=$(awk '!/^#/ && NF {print $1; exit}' .tool-versions.asdf)" >> "$GITHUB_OUTPUT"
3232

33-
3433
# using git commit sha for version of action to ensure we have stable version
3534
- name: Install asdf
3635
uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302
@@ -67,16 +66,18 @@ jobs:
6766
6867
- name: Build Python Lambda Functions
6968
run: |
70-
poetry export --without-hashes --format=requirements.txt --with slackBotFunction > requirements_slackBotFunction
71-
poetry export --without-hashes --format=requirements.txt --with syncKnowledgeBaseFunction > requirements_syncKnowledgeBaseFunction
72-
if [ ! -s requirements_slackBotFunction ]; then \
73-
echo "Error: requirements_slackBotFunction is empty or missing"; \
69+
poetry show --only=slackBotFunction | grep -E "^[a-zA-Z]" | awk '{print $1"=="$2}' > requirements_slackBotFunction
70+
poetry show --only=syncKnowledgeBaseFunction | grep -E "^[a-zA-Z]" | awk '{print $1"=="$2}' > requirements_syncKnowledgeBaseFunction
71+
if [ ! -s requirements_slackBotFunction ] || [ "$(grep -c -v '^[[:space:]]*$' requirements_slackBotFunction)" -eq 0 ]; then \
72+
echo "Error: requirements_slackBotFunction is empty or contains only blank lines"; \
7473
exit 1; \
7574
fi
76-
if [ ! -s requirements_syncKnowledgeBaseFunction ]; then \
77-
echo "Error: requirements_syncKnowledgeBaseFunction is empty or missing"; \
75+
if [ ! -s requirements_syncKnowledgeBaseFunction ] || [ "$(grep -c -v '^[[:space:]]*$' requirements_syncKnowledgeBaseFunction)" -eq 0 ]; then \
76+
echo "Error: requirements_syncKnowledgeBaseFunction is empty or contains only blank lines"; \
7877
exit 1; \
7978
fi
79+
mkdir -p .dependencies/slackBotFunction/python
80+
mkdir -p .dependencies/syncKnowledgeBaseFunction/python
8081
pip3 install -r requirements_slackBotFunction -t .dependencies/slackBotFunction/python
8182
pip3 install -r requirements_syncKnowledgeBaseFunction -t .dependencies/syncKnowledgeBaseFunction/python
8283

0 commit comments

Comments
 (0)