From 41b6f1879f23866c070100dd1767f841bff3a815 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:29:53 +0100 Subject: [PATCH] fix: yq version --- go.mod | 1 - go.sum | 3 --- go_mod_indirect_pins.go | 4 +--- test/e2e/run.sh | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index cb87e5f3c34b..cad7fb757271 100644 --- a/go.mod +++ b/go.mod @@ -64,7 +64,6 @@ require ( github.com/luna-duclos/instrumentedsql v1.1.3 github.com/luna-duclos/instrumentedsql/opentracing v0.0.0-20201103091713-40d03108b6f4 github.com/mattn/goveralls v0.0.7 - github.com/mikefarah/yq v1.15.0 github.com/mikefarah/yq/v4 v4.19.1 github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe diff --git a/go.sum b/go.sum index eb24e8037c63..00861b2dc6c2 100644 --- a/go.sum +++ b/go.sum @@ -1441,8 +1441,6 @@ github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKju github.com/miekg/dns v1.1.41 h1:WMszZWJG0XmzbK9FEmzH2TVcqYzFesusSIB41b8KHxY= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/mikefarah/yq v1.15.0 h1:ViMYNRG5UB7hzm8olxMFqPtkpMXXKO4g32/v9JUa62o= -github.com/mikefarah/yq v1.15.0/go.mod h1:Klb/IuhiBF3HOsJXH3YR+xURVe3KFmm0jxwiklmdjP4= github.com/mikefarah/yq/v4 v4.19.1 h1:QrZCqjOBZ918aOZIfl/IwnHBv104SPfarhgO5MGd2W4= github.com/mikefarah/yq/v4 v4.19.1/go.mod h1:krTElh9V1fv3Cw7+21S8El/W/vn3f2buOOcJ4VyjsFY= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= @@ -1543,7 +1541,6 @@ github.com/onsi/gomega v1.6.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= diff --git a/go_mod_indirect_pins.go b/go_mod_indirect_pins.go index a1d487c02d21..2ac0fd649f74 100644 --- a/go_mod_indirect_pins.go +++ b/go_mod_indirect_pins.go @@ -16,12 +16,10 @@ import ( _ "github.com/jteeuwen/go-bindata" - _ "github.com/mikefarah/yq" + _ "github.com/mikefarah/yq/v4" _ "github.com/davidrjonas/semver-cli" _ "github.com/cortesi/modd/cmd/modd" _ "github.com/hashicorp/consul/api" ) - -import _ "github.com/mikefarah/yq/v4" diff --git a/test/e2e/run.sh b/test/e2e/run.sh index f023dd632156..82612e13e50b 100755 --- a/test/e2e/run.sh +++ b/test/e2e/run.sh @@ -205,7 +205,7 @@ run() { ls -la . for profile in email mobile oidc recovery verification mfa spa network; do - yq merge test/e2e/profiles/kratos.base.yml "test/e2e/profiles/${profile}/.kratos.yml" > test/e2e/kratos.${profile}.yml + yq ea '. as $item ireduce ({}; . * $item )' test/e2e/profiles/kratos.base.yml "test/e2e/profiles/${profile}/.kratos.yml" > test/e2e/kratos.${profile}.yml cp test/e2e/kratos.email.yml test/e2e/kratos.generated.yml done