Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/4.0.0 #600

Merged
merged 9 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,25 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch

## Unreleased

### New

### Changes

### Fixes

## v4.0.0 (2024-06-03)

### New
- adding support for S3 to store bundles
- see [UPGRADE to 4.0.0](https://seed-farmer.readthedocs.io/en/latest/upgrades.html#upgrading-to-4-0-0)
- adding seedfarmer version tag to toolchain and deployment roles
- removing python 3.7 support
- adding python 3.12 support

### Changes
- adding local path of manifests that fail to load to the actual final string printed
- this is already being done, but moving closer to last line of output
- updating idna>=3.7 everywhere
### Fixes

## v3.5.1 (2024-05-21)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3.5.1
4.0.0

2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ docutils==0.16
# readme-renderer
# sphinx
# sphinx-rtd-theme
idna==3.6
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile
Expand All @@ -8,7 +8,7 @@ annotated-types==0.5.0
# via pydantic
arrow==1.2.3
# via jinja2-time
aws-codeseeder==1.0.0rc0
aws-codeseeder==1.0.0
# via seed-farmer (setup.py)
binaryornot==0.4.4
# via cookiecutter
Expand Down
7 changes: 5 additions & 2 deletions seedfarmer/commands/_module_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,12 @@ def deploy_module(mdo: ModuleDeployObject) -> ModuleDeploymentResponse:
f"echo ${metadata_env_variable} | seedfarmer store moduledata "
f"-d {mdo.deployment_manifest.name} -g {mdo.group_name} -m {module_manifest.name} "
),
]
store_sf_bundle = [
(
f"seedfarmer bundle store -d {mdo.deployment_manifest.name} -g {mdo.group_name} -m {module_manifest.name} "
f"-o $CODEBUILD_SOURCE_REPO_URL -b {mdo.seedfarmer_bucket} || true"
),
)
]

module_path = os.path.join(config.OPS_ROOT, str(module_manifest.get_local_path()))
Expand Down Expand Up @@ -192,7 +194,8 @@ def deploy_module(mdo: ModuleDeployObject) -> ModuleDeploymentResponse:
+ sf_version__add
+ cs_version_add
+ githash_add
+ metadata_put,
+ metadata_put
+ store_sf_bundle,
extra_env_vars=env_vars,
codebuild_compute_type=module_manifest.deploy_spec.build_type,
codebuild_role_name=mdo.module_role_name,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
keywords=["aws", "cdk"],
python_requires=">=3.8,<3.13",
install_requires=[
"aws-codeseeder~=1.0.0rc0",
"aws-codeseeder~=1.0.0",
"cookiecutter~=2.1.0",
"pyhumps~=3.5.0",
"pydantic~=2.5.3",
Expand Down