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

Feature #521 main_v5.1 sonarqube_gha #526

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

JohnHalleyGotway
Copy link
Contributor

@JohnHalleyGotway JohnHalleyGotway commented Apr 19, 2024

Same set of changes as for PR #525, but this is for the main_v5.1 branch. Please review this PR at the same time. These changes are needed in main_v5.1, which is the default branch, to enable the workflow dispatch option to appear via GitHub.

In addition, note the changes in internal/scripts/docker/hooks/build. This is significant.

All of the METviewer builds in DockerHub are surprisingly static:
https://hub.docker.com/r/dtcenter/metviewer/tags

Even though they're labelled develop or 6.0.0-beta4, they're actually just building the v6.0.0-beta2 release! We should change the logic of this build hook to actually build the intended branch of the code! The dependency logic is a placeholder for now. In the develop branch, we should craft better logic for handling the versions of the METviewer dependencies.

…the workflow_dispatch option can become available via GitHub
…witch to building against the develop version of the dependencies.
Copy link
Collaborator

Choose a reason for hiding this comment

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

should the METCALCPY, METPLOTPY, and METDATAIO_GIT_NAME be set to main, rather than develop since this is for the main_v5.1 branch? (lines 11, 12, and 13)

…cy versions as main_v2.1 rather than develop. Note that DockerHub already uses the hooks/build file to define the dependencies... but the SonarQube workflow actually uses the versions listed in the Dockerifle. Note that issue #527 will clean up and refine this version depedency logic.
@bikegeek bikegeek merged commit 16096d7 into main_v5.1 Apr 23, 2024
3 checks passed
@bikegeek bikegeek deleted the feature_521_main_v5.1_sonarqube_gha branch April 23, 2024 15:26
bikegeek pushed a commit that referenced this pull request Jul 8, 2024
* Per #527, try switching to met-base image

* Per 527, remove yum reference since Python 3.10 is already provided in the dtcenter/met-base image

* Per #527, upgrade tomcat to 9.0.89 and java to 17.0.11

* Per #527, add build_metviewer_docker.sh script and update Dockerfile.copy to call it.

* Per #529, update call to build script

* Per #529, migrate changes to Dockerfile

* Per #572, remove geos-3.7.2 unsupported --enable-php configuration option.

* Per #527, switch to using dtcenter/met-base-metviewer:v3.2

* Per #527, move configuring build.properties back into the Dockerfiles since it differs for Dockerfile.apptainer. Also modify Dockerfile.apptainer to use the dtcenter/met-base-metviewer image.

* Per #526, fix syntax error in build_metviewer_docker.sh

* Per #527, get docker build working for apptainer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Add GitHub action to run SonarQube for METveiwer pull requests and feature branches
2 participants