Successfully smoke tested the Solr Operator v0.9.0! +1 (binding)
Thanks for fixing the test script. It could be merged into the release branch since it is not affecting released bits but only test script, then others will have an easier time testing... Jan > 21. jan. 2025 kl. 13:21 skrev Jason Gerlowski <gerlowsk...@gmail.com>: > > Thanks for trying things out Jan! > > I'm not familiar with this bit of smoke-tester code, but at a glance > it looks like the bash script is using a for-loop variable outside the > for-loop. Created a PR > (https://github.com/apache/solr-operator/pull/749) to fix it, if > anyone's got a few minutes to review. > > I wonder why no one's run into this before... > > Best, > > Jason > > On Tue, Jan 21, 2025 at 7:00 AM Jan Høydahl <jan....@cominvent.com> wrote: >> >> Hi, >> >> I did the kubectl create tests and ended up with a local cluster with v0.9 >> operator. No issues. >> >> I also tried running smoke tester but it ended with this error: >> >>> Downloaded: 2 files, 2,3K in 0s (84,8 MB/s) >>> ./hack/release/smoke_test/verify_all.sh: line 118: artifact: unbound >>> variable >> >> Jan >> >>> 17. jan. 2025 kl. 18:21 skrev Jason Gerlowski <gerlowsk...@apache.org>: >>> >>> Please vote for release candidate 1 for the Solr Operator v0.9.0 >>> >>> The artifacts can be downloaded from: >>> https://dist.apache.org/repos/dist/dev/solr/solr-operator/solr-operator-v0.9.0-RC1-revc2dd334054de0296d7f378789789475bae93da48 >>> >>> You can run the full smoke tester, with instructions below. >>> However, it is also encouraged to go and use the artifacts yourself in >>> a test Kubernetes cluster. >>> The smoke tester does not require you to download or install the RC >>> artifacts before running. >>> If you plan on just running the smoke tests, then ignore all other >>> instructions. >>> >>> The artifacts are laid out in the following way: >>> * solr-operator-v0.9.0.tgz - Contains the source release >>> * crds/ - Contains the CRD files >>> * helm-charts/ - Contains the Helm release packages >>> >>> The RC Docker image can be found at: >>> apache/solr-operator:v0.9.0-rc1 >>> >>> The RC Helm repo can be added with: >>> helm repo add apache-solr-rc >>> https://dist.apache.org/repos/dist/dev/solr/solr-operator/solr-operator-v0.9.0-RC1-revc2dd334054de0296d7f378789789475bae93da48/helm-charts >>> >>> You can install the RC Solr Operator and Solr CRDs and an example Solr >>> Cloud with: >>> curl -sL0 "https://dist.apache.org/repos/dist/release/solr/KEYS" | >>> gpg --import --quiet >>> # This will export your public keys into a format that helm can understand. >>> # Skip verification by removing "--verify" in the helm command below. >>> if ! (gpg --no-default-keyring --keyring=~/.gnupg/pubring.gpg >>> --list-keys "60392455"); then gpg --export >~/.gnupg/pubring.gpg; fi >>> kubectl create -f >>> https://dist.apache.org/repos/dist/dev/solr/solr-operator/solr-operator-v0.9.0-RC1-revc2dd334054de0296d7f378789789475bae93da48/crds/all-with-dependencies.yaml >>> || \ >>> kubectl replace -f >>> https://dist.apache.org/repos/dist/dev/solr/solr-operator/solr-operator-v0.9.0-RC1-revc2dd334054de0296d7f378789789475bae93da48/crds/all-with-dependencies.yaml >>> helm install --verify solr-operator apache-solr-rc/solr-operator >>> --set image.tag=v0.9.0-rc1 >>> helm install --verify example apache-solr-rc/solr >>> >>> You can run the full smoke tester directly with this command: (First >>> checkout the release-0.9 branch of the solr-operator) >>> >>> # First clear your go-mod cache to make sure old cache entries don't >>> cause smoke test failures >>> make mod-clean >>> ./hack/release/smoke_test/smoke_test.sh -v "v0.9.0" -s "c2dd334" -i >>> "apache/solr-operator:v0.9.0-rc1" -g "60392455" \ >>> -l >>> 'https://dist.apache.org/repos/dist/dev/solr/solr-operator/solr-operator-v0.9.0-RC1-revc2dd334054de0296d7f378789789475bae93da48' >>> >>> If you want to run the smoke test with a specific version of >>> kubernetes, use the -k option with a full version tag. (e.g. -k >>> v1.19.3) >>> If you want to run the smoke test with a custom version of solr, use >>> the -t option with an official Solr image version. (e.g. -t 9.4) >>> >>> Make sure you have the following installed before running the smoke test: >>> - Docker (Give it enough memory and CPU to run ~12 containers, 3 of >>> which are Solr nodes) >>> More information on required resources can be found here: >>> https://kind.sigs.k8s.io/docs/user/quick-start/#settings-for-docker-desktop >>> - Go 1.22 >>> - Kubectl >>> - GnuPG >>> - Helm v3.4.0+ >>> - Kustomize (v4.0.0+) This will be installed for you, but NOT >>> upgraded if a lower version is already installed. >>> - yq >>> - jq >>> - coreutils (if using Mac OS) >>> >>> The vote must be open at least 72 hours, but with the upcoming weekend >>> and the January 20th holiday (US), I'll plan to leave the vote open a >>> few days beyond that (say, Wednesday Jan 22). >>> >>> [ ] +1 approve >>> [ ] +0 no opinion >>> [ ] -1 disapprove (and reason why) >>> >>> Here is my +1! >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org >>> For additional commands, e-mail: dev-h...@solr.apache.org >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org >> For additional commands, e-mail: dev-h...@solr.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org > For additional commands, e-mail: dev-h...@solr.apache.org >