Enhance GitHub action compilation options and testing workflows #2815
Labels
component: testing
Software testing issue
priority: high
High Priority
requestor: METplus Team
METplus Development Team
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
Creating the MET-12.0.0-beta3 release demonstrated that the compilation options GHA workflow is not working as it should. The issue is that the
${SOURCE_BRANCH}
for releases is defined asrefs/tags/v12.0.0-beta3
. That string is passed along to the${MET_GIT_NAME}
environment variable and used to define the path for log files. The embedded slashes in that string lead to an error that the log file is not writable.The fix is pretty simple and easy. Update the
get_branch_name.sh
script to strip offref/tags/
just like it's already stripping offrefs/heads/
. Note that this GHA run demonstrates that that solution fixes the problem.In addition, incorporate these METplus changes into the MET repository.
Time Estimate
2 hours.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
None needed.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next official version
Select: MET-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: