Skip to content

Releases: harris-chris/Jot.jl

Force documentation rebuild

03 May 04:30
bb67842
Compare
Choose a tag to compare
v0.5.1

Update Documentation.yml

Improved (and now mandatory) PackageCompile

03 May 03:13
Compare
Choose a tag to compare

This release has breaking changes, most obviously to the create_local_image function.

  • As much as is possible, create the environment and runtime folder outside of the Dockerfile, for easier debugging/investigation
  • Add build_at_path argument to create_local_image so that this folder can be specified
  • Make PackageCompile compulsory (the package_compile::Bool parameter has been removed from create_local_image)
  • Improve process by which the precompile statements file (an input to the package compilation) is obtained:
    • Optionally run package tests to generate more precompile statements
    • Have precompile statements from the Jot runtime generate, even if test data for the function has not been provided
  • The julia_base_version and julia_cpu_target parameters of create_local_image have also been removed

Restructure precompile/package compile process

20 Mar 00:30
Compare
Choose a tag to compare
  • create_local_image now takes function_test_data and package_compile keyword parameters; these set whether the function will be precompiled or package-compiled
  • Fix bugs whereby the package compile process was not working as it should have done
  • Expand documentation to cover this new approach

Update to Julia v1.8.4, PackageCompiler v2

03 Jan 07:58
Compare
Choose a tag to compare
  • Update default Julia version in Docker to 1.8.4
  • Update to PackageCompiler v2

Make DEPOT_PATH writable

20 Nov 10:01
Compare
Choose a tag to compare
v0.3.5

Refactor tests, ensure julia_depot path is writable

Update default Julia version to 1.8.2

26 Oct 11:18
Compare
Choose a tag to compare
  • Update default Julia version in Docker to 1.8.2
  • Fix a bug resulting from changes to Julia internals
  • Remove PackageSpec as a valid argument to get_responder

Allow customizations to generated Dockerfile

23 Dec 00:05
Compare
Choose a tag to compare

Features added
create_local_image and create_lambda_components now both take an optional dockerfile_update parameter. This parameter expects a function which takes a single parameter - the original dockerfile as multi-line string - and returns an updated dockerfile, also as a multi-line string.

Add the ability to include additional Julia registries

12 Dec 10:42
Compare
Choose a tag to compare

Features added

  • The get_responder function now takes an additional registry_urls argument, which can be used to define additional Julia registries to include in the docker build.

Specific changes

  • Added registry_urls to get_responder
  • Changed jottest2 and jottest4 to both use a package defined in an external registry, as an automated test
  • Refactored test code to make it easier to call specific quartet tests (eg 2 and 4 only).

Add the LambdaComponents approach as a more convenient way to build Lambda functions

03 Aug 08:15
Compare
Choose a tag to compare

Breaking changes:
create_local_image, push_to_ecr! and create_lambda_function now take only one non-keyword argument, to make them easier to pipe together. All other arguments have been made kwargs.

Features added
The LambdaComponents object exists in v0.2.2, but was just a way to group together related local images, remote images and lambda functions. In this version it has been made into a more convenient way to create lambda functions - for example:

lambda_components = create_lambda_components(increment_responder; image_suffix="increment-vector")
lambda_components |> with_remote_image! |> with_lambda_function! |> run_test

will go through the entire process of creating a lambda function, including testing it.

Specific changes
- Add create_lambda_components, with_local_image!, with_remote_image!
- Add delete!(::RemoteImage)
- push_to_ecr! returns RemoteImage only
- Automatically delete aws roles that were generated when a lambda function was
created, when that function is deleted
- Automatically delete ecr_repo that were created when a local image was
pushed to ECR, when the last remote image is deleted from them
- Expose get_all_xyz functions for local images, remote images,
ecr_repos, aws_roles and lambda_functions
- Enhance get_local_image(::String) to accept either name or hash
- Enhance get_remote_image(::String) to accept either name or hash
- Add the above to unit tests
- Add the above to documentation

Add user-defined labels feature

28 Jul 09:24
Compare
Choose a tag to compare
  • Add user_defined_labels kwarg to create_local_image
  • Add unit tests for labels