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

fix(pom): use latest jfr-datasource and grafana-dashboard #774

Merged

Conversation

andrewazores
Copy link
Member

Fixes #772

This updates the pom.xml versions for jfr-datasource and cryostat-grafana-dashboard used in integration testing from 1.0.0 to latest. Once the backport PR is opened I will change these versions from latest in main to 2.0.0 in the v2 backport release version. Later, when 2.1.0 release is approaching and we create the upstream branch for it, then that branch should also have latest replaced by 2.1.0 for these two itest container versions as well.

Additionally, this PR uses xpath in run.sh and smoketest.sh to read pom.xml to determine things like the JMX and HTTP API port numbers to use by default. This is just a cleanup so that the values aren't hardcoded in multiple places, which is what leads to some places lagging behind as was the problem with the itest container versions above.

@andrewazores andrewazores force-pushed the run-smoketest-use-pom-versions branch from 383c9b9 to aea0d04 Compare December 3, 2021 23:49
Copy link
Contributor

@jan-law jan-law left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working well for me, will leave approval to Hareet

@andrewazores andrewazores merged commit 0595551 into cryostatio:main Dec 6, 2021
@andrewazores andrewazores deleted the run-smoketest-use-pom-versions branch December 6, 2021 18:56
mergify bot pushed a commit that referenced this pull request Dec 6, 2021
* fix(pom): use latest jfr-datasource and grafana-dashboard

Fixes #772

* chore(run.sh): use versions and port numbers from pom.xml by default

* fixup! chore(run.sh): use versions and port numbers from pom.xml by default

(cherry picked from commit 0595551)
andrewazores added a commit that referenced this pull request Dec 6, 2021
) (#778)

* fix(pom): use latest jfr-datasource and grafana-dashboard (#774)

* fix(pom): use latest jfr-datasource and grafana-dashboard

Fixes #772

* chore(run.sh): use versions and port numbers from pom.xml by default

* fixup! chore(run.sh): use versions and port numbers from pom.xml by default

(cherry picked from commit 0595551)

* use jfr-datasource and grafana-dashboard 2.0.0

Co-authored-by: Andrew Azores <aazores@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pom.xml uses outdated jfr-datasource and cryostat-grafana-dashboard images for itests
3 participants