Releases: coralogix/dhall-concourse
Fix S3 Version Type
The Version
type of the Concourse-native S3 resource depends on whether the resource is configured as a versioned file, i.e. whether the underlying S3 object is versioned, in which case the type { version_id : Text }
is used, or whether the resource is configured as a regular expression which extracts the version from the name of an object, in which case the type { path : Text }
is used.
The code had mistakenly assumed that only versioned objects, i.e. { version_id : Text }
, were possible. This misunderstanding has been fixed by replacing the Version
type with a union that allows either { version_id : Text }
or { path : Text }
, so that now S3 objects whose version is of type { path : Text }
can be pinned.
Add Time resource
Adds Concourse's official Time resource to the list of supported resource types.
Fix task container limits
The Task
field container_limits
was using the type Integer
for cpu
and memory
when it should have been Natural
. This has been fixed.
Fix in_parallel step type
The in_parallel
step type incorrectly had the in_parallel_config
at the root of the in_parallel
object, instead of underneath a field in_parallel
. This has now been fixed.
Add support for the rest of the Concourse domain model
Adds support for Steps, Jobs, Tasks, Pipelines, and VarSources - the rest of the Concourse domain model.
Fix: parser error in Git resource type
Fixes an issue with parsing the merge
field in the Git plugin.
Change to Resource, ResourceType
Drops the old, dormant implementation for a repository that focuses on
hosting the types / schemas of the various resource types, and allows
the downstream user to construct the type of their Resource and
ResourceType as necessary. This solves the code-reusage problem while
keeping downstream implementations performant.
See the examples in the README.md
, the new Resource.dhall
, and
the new ResourceType.dhall
to understand the new usage pattern.
Add limited support for aggregate, do, try steps
v0.3.0
adds limited support for aggregate
, do
, and try
steps. Job
s and step hooks (e.g. on_success
) now take a StepBox
, which is a union type over aggregate
, do
, try
, get
, task
, and put
. This permits support for common usecases such as parallel resource fetching, but does not permit arrangements like an aggregate
step with a list of try
steps.
Add support for Registry Image resource type
v0.2.0
introduces support for the new Registry Image resource type.
Please note that this release is a breaking change. The types and defaults for ResourceType
, Resource
, and Task
's Config
's ImageResource
have all changed so as to introduce semantics wherein it will now be common (as of Concourse CI v5) to use registry-image
in place of docker-image
for the types of ResourceType
s.