You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/27 20:49:00 UTC

[jira] [Commented] (OFBIZ-12785) Include build information in container builds of OFBiz

    [ https://issues.apache.org/jira/browse/OFBIZ-12785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705674#comment-17705674 ] 

ASF subversion and git services commented on OFBIZ-12785:
---------------------------------------------------------

Commit 43fc005b88592015639080372cad390181fbf28c in ofbiz-framework's branch refs/heads/trunk from Daniel Watford
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=43fc005b88 ]

Improved: Display version information in container builds (OFBIZ-12785)

The GitHub Actions workflow prepares the first part of the VERSION file
based on the current the current git reference.

During the container build step, the java runtime environment version string
is appended to the VERSION file.

The contents of the VERSION file are displayed in the footer of the
various OFBiz themes.

> Include build information in container builds of OFBiz
> ------------------------------------------------------
>
>                 Key: OFBIZ-12785
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12785
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Upcoming Branch
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> The current demo site builds of OFBiz (demo-trunk, demo-next, demo-stable) include build information in the page footer.
> This information is rendered from a VERSION file and a runtime/GitInfo.ftl file. These files are not currently populated for container builds.
> Devise a suitable method which, when building container images , will populate the VERSION file with suitable information to describe the build of OFBiz in use.
> The VERSION file should contain information such as:
>  * The date and time of the build
>  * The git branch for snapshot builds
>  * The git commit SHA for snapshot builds
>  * The release version label for builds created from git tags (i.e. releases)
>  * The JDK version in use



--
This message was sent by Atlassian Jira
(v8.20.10#820010)