From 64718d1dfe7e1a62dcdce511dc3efac151932b38 Mon Sep 17 00:00:00 2001 From: ShauliSolomovich <44635474+ShauliSolomovich@users.noreply.github.com> Date: Mon, 15 Feb 2021 19:06:11 +0200 Subject: [PATCH] Update helm3 resource (#22) * export OverrideValue for external usage * add Values to export --- README.md | 12 ++++++------ package.dhall | 2 +- resource-types/Helm3.dhall | 2 +- resource-types/package.dhall | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e63dff0..9f21478 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,11 @@ For stability, users are encouraged to import from a tagged release, not from th You should generally import `domain.dhall`, which includes `Resource`, `ResourceType`, `Step`, `Task`, `Job`, `Group`, `Pipeline`, and `VarSource`, and merge it with the resource types that you need. For example, ```dhall let Concourse = - https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.12.0/domain.dhall sha256:036b9de47a7f54d4ed21b87c50987fb8a318c62524d7f6317d3ec98bbe9c784c + https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.13.0/domain.dhall sha256:036b9de47a7f54d4ed21b87c50987fb8a318c62524d7f6317d3ec98bbe9c784c ∧ { RegistryImage = - https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.12.0/resource-types/RegistryImage.dhall sha256:2ca4df79f82f54275f919d759344a6478749f7d0f32bddbc0389877ede11da03 + https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.13.0/resource-types/RegistryImage.dhall sha256:2ca4df79f82f54275f919d759344a6478749f7d0f32bddbc0389877ede11da03 , Git = - https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.12.0/resource-types/Git.dhall sha256:830b9d7d0e9e0992ee2473f78e05838a86be3e13c7bcf5df661b8829dbc3d558 + https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.13.0/resource-types/Git.dhall sha256:830b9d7d0e9e0992ee2473f78e05838a86be3e13c7bcf5df661b8829dbc3d558 } in Concourse @@ -65,16 +65,16 @@ This introduces a question - what should the type of the `source` field be? Main This repository allows the user to construct the type of `Resource` and of `ResourceType` based on a union that the downstream user constructs, consisting only of the resource types which the downstream user actually uses in their pipeline. This solves both the code-reusage problem, and keeps the implementation performant. For example: ```dhall -let Git = https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.12.0/resource-types/Git.dhall sha256:830b9d7d0e9e0992ee2473f78e05838a86be3e13c7bcf5df661b8829dbc3d558 +let Git = https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.13.0/resource-types/Git.dhall sha256:830b9d7d0e9e0992ee2473f78e05838a86be3e13c7bcf5df661b8829dbc3d558 -let S3 = https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.12.0/resource-types/S3.dhall sha256:b49ec06747630f6d6951fde4f04f7bbffab7cee1a9ef299464314ad049422d04 +let S3 = https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.13.0/resource-types/S3.dhall sha256:b49ec06747630f6d6951fde4f04f7bbffab7cee1a9ef299464314ad049422d04 let Source = < Git : Git.Source.Type | S3 : S3.Source.Type > let Version = < Git : Git.Version.Type | S3 : S3.Version.Type > let Resource = - let import = https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.12.0/Resource.dhall sha256:206f784b14f3fb78809bafffbde955fbc177ca0427c8fe9cf4a983a8aaf463c1 + let import = https://raw.githubusercontent.com/coralogix/dhall-concourse/v0.13.0/Resource.dhall sha256:206f784b14f3fb78809bafffbde955fbc177ca0427c8fe9cf4a983a8aaf463c1 in import { Source, Version } diff --git a/package.dhall b/package.dhall index 442f803..e322d37 100644 --- a/package.dhall +++ b/package.dhall @@ -1,5 +1,5 @@ { resource-types = - ./resource-types/package.dhall sha256:32bfaf7a01d8f59979f166519bd17d14fbfff16a9c59b90de83e7b99c0fef789 + ./resource-types/package.dhall sha256:625db0cd12a374fa322b5290a504a0506a3be8a540176329b0c40142741308a6 ? ./resource-types/package.dhall } ∧ ( ./domain.dhall sha256:036b9de47a7f54d4ed21b87c50987fb8a318c62524d7f6317d3ec98bbe9c784c diff --git a/resource-types/Helm3.dhall b/resource-types/Helm3.dhall index c8f3869..0df6dad 100644 --- a/resource-types/Helm3.dhall +++ b/resource-types/Helm3.dhall @@ -95,7 +95,7 @@ let test = Put::{ chart = "test" } - in Put + in Put ∧ { OverrideValue, Values } } , Source = let Plugin = diff --git a/resource-types/package.dhall b/resource-types/package.dhall index 71cbd53..ab82bb8 100644 --- a/resource-types/package.dhall +++ b/resource-types/package.dhall @@ -29,7 +29,7 @@ ./GithubStatus.dhall sha256:386931b4d5af36df90523b09e4f99b2da1eb172a713860c72d1d253b07545b6f ? ./GithubStatus.dhall , Helm3 = - ./Helm3.dhall sha256:fb8599b3b370c15e355603276a65f65727be74b1979e0a875ec5c2c784e11713 + ./Helm3.dhall sha256:baf8a8d5d435c0f154f575430605702c47a523442c8c09c0e3054f14729b0bc8 ? ./Helm3.dhall , RegistryImage = ./RegistryImage.dhall sha256:2ca4df79f82f54275f919d759344a6478749f7d0f32bddbc0389877ede11da03