Skip to content

Commit

Permalink
Revised testing (#49)
Browse files Browse the repository at this point in the history
* Changed to use OpenShift registry image

* Simplified test criteria
  • Loading branch information
bczoma authored Feb 9, 2022
1 parent feba4da commit ea01801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ jobs:
remote_command "/opt/scripts/templateInstallBroker templateha /opt/templates/eventbroker_ha_template.yaml"
remote_command "/opt/scripts/testBroker templateha my-release-pubsubplus" | tee out.txt
grep "aurelia" out.txt # web portal access
grep "<redundancy-status>Up</redundancy-status>" out.txt
grep "<oper-status>Up</oper-status>" out.txt
#grep "<redundancy-status>Up</redundancy-status>" out.txt
#grep "<oper-status>Up</oper-status>" out.txt
grep 100000 out.txt # smf messaging
remote_command "/opt/scripts/templateDeleteBroker templateha /opt/templates/eventbroker_ha_template.yaml"
Expand Down
2 changes: 1 addition & 1 deletion ci/templateInstallBroker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sudo sed -i 's/nameserver.*$/nameserver 1.1.1.1/g' /etc/resolv.conf
while ! oc login -u kubeadmin -p `cat /opt/passw` https://api.crc.testing:6443 ; do sleep 1 ; done
oc new-project $1
sed -i 's@cpu: "2"@cpu: "1"@g' $2 # reduce CPU requirements for the test deployment
oc process -f $2 DEPLOYMENT_NAME=my-release BROKER_IMAGE_REGISTRY_URL=solace/solace-pubsub-standard BROKER_IMAGE_TAG=latest BROKER_STORAGE_SIZE=10Gi BROKER_ADMIN_PASSWORD=YWRtaW4= | oc create -f - # admin password is admin
oc process -f $2 DEPLOYMENT_NAME=my-release BROKER_IMAGE_REGISTRY_URL=registry.connect.redhat.com/solace/pubsubplus-standard BROKER_IMAGE_TAG=latest BROKER_STORAGE_SIZE=10Gi BROKER_ADMIN_PASSWORD=YWRtaW4= | oc create -f - # admin password is admin
while ! oc get pods --show-labels | grep my-release | grep "active=true" ; do sleep 1; done
oc get pods --show-labels
oc get svc

0 comments on commit ea01801

Please sign in to comment.