Skip to content

Commit 680c321

Browse files
authored
Merge pull request #2960 from robnester-rh/EC-1422
chore(deps): update enterprise contract CRD source to conforma/crds
2 parents 95a19b5 + ac39f89 commit 680c321

36 files changed

+40
-36
lines changed

acceptance/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/cucumber/godog v0.15.0
88
github.com/cyberphone/json-canonicalization v0.0.0-20231217050601-ba74d44ecf5f
99
github.com/doiit/picocolors v1.0.1
10-
github.com/enterprise-contract/enterprise-contract-controller/api v0.1.112
10+
github.com/conforma/crds/api v0.1.0
1111
github.com/evanphx/json-patch/v5 v5.9.0
1212
github.com/gkampitakis/go-snaps v0.5.7
1313
github.com/go-git/go-billy/v5 v5.6.0

acceptance/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb h1:EDmT6Q9Zs+SbUo
236236
github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb/go.mod h1:ZjrT6AXHbDs86ZSdt/osfBi5qfexBrKUdONk989Wnk4=
237237
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be h1:J5BL2kskAlV9ckgEsNQXscjIaLiOYiZ75d4e94E6dcQ=
238238
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be/go.mod h1:mk5IQ+Y0ZeO87b858TlA645sVcEcbiX6YqP98kt+7+w=
239+
github.com/conforma/crds/api v0.1.0 h1:Y2AAFKI5tywBxqr0tTBkhaiX8dsp8rkMN2CmrIofg9s=
240+
github.com/conforma/crds/api v0.1.0/go.mod h1:vaUCN54r99HME4555KRKOUPGJxBNAlX1agZ4jlGI2YA=
239241
github.com/conforma/go-containerregistry v0.20.7-0.20250703195040-6f40a3734728 h1:a2L+lVx9BYtwWDOHlouRNCzgG89Imc7Chbp2/Xjhpf0=
240242
github.com/conforma/go-containerregistry v0.20.7-0.20250703195040-6f40a3734728/go.mod h1:sdc2GWaYnuP7aY7cx4nTEW16xVJsVuqjZ+zyx5S0XeI=
241243
github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI=

acceptance/kubernetes/kind/kubernetes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"strings"
2727
"time"
2828

29-
ecc "github.com/enterprise-contract/enterprise-contract-controller/api/v1alpha1"
29+
ecc "github.com/conforma/crds/api/v1alpha1"
3030
app "github.com/konflux-ci/application-api/api/v1alpha1"
3131
"github.com/tektoncd/cli/pkg/formatted"
3232
pipeline "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/Maldris/go-billy-afero v0.0.0-20200815120323-e9d3de59c99a
1010
github.com/conforma/go-gather v1.0.2
1111
github.com/docker/docker v28.2.2+incompatible
12-
github.com/enterprise-contract/enterprise-contract-controller/api v0.1.112
12+
github.com/conforma/crds/api v0.1.0
1313
github.com/evanphx/json-patch v5.9.0+incompatible
1414
github.com/gkampitakis/go-snaps v0.5.7
1515
github.com/go-git/go-git/v5 v5.13.2

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb h1:EDmT6Q9Zs+SbUo
344344
github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb/go.mod h1:ZjrT6AXHbDs86ZSdt/osfBi5qfexBrKUdONk989Wnk4=
345345
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be h1:J5BL2kskAlV9ckgEsNQXscjIaLiOYiZ75d4e94E6dcQ=
346346
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be/go.mod h1:mk5IQ+Y0ZeO87b858TlA645sVcEcbiX6YqP98kt+7+w=
347+
github.com/conforma/crds/api v0.1.0 h1:Y2AAFKI5tywBxqr0tTBkhaiX8dsp8rkMN2CmrIofg9s=
348+
github.com/conforma/crds/api v0.1.0/go.mod h1:vaUCN54r99HME4555KRKOUPGJxBNAlX1agZ4jlGI2YA=
347349
github.com/conforma/go-containerregistry v0.20.7-0.20250703195040-6f40a3734728 h1:a2L+lVx9BYtwWDOHlouRNCzgG89Imc7Chbp2/Xjhpf0=
348350
github.com/conforma/go-containerregistry v0.20.7-0.20250703195040-6f40a3734728/go.mod h1:sdc2GWaYnuP7aY7cx4nTEW16xVJsVuqjZ+zyx5S0XeI=
349351
github.com/conforma/go-gather v1.0.2 h1:385cOcDpMxA7JpccMdbQOLIPsagQtDRAnSqZc1YTetI=

hack/ecc/ecc.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ ROOT=$(git rev-parse --show-toplevel)
2828
# This can be overriden by specifying the ECC_VERSION environment variable
2929
# beforehand
3030
if [ -z "${ECC_VERSION:-}" ]; then
31-
SHORT_REV="api/$(cd "${ROOT}" && go list -f '{{.Version}}' -m github.com/enterprise-contract/enterprise-contract-controller/api)"
31+
SHORT_REV="api/$(cd "${ROOT}" && go list -f '{{.Version}}' -m github.com/conforma/crds/api)"
3232
ECC_VERSION=$(
3333
TMP_ECC_GIT=$(mktemp -d)
3434
trap 'rm -rf "${TMP_ECC_GIT}"' EXIT
3535
cd "${TMP_ECC_GIT}"
36-
git clone -q --bare https://github.com/enterprise-contract/enterprise-contract-controller.git "${TMP_ECC_GIT}"
36+
git clone -q --bare https://github.com/conforma/crds.git "${TMP_ECC_GIT}"
3737
git show -s --pretty=format:%H "${SHORT_REV}"
3838
)
3939
fi
4040

41-
go run -modfile "${ROOT}/tools/go.mod" sigs.k8s.io/kustomize/kustomize/v5 build "https://github.com/enterprise-contract/enterprise-contract-controller/config/crd?ref=${ECC_VERSION}"
41+
go run -modfile "${ROOT}/tools/go.mod" sigs.k8s.io/kustomize/kustomize/v5 build "https://github.com/conforma/crds/config/crd?ref=${ECC_VERSION}"

internal/applicationsnapshot/report.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"fmt"
2727
"time"
2828

29-
ecc "github.com/enterprise-contract/enterprise-contract-controller/api/v1alpha1"
29+
ecc "github.com/conforma/crds/api/v1alpha1"
3030
app "github.com/konflux-ci/application-api/api/v1alpha1"
3131
"sigs.k8s.io/yaml"
3232

internal/applicationsnapshot/vsa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"path/filepath"
2525
"time"
2626

27-
ecc "github.com/enterprise-contract/enterprise-contract-controller/api/v1alpha1"
27+
ecc "github.com/conforma/crds/api/v1alpha1"
2828
log "github.com/sirupsen/logrus"
2929
"github.com/spf13/afero"
3030
)

internal/applicationsnapshot/vsa_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"testing"
2222
"time"
2323

24-
ecc "github.com/enterprise-contract/enterprise-contract-controller/api/v1alpha1"
24+
ecc "github.com/conforma/crds/api/v1alpha1"
2525
app "github.com/konflux-ci/application-api/api/v1alpha1"
2626
"github.com/stretchr/testify/assert"
2727
"github.com/stretchr/testify/require"

internal/evaluation_target/definition/definition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package definition
1919
import (
2020
"context"
2121

22-
ecc "github.com/enterprise-contract/enterprise-contract-controller/api/v1alpha1"
22+
ecc "github.com/conforma/crds/api/v1alpha1"
2323

2424
"github.com/conforma/cli/internal/evaluator"
2525
"github.com/conforma/cli/internal/policy"

0 commit comments

Comments
 (0)