Hey,
Does anyone have any pointers how to resolve failures due to “Data did not conform”?
Running:
clj -M:ion-dev “{:op :push :uname my-test-name :creds-profile my-creds-profile :region my-region}”
Results in the following:
{:command-failed
“{:op :push :uname my-test-name :creds-profile my-creds-profile :region my-region}”,
:causes
({:message “Data did not conform”,
:class ExceptionInfo,
:data
#:clojure.spec.alpha{:problems
({:path [:local :home], :pred clojure.core/string?, :val nil, :via [:cognitect.s3-libs.specs/local :cognitect.s3-libs.specs/home], :in [:local :home]}), :spec #object[clojure.spec.alpha$map_spec_impl$reify__1997 >0x668a32a4 "clojure.spec.alpha$map_spec_impl$reify__1997@668a32a4"], :value {:description "Unreproducible deployment (no git commit)", :query-group nil, :app-name "app-name", :creds-profile my-creds-profile, :op :push, :uname my-test-name, :allow [], :region my-region, :lambdas {:api-handler {:fn com.anon.app-name.ions.core/api-ion, :integration :api-gateway/proxy, :description "Handles requests to REST API.", :timeout-secs 29,
:concurrency-limit :none},
:file-upload-handler
{:fn
com.anon.app-name.ions.core/file-upload-handler,
:description
"Handles notifications received from S3 when a user uploads a file to uploads bucket.",
:timeout-secs 900,
:concurrency-limit :none},
:file-cleanup-handler
{:fn
com.anon.app-name.ions.core/file-cleanup-handler,
:description
"Cleanups orphan files in database. Triggered by AWS Events every midnight.",
:timeout-secs 300,
:concurrency-limit 1},
:common-connector
{:fn
com.anon.app-name.ions.core/common-connector,
:description
"Handles common connection tasks between datomic and other Amazon services when required.",
:timeout-secs 300,
:concurrency-limit :none},
:first-platform-connector
{:fn
com.anon.app-name.ions.core/first-platform-connector,
:description
"Handles first-platform related connection tasks between datomic and other Amazon services when required.",
:timeout-secs 300,
:concurrency-limit :none},
:second-platform-connector
{:fn
com.anon.app-name.ions.core/second-platform-connector,
:description
"Handles second-platform related connection tasks between datomic and other Amazon services when required.",
:timeout-secs 300,
:concurrency-limit :none}},
:datomic.ion.dev.config/resource
"datomic/ion-config.edn",
:local {:home nil},
:bucket
"datomic-code-hash"}}})}