Repository navigation
Running e2e process. failing on make e2e-setup #8193
Replies: 2 comments
|
it seems like the version number is based off the git commit hash. which is not semver 2.0 compliant. so i don't know how people are working on this application on their local workstation. I think there needs to be some improvement on the make files. 1. its not clear how how to do a local build and deploy to a local cluster hense why i went down the e2e route.. 2. i guess we need to generate a local version number like 99.99.9. update the pkg/util.AppVersion code or just flag the make that it is a local build and set the ${VERSION} to a number? I will try to set the VERSION in the command line.. |
|
Yep i set the VERSION=9.9.9 and the command is now working. we might want to update the e2e page with this information. Thanks |
Uh oh!
There was an error while loading. Please reload this page.
I have forked the repo. made my small change..and i am following the e2e instructions..
https://cert-manager.io/docs/contributing/e2e/
make e2e-setup-kind
mkdir -p _bin/scratch
✅ Ready. The next step is to install cert-manager and the addons with the command:
make -j e2e-setup
then running the second part..
make e2e-setup
curl --silent --show-error --fail --location --retry 10 --retry-connrefused https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/experimental-install.yaml -o _bin/scratch/gateway-api-v1.0.0.yaml
/Users/bradleymesserle/git-cert-manager/cert-manager/_bin/tools/kubectl apply --server-side -f _bin/scratch/gateway-api-v1.0.0.yaml > /dev/null
sed -e "s:{{RELEASE_VERSION}}:239736b18e30a1-dirty:g" < deploy/charts/cert-manager/README.template.md > _bin/helm/cert-manager/README.md
IFS= read -rd '' SIGNKEY_ANNOTATION < <(cat deploy/charts/cert-manager/signkey_annotation.txt) ;
SIGNKEY_ANNOTATION=$SIGNKEY_ANNOTATION /Users/bradleymesserle/git-cert-manager/cert-manager/_bin/tools/yq eval
'.annotations."artifacthub.io/signKey" = strenv(SIGNKEY_ANNOTATION) | .annotations."artifacthub.io/prerelease" = "false" | .version = "239736b18e30a1-dirty" | .appVersion = "239736b18e30a1-dirty"'
deploy/charts/cert-manager/Chart.template.yaml > _bin/helm/cert-manager/Chart.yaml
cp deploy/charts/cert-manager/values.yaml _bin/helm/cert-manager/values.yaml
cp deploy/charts/cert-manager/values.schema.json _bin/helm/cert-manager/values.schema.json
cp -f deploy/charts/cert-manager/templates/cainjector-config.yaml _bin/helm/cert-manager/templates/cainjector-config.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-deployment.yaml _bin/helm/cert-manager/templates/cainjector-deployment.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-poddisruptionbudget.yaml _bin/helm/cert-manager/templates/cainjector-poddisruptionbudget.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-psp-clusterrole.yaml _bin/helm/cert-manager/templates/cainjector-psp-clusterrole.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-psp-clusterrolebinding.yaml _bin/helm/cert-manager/templates/cainjector-psp-clusterrolebinding.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-psp.yaml _bin/helm/cert-manager/templates/cainjector-psp.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-rbac.yaml _bin/helm/cert-manager/templates/cainjector-rbac.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-service.yaml _bin/helm/cert-manager/templates/cainjector-service.yaml
cp -f deploy/charts/cert-manager/templates/cainjector-serviceaccount.yaml _bin/helm/cert-manager/templates/cainjector-serviceaccount.yaml
cp -f deploy/charts/cert-manager/templates/controller-config.yaml _bin/helm/cert-manager/templates/controller-config.yaml
cp -f deploy/charts/cert-manager/templates/crd-acme.cert-manager.io_challenges.yaml _bin/helm/cert-manager/templates/crd-acme.cert-manager.io_challenges.yaml
cp -f deploy/charts/cert-manager/templates/crd-acme.cert-manager.io_orders.yaml _bin/helm/cert-manager/templates/crd-acme.cert-manager.io_orders.yaml
cp -f deploy/charts/cert-manager/templates/crd-cert-manager.io_certificaterequests.yaml _bin/helm/cert-manager/templates/crd-cert-manager.io_certificaterequests.yaml
cp -f deploy/charts/cert-manager/templates/crd-cert-manager.io_certificates.yaml _bin/helm/cert-manager/templates/crd-cert-manager.io_certificates.yaml
cp -f deploy/charts/cert-manager/templates/crd-cert-manager.io_clusterissuers.yaml _bin/helm/cert-manager/templates/crd-cert-manager.io_clusterissuers.yaml
cp -f deploy/charts/cert-manager/templates/crd-cert-manager.io_issuers.yaml _bin/helm/cert-manager/templates/crd-cert-manager.io_issuers.yaml
cp -f deploy/charts/cert-manager/templates/deployment.yaml _bin/helm/cert-manager/templates/deployment.yaml
cp -f deploy/charts/cert-manager/templates/extras-objects.yaml _bin/helm/cert-manager/templates/extras-objects.yaml
cp -f deploy/charts/cert-manager/templates/networkpolicy-egress.yaml _bin/helm/cert-manager/templates/networkpolicy-egress.yaml
cp -f deploy/charts/cert-manager/templates/networkpolicy-webhooks.yaml _bin/helm/cert-manager/templates/networkpolicy-webhooks.yaml
cp -f deploy/charts/cert-manager/templates/poddisruptionbudget.yaml _bin/helm/cert-manager/templates/poddisruptionbudget.yaml
cp -f deploy/charts/cert-manager/templates/podmonitor.yaml _bin/helm/cert-manager/templates/podmonitor.yaml
cp -f deploy/charts/cert-manager/templates/psp-clusterrole.yaml _bin/helm/cert-manager/templates/psp-clusterrole.yaml
cp -f deploy/charts/cert-manager/templates/psp-clusterrolebinding.yaml _bin/helm/cert-manager/templates/psp-clusterrolebinding.yaml
cp -f deploy/charts/cert-manager/templates/psp.yaml _bin/helm/cert-manager/templates/psp.yaml
cp -f deploy/charts/cert-manager/templates/rbac.yaml _bin/helm/cert-manager/templates/rbac.yaml
cp -f deploy/charts/cert-manager/templates/service.yaml _bin/helm/cert-manager/templates/service.yaml
cp -f deploy/charts/cert-manager/templates/serviceaccount.yaml _bin/helm/cert-manager/templates/serviceaccount.yaml
cp -f deploy/charts/cert-manager/templates/servicemonitor.yaml _bin/helm/cert-manager/templates/servicemonitor.yaml
cp -f deploy/charts/cert-manager/templates/startupapicheck-job.yaml _bin/helm/cert-manager/templates/startupapicheck-job.yaml
cp -f deploy/charts/cert-manager/templates/startupapicheck-psp-clusterrole.yaml _bin/helm/cert-manager/templates/startupapicheck-psp-clusterrole.yaml
cp -f deploy/charts/cert-manager/templates/startupapicheck-psp-clusterrolebinding.yaml _bin/helm/cert-manager/templates/startupapicheck-psp-clusterrolebinding.yaml
cp -f deploy/charts/cert-manager/templates/startupapicheck-psp.yaml _bin/helm/cert-manager/templates/startupapicheck-psp.yaml
cp -f deploy/charts/cert-manager/templates/startupapicheck-rbac.yaml _bin/helm/cert-manager/templates/startupapicheck-rbac.yaml
cp -f deploy/charts/cert-manager/templates/startupapicheck-serviceaccount.yaml _bin/helm/cert-manager/templates/startupapicheck-serviceaccount.yaml
cp -f deploy/charts/cert-manager/templates/webhook-config.yaml _bin/helm/cert-manager/templates/webhook-config.yaml
cp -f deploy/charts/cert-manager/templates/webhook-deployment.yaml _bin/helm/cert-manager/templates/webhook-deployment.yaml
cp -f deploy/charts/cert-manager/templates/webhook-mutating-webhook.yaml _bin/helm/cert-manager/templates/webhook-mutating-webhook.yaml
cp -f deploy/charts/cert-manager/templates/webhook-poddisruptionbudget.yaml _bin/helm/cert-manager/templates/webhook-poddisruptionbudget.yaml
cp -f deploy/charts/cert-manager/templates/webhook-psp-clusterrole.yaml _bin/helm/cert-manager/templates/webhook-psp-clusterrole.yaml
cp -f deploy/charts/cert-manager/templates/webhook-psp-clusterrolebinding.yaml _bin/helm/cert-manager/templates/webhook-psp-clusterrolebinding.yaml
cp -f deploy/charts/cert-manager/templates/webhook-psp.yaml _bin/helm/cert-manager/templates/webhook-psp.yaml
cp -f deploy/charts/cert-manager/templates/webhook-rbac.yaml _bin/helm/cert-manager/templates/webhook-rbac.yaml
cp -f deploy/charts/cert-manager/templates/webhook-service.yaml _bin/helm/cert-manager/templates/webhook-service.yaml
cp -f deploy/charts/cert-manager/templates/webhook-serviceaccount.yaml _bin/helm/cert-manager/templates/webhook-serviceaccount.yaml
cp -f deploy/charts/cert-manager/templates/webhook-validating-webhook.yaml _bin/helm/cert-manager/templates/webhook-validating-webhook.yaml
cp deploy/charts/cert-manager/templates/NOTES.txt _bin/helm/cert-manager/templates/NOTES.txt
cp deploy/charts/cert-manager/templates/_helpers.tpl _bin/helm/cert-manager/templates/_helpers.tpl
/Users/bradleymesserle/git-cert-manager/cert-manager/_bin/tools/helm package --app-version=239736b18e30a1-dirty --version=239736b18e30a1-dirty --destination "_bin/" ./_bin/helm/cert-manager
Error: validation: chart.metadata.version "239736b18e30a1-dirty" is invalid
make: *** [_bin/cert-manager-239736b18e30a1-dirty.tgz] Error 1
getting this error..
Thoughts?
Thanks
All reactions