Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Makefile #192

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Update Makefile #192

merged 1 commit into from
Jul 12, 2024

Conversation

modassarrana89
Copy link
Contributor

Updated envtest k8s version for s390x

Validated by running make test on s390x

[root@modassar-authorino-envtest authorino-operator]# make test
/usr/bin/which: no setup-envtest in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/go/bin)
envsubst \
        < config/authorino/kustomization.template.yaml \
        > config/authorino/kustomization.yaml
/root/authorino-operator/bin/controller-gen crd rbac:roleName=authorino-operator-manager webhook paths="./..." output:crd:artifacts:config=config/crd/bases && /root/authorino-operator/bin/kustomize build config/install > /root/authorino-operator/config/install/manifests.yaml
make deploy-manifest OPERATOR_IMAGE=quay.io/kuadrant/authorino-operator:latest
make[1]: Entering directory '/root/authorino-operator'
/usr/bin/which: no setup-envtest in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/go/bin)
mkdir -p /root/authorino-operator/config/deploy
cd /root/authorino-operator/config/manager && /root/authorino-operator/bin/kustomize edit set image controller=quay.io/kuadrant/authorino-operator:latest ;\
cd /root/authorino-operator && /root/authorino-operator/bin/kustomize build config/deploy > /root/authorino-operator/config/deploy/manifests.yaml
# clean up
cd /root/authorino-operator/config/manager && /root/authorino-operator/bin/kustomize edit set image controller=quay.io/kuadrant/authorino-operator:latest
make[1]: Leaving directory '/root/authorino-operator'
/root/authorino-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
go: downloading gotest.tools v2.2.0+incompatible
go: downloading github.com/onsi/ginkgo/v2 v2.11.0
go: downloading github.com/onsi/gomega v1.27.10
go install sigs.k8s.io/controller-runtime/tools/[email protected]
go: downloading sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20240531164907-7006f379adf2
go: downloading sigs.k8s.io/controller-runtime v0.16.7-0.20240531164907-7006f379adf2
go: downloading github.com/go-logr/zapr v1.3.0
go: downloading github.com/spf13/afero v1.6.0
go: downloading go.uber.org/zap v1.26.0
go: downloading go.uber.org/multierr v1.10.0
Error: open build.yaml: no such file or directory
echo /root/go/bin/setup-envtest
/root/go/bin/setup-envtest
KUBEBUILDER_ASSETS='/root/.local/share/kubebuilder-envtest/k8s/1.29.0-linux-s390x'  go test -ldflags="-X github.com/kuadrant/authorino-operator/controllers.DefaultAuthorinoImage=quay.io/kuadrant/authorino:latest" ./... -coverprofile cover.out
?   	github.com/kuadrant/authorino-operator	[no test files]
?   	github.com/kuadrant/authorino-operator/api/v1beta1	[no test files]
?   	github.com/kuadrant/authorino-operator/pkg/condition	[no test files]
?   	github.com/kuadrant/authorino-operator/pkg/resources	[no test files]
ok  	github.com/kuadrant/authorino-operator/controllers	31.495s	coverage: 74.4% of statements
ok  	github.com/kuadrant/authorino-operator/pkg/log	0.013s	coverage: 44.0% of statements

Arch - s390x

[root@modassar-authorino-envtest authorino-operator]# uname -m
s390x

Updated envtest k8s version for s390x
@modassarrana89
Copy link
Contributor Author

@guicassolato Updated env-test for s390x . Please review & approve

@guicassolato guicassolato merged commit 6168a9c into Kuadrant:main Jul 12, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants