[jira] [Reopened] (OFBIZ-12876) Use git checkout to retrieve ofbiz plugin sources when building docker images
[ https://issues.apache.org/jira/browse/OFBIZ-12876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Watford reopened OFBIZ-12876: Assignee: Daniel Watford (was: Jacques Le Roux) Re-opened as there are some comments to clean up in .github/workflows/docker-image.yml > Use git checkout to retrieve ofbiz plugin sources when building docker images > - > > Key: OFBIZ-12876 > URL: https://issues.apache.org/jira/browse/OFBIZ-12876 > Project: OFBiz > Issue Type: Task > Components: Docker, GitHub >Affects Versions: Upcoming Branch, 18.12.12, 22.01 >Reporter: Daniel Watford >Assignee: Daniel Watford >Priority: Major > Fix For: 22.01.01, Upcoming Branch, 18.12.12 > > > The docker-image github actions workflow currently builds 3 docker container > images for each of the branches it is configured to run against. > The 3rd container image includes ofbiz plugins. The plugin sources are > retrieved using the pullAllPluginsSource gradle task. This gradle task will > soon be removed since it depends on a Subversion compatible interface to the > GitHub hosted ofbiz-plugins repository. The Subversion interface is scheduled > to be disabled by GitHub on the 8th January 2024. > The github actions workflow should be altered to retrieve ofbiz plugin > sources using a git checkout of the ofbiz-plugins repository. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (OFBIZ-12876) Use git checkout to retrieve ofbiz plugin sources when building docker images
[ https://issues.apache.org/jira/browse/OFBIZ-12876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-12876. --- Fix Version/s: 22.01.01 Upcoming Branch 18.12.12 Assignee: Jacques Le Roux (was: Daniel Watford) Resolution: Implemented This has been done with https://github.com/apache/ofbiz-framework/commit/cdb3e6e207e85879aa1744ed1464648bc9252327 > Use git checkout to retrieve ofbiz plugin sources when building docker images > - > > Key: OFBIZ-12876 > URL: https://issues.apache.org/jira/browse/OFBIZ-12876 > Project: OFBiz > Issue Type: Task > Components: Docker, GitHub >Affects Versions: Upcoming Branch, 18.12.12, 22.01 >Reporter: Daniel Watford >Assignee: Jacques Le Roux >Priority: Major > Fix For: 22.01.01, Upcoming Branch, 18.12.12 > > > The docker-image github actions workflow currently builds 3 docker container > images for each of the branches it is configured to run against. > The 3rd container image includes ofbiz plugins. The plugin sources are > retrieved using the pullAllPluginsSource gradle task. This gradle task will > soon be removed since it depends on a Subversion compatible interface to the > GitHub hosted ofbiz-plugins repository. The Subversion interface is scheduled > to be disabled by GitHub on the 8th January 2024. > The github actions workflow should be altered to retrieve ofbiz plugin > sources using a git checkout of the ofbiz-plugins repository. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802286#comment-17802286 ] Ioan Eugen Stan commented on OFBIZ-12868: - [~jleroux] github might do a shallow clone : [https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/] > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802142#comment-17802142 ] ASF subversion and git services commented on OFBIZ-12868: - Commit a79773e6c538671f4b646ccf04264f8f2e7ccc75 in ofbiz-framework's branch refs/heads/release18.12 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a79773e6c5 ] Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing pullAllPluginsSource.sh from git switch "$branch" to git switch -C "$branch" does not work as expected in GH actions. Another incomprehensible behaviour...so far... > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802144#comment-17802144 ] ASF subversion and git services commented on OFBIZ-12868: - Commit 9bd538be3eef75eba33ae1c40e88ba7f90b2bdce in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=9bd538be3e ] Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing pullAllPluginsSource.sh from git switch "$branch" to git switch -C "$branch" does not work as expected in GH actions. Another incomprehensible behaviour...so far... > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802143#comment-17802143 ] ASF subversion and git services commented on OFBIZ-12868: - Commit 86a5feca369f1e7eb9916c458ca39383575b9924 in ofbiz-framework's branch refs/heads/release22.01 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=86a5feca36 ] Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Seems that, despite working locally in Ubuntu 20.04 and git-bash, changing pullAllPluginsSource.sh from git switch "$branch" to git switch -C "$branch" does not work as expected in GH actions. Another incomprehensible behaviour...so far... > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)
[GH] (ofbiz-framework): Workflow run "Build and push docker images" is working again!
The GitHub Actions job "Build and push docker images" on ofbiz-framework.git has succeeded. Run started by GitHub user asfgit (triggered by asfgit). Head commit for run: d2f682c2d46a6c4b04153c986e72d7c4d9c43db8 / Jacques Le Roux Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... Report URL: https://github.com/apache/ofbiz-framework/actions/runs/7397017906 With regards, GitHub Actions via GitBox
[GH] (ofbiz-framework): Workflow run "Build and push docker images" failed!
The GitHub Actions job "Build and push docker images" on ofbiz-framework.git has failed. Run started by GitHub user asfgit (triggered by asfgit). Head commit for run: a37191e4b54916223610b41bdcf84bbae58fc408 / Jacques Le Roux Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... Report URL: https://github.com/apache/ofbiz-framework/actions/runs/7397017551 With regards, GitHub Actions via GitBox
[GH] (ofbiz-framework): Workflow run "Java CI with Gradle" is working again!
The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git has succeeded. Run started by GitHub user asfgit (triggered by asfgit). Head commit for run: d2f682c2d46a6c4b04153c986e72d7c4d9c43db8 / Jacques Le Roux Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... Report URL: https://github.com/apache/ofbiz-framework/actions/runs/7397017902 With regards, GitHub Actions via GitBox
[GH] (ofbiz-framework): Workflow run "Build and push docker images" failed!
The GitHub Actions job "Build and push docker images" on ofbiz-framework.git has failed. Run started by GitHub user asfgit (triggered by asfgit). Head commit for run: fad2ea9e7dcac2221bfba0d1eea99795096a7542 / Jacques Le Roux Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... Report URL: https://github.com/apache/ofbiz-framework/actions/runs/7397017262 With regards, GitHub Actions via GitBox
[GH] (ofbiz-framework): Workflow run "Java CI with Gradle" failed!
The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git has failed. Run started by GitHub user asfgit (triggered by asfgit). Head commit for run: fad2ea9e7dcac2221bfba0d1eea99795096a7542 / Jacques Le Roux Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... Report URL: https://github.com/apache/ofbiz-framework/actions/runs/7397017263 With regards, GitHub Actions via GitBox
[GH] (ofbiz-framework): Workflow run "Java CI with Gradle" failed!
The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git has failed. Run started by GitHub user asfgit (triggered by asfgit). Head commit for run: a37191e4b54916223610b41bdcf84bbae58fc408 / Jacques Le Roux Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... Report URL: https://github.com/apache/ofbiz-framework/actions/runs/7397017525 With regards, GitHub Actions via GitBox
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802139#comment-17802139 ] ASF subversion and git services commented on OFBIZ-12868: - Commit d2f682c2d46a6c4b04153c986e72d7c4d9c43db8 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d2f682c2d4 ] Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802137#comment-17802137 ] ASF subversion and git services commented on OFBIZ-12868: - Commit fad2ea9e7dcac2221bfba0d1eea99795096a7542 in ofbiz-framework's branch refs/heads/release18.12 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fad2ea9e7d ] Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (OFBIZ-12868) Replace SvnCheckout in Gradle
[ https://issues.apache.org/jira/browse/OFBIZ-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802138#comment-17802138 ] ASF subversion and git services commented on OFBIZ-12868: - Commit a37191e4b54916223610b41bdcf84bbae58fc408 in ofbiz-framework's branch refs/heads/release22.01 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a37191e4b5 ] Fixed: Replace SvnCheckout in Gradle (OFBIZ-12868) Updates the documentation for pullAllPluginsSource.sh and pullPluginSource.sh Uses git switch -C "$branch" instead of git switch "$branch" in both scripts There is something weird with pullPluginSource.sh. It works perfectly on Windows using git-bash, but in Ubuntu 20.04 it does not add but replaces plugins. I tested using current last Git version in both OS (respectively 2.43.0.windows.1 and 2.43.0). It's a minor issue as it does not block the CI so I'll review that later... > Replace SvnCheckout in Gradle > - > > Key: OFBIZ-12868 > URL: https://issues.apache.org/jira/browse/OFBIZ-12868 > Project: OFBiz > Issue Type: Task > Components: GitHub, Gradle >Affects Versions: 22.01.01, Upcoming Branch, 18.12.10 >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Blocker > Fix For: 22.01.01, Upcoming Branch, 18.12.12, 22.01 > > Attachments: OFBIZ-12868-README.patch, OFBIZ-12868-svncheckout.patch, > pullAllPluginsSource.bat, pullAllPluginsSource.sh, pullPluginSource.bat, > pullPluginSource.sh > > > As mentionned in > https://lists.apache.org/thread/on7n6nsbj0w237sqgmw7bfmw31116wcy > the SvnCheckout Gradle plugin will not be usable after January 8, 2024. > So we need a replacement and it's clearly suggested by GitHub in the link > above -- This message was sent by Atlassian Jira (v8.20.10#820010)