Skip to content

Commit 3568c8b

Browse files
authored
Merge branch 'main' into analyze/eks-versions
2 parents 36a6cad + 1afb83b commit 3568c8b

19 files changed

Lines changed: 55 additions & 29 deletions

File tree

.github/workflows/check-integration-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
get-modules:
1010
name: Get Modules
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1214
outputs:
1315
matrix: ${{ steps.get-modules.outputs.matrix }}
1416
steps:

.github/workflows/module-checks-dev-requirements-change.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
get-modules:
2020
name: Get Modules
2121
runs-on: ubuntu-latest
22+
permissions:
23+
contents: read
2224
outputs:
2325
matrix: ${{ steps.get-modules.outputs.matrix }}
2426
steps:
@@ -42,6 +44,8 @@ jobs:
4244
test:
4345
name: Run unit tests for module ${{ matrix.modules.module_name }}
4446
needs: get-modules
47+
permissions:
48+
contents: read
4549
strategy:
4650
fail-fast: false
4751
matrix:

.github/workflows/module-checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
get-modules:
2222
name: Get Modules
2323
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
2426
outputs:
2527
matrix: ${{ steps.get-modules.outputs.matrix }}
2628
steps:
@@ -30,7 +32,7 @@ jobs:
3032
fetch-depth: 0
3133
- name: Get changed files
3234
id: changed-files
33-
uses: tj-actions/changed-files@v44
35+
uses: tj-actions/changed-files@v46.0.1
3436
with:
3537
files: modules/**
3638
- name: List all changed files
@@ -58,6 +60,8 @@ jobs:
5860
test:
5961
name: Run unit tests for module ${{ matrix.modules.module_name }}
6062
needs: get-modules
63+
permissions:
64+
contents: read
6165
strategy:
6266
fail-fast: false
6367
matrix:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323
- updated all pyproject.toml files to target Python 3.11
2424
- regenerated all requirements.txt files with Python 3.11 compatibility
2525
- updated default EKS version in manifests and documentation from 1.25/1.29 to 1.30
26+
- upgraded `tj-actions/changed-files` from v44 to v46.0.1 in GitHub Actions workflows
27+
- upgraded Apache Airflow from 2.5.1 to 2.11.1 in `mwaa` module
28+
- upgraded `apache-airflow-providers-cncf-kubernetes` from ~3.0.0 to ~8.5.0
29+
- upgraded `sagemaker` from 2.218.0 to 2.237.3 in MWAA requirements files
30+
- upgraded `wheel` from ~0.43.0 to ~0.46.2 in dev dependencies
31+
- added explicit `permissions: contents: read` to GitHub Actions workflow jobs
32+
- fixed clear-text logging in `dockerimage-replication` and `integration-tests` modules
2633

2734
### **Removed**
2835
- removed deprecated EKS version files: 1.23, 1.24, 1.25, 1.26, 1.29 (end of life or extended support ending soon)

modules/compute/eks/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ constructs==10.3.0
66
deepmerge==1.1.0
77
moto>=5.0.0,<6.0.0
88
packaging==23.0
9-
PyYAML==6.0
9+
PyYAML>=6.0.1

modules/compute/eks/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ python-dateutil==2.9.0.post0
9494
# botocore
9595
# jsii
9696
# moto
97-
pyyaml==6.0
97+
pyyaml==6.0.3
9898
# via
9999
# -r requirements.in
100100
# responses

modules/database/rds/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ ignore_missing_imports = true
2727
disallow_untyped_decorators = false
2828
exclude = "codeseeder.out/|example/|tests/|integ/"
2929
warn_unused_ignores = false
30+
plugins = ["pydantic.mypy"]
3031

3132
[tool.pytest.ini_options]
3233
addopts = "-v --cov=. --cov-report term"

modules/database/rds/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ class CDKSettings(EnvBaseSettings):
103103
class ApplicationSettings(EnvBaseSettings):
104104
"""Application settings."""
105105

106-
seedfarmer_settings: SeedFarmerSettings = Field(default_factory=SeedFarmerSettings)
107-
module_settings: ModuleSettings = Field(default_factory=ModuleSettings)
108-
cdk_settings: CDKSettings = Field(default_factory=CDKSettings)
106+
seedfarmer_settings: SeedFarmerSettings = Field(default_factory=lambda: SeedFarmerSettings())
107+
module_settings: ModuleSettings = Field(default_factory=lambda: ModuleSettings())
108+
cdk_settings: CDKSettings = Field(default_factory=lambda: CDKSettings())

modules/orchestration/mwaa/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ parameters:
5454
- `dag-path`: path in the S3 Bucket to configure the MWAA Environment to monitor for DAG artifacts. Defaults to `dags` if none is provided
5555
- `environment-class`: the MWAA Environement Instance Class. Defaults to `mw1.small` if none is provided
5656
- `max-workers`: the Maximum number of workers to configure the MWAA Environment to allow. Defaults to `25` if none is provided
57-
- `airflow-version`: The Airflow version you would want to set in the module. It is defaulted to `2.5.1`
57+
- `airflow-version`: The Airflow version you would want to set in the module. It is defaulted to `2.11.1`
5858
- `mwaa-requirements-file` - Support for customized requiremements file installed on MWAA
5959
- ANY file referenced MUST be located `modules/core/mwaa/requirements/*.txt` and be python requirements compliant
6060
- in if not provided, default is `requirements.txt`

modules/orchestration/mwaa/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def generate_description() -> str:
6363
optional_args["environment_class"] = environment_class
6464
if max_workers and max_workers.isnumeric():
6565
optional_args["max_workers"] = int(max_workers) # type: ignore
66-
optional_args["airflow_version"] = airflow_version if airflow_version else "2.5.1"
66+
optional_args["airflow_version"] = airflow_version if airflow_version else "2.11.1"
6767

6868

6969
stack = MWAAStack(

0 commit comments

Comments
 (0)