From bfc31ba3ff4d0110aaf155a9dc7ce903c74d9f0d Mon Sep 17 00:00:00 2001 From: Ian Wilson <77387864+iwilson-oa@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:14:45 +0000 Subject: [PATCH 1/3] Bump devcontainer base image and pre-commit-hooks version --- .devcontainer/Dockerfile | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 63c9ef2..ce2a92c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,2 +1,2 @@ ARG VARIANT="3.10-bullseye" -FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} +FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c2b530..4e6fd30 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: args: - --fix - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer From 43ec7a692ab4dbf94fe7fa2c9d0752106bc7ffc6 Mon Sep 17 00:00:00 2001 From: Ian Wilson <77387864+iwilson-oa@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:21:42 +0000 Subject: [PATCH 2/3] Adjust logging level of lambda output into OTF logs from debug to info --- CHANGELOG.md | 5 +++++ src/opentaskpy/addons/aws/remotehandlers/lambda.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a453cc..81156fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +# v24.49.0 + +- Adjust logging level of lambda output into OTF logs from debug to info +- Bump devcontainer base image and pre-commit-hooks version + # v24.44.0 - Alter logging messages for lambda and s3 transfers a little diff --git a/src/opentaskpy/addons/aws/remotehandlers/lambda.py b/src/opentaskpy/addons/aws/remotehandlers/lambda.py index 269f53e..18f5dc0 100644 --- a/src/opentaskpy/addons/aws/remotehandlers/lambda.py +++ b/src/opentaskpy/addons/aws/remotehandlers/lambda.py @@ -165,7 +165,7 @@ def execute(self) -> bool: # base64 decode the result log_result = base64.b64decode(invoke_response["LogResult"]).decode() - self.logger.debug(f"Lambda function log: {log_result}") + self.logger.info(f"Lambda function log: {log_result}") # Also see if there's any actual result body if "Payload" in invoke_response: From 5a79786f243d20b1a57a9e8ff913268a270a586f Mon Sep 17 00:00:00 2001 From: Ian Wilson <77387864+iwilson-oa@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:21:49 +0000 Subject: [PATCH 3/3] bump version v24.44.0 -> v24.49.0 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0d7ffdf..b90a6e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "otf-addons-aws" -version = "v24.44.0" +version = "v24.49.0" authors = [{ name = "Adam McDonagh", email = "adam@elitemonkey.net" }] license = { text = "GPLv3" } classifiers = [ @@ -53,7 +53,7 @@ dev = [ profile = 'black' [tool.bumpver] -current_version = "v24.44.0" +current_version = "v24.49.0" version_pattern = "vYY.WW.PATCH[-TAG]" commit_message = "bump version {old_version} -> {new_version}" commit = true