Skip to content

Commit

Permalink
Merge pull request #600 from awslabs/release/4.0.0
Browse files Browse the repository at this point in the history
Release/4.0.0
  • Loading branch information
dgraeber authored Jun 3, 2024
2 parents 32a0a02 + eb01e29 commit 225b594
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
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

0 comments on commit 225b594

Please sign in to comment.