Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: esimonetti/SugarDockerized
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sugarcrm-developers/SugarDockerized
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on May 8, 2023

  1. Sugar v13 - Support for PHP 8.2 (#1)

    * Fixed copyright notice as it was mistakely not updated
    
    * Implemented Sugar 13
    
    * Added prefix to the images
    
    * Fixed Prefix tag with Flavor
    
    * Removing latest from the build
    
    * Addd meta id
    
    * Fixed context
    
    * Updating the context
    
    * Adding multiple platforms
    
    * Moved platforms to QEMU
    
    * Add platforms to build and push
    
    * amd64/v4 not supported
    
    * Restricting to linux/amd64,linux/arm64
    
    * Fixed ES volume and Removed prebuilt yml
    
    * Fixed ES and removed latest
    
    * Added missing images
    
    * Added Docker config for DH images
    
    ---------
    
    Co-authored-by: Enrico Simonetti <enrico.simonetti@gmail.com>
    rfernandes-sugarcrm and esimonetti authored May 8, 2023
    Copy the full SHA
    2ca8dd4 View commit details

Commits on May 10, 2023

  1. Decoupled Images for PHP8.0 (#2)

    * Decoupled Images for PHP8.0
    
    * Added sugar12 and commons to GH Actions
    
    * Fixed strategy run for local build only
    rfernandes-sugarcrm authored May 10, 2023
    Copy the full SHA
    2e3a501 View commit details

Commits on Dec 5, 2023

  1. Implemented Cloud backup restore (#3)

    * Implemented Cloud backup restore
    
    * Added restorefromfile.sh to README
    rfernandes-sugarcrm authored Dec 5, 2023
    Copy the full SHA
    698fa12 View commit details

Commits on Dec 6, 2023

  1. Updated README with sugar-developers project (#4)

    * Update README.md
    
    * Update README.md
    rfernandes-sugarcrm authored Dec 6, 2023
    Copy the full SHA
    a49d51b View commit details

Commits on Dec 15, 2023

  1. Copy the full SHA
    73c21b9 View commit details
  2. Fixed Xdebug 3 and added php.ini config (#5)

    * Implemented Cloud backup restore
    
    * Added restorefromfile.sh to README
    
    * Fixed Xdebug 3 and added php.ini config
    rfernandes-sugarcrm authored Dec 15, 2023
    Copy the full SHA
    428ce48 View commit details
  3. Removed unnecessary test cases (#6)

    * Delete tests/web_tests/8.0/test_6.php
    
    * Delete tests/web_tests/8.2/test_6.php
    rfernandes-sugarcrm authored Dec 15, 2023
    Copy the full SHA
    a6a37ba View commit details
  4. Copy the full SHA
    2b6a8a8 View commit details

Commits on Apr 1, 2024

  1. Removed buildfromsource instructions

    not relevant from non-sugar employees
    rfernandes-sugarcrm authored Apr 1, 2024
    Copy the full SHA
    78ec790 View commit details

Commits on Apr 15, 2024

  1. Update installfromzip.sh (#8)

    Add the instruction that warns if "unzip" is not settled. This will prevent future errors that happen to me.
    adevesa authored Apr 15, 2024
    Copy the full SHA
    4b26380 View commit details
  2. Copy the full SHA
    31a40cd View commit details
  3. Fix for legacy db manager on config.php causing 500 errors (#10)

    * Implemented Cloud backup restore
    
    * Added restorefromfile.sh to README
    
    * Fixed Xdebug 3 and added php.ini config
    
    * Removing not valid test cases
    
    * Update simpleRepair.php
    rfernandes-sugarcrm authored Apr 15, 2024
    Copy the full SHA
    804f2ef View commit details

Commits on May 21, 2024

  1. Sugar 14.0 Stack (#11)

    * Sugar 14.0 Stack
    rfernandes-sugarcrm authored May 21, 2024
    Copy the full SHA
    4f70fb7 View commit details
  2. Patched workflows to execute on tag (#12)

    * Update sugar9.yml
    
    * Update sugar11.yml
    rfernandes-sugarcrm authored May 21, 2024
    Copy the full SHA
    814194c View commit details
  3. Copy the full SHA
    fa6e664 View commit details

Commits on Oct 17, 2024

  1. Fixed when .htaccess not present (#16)

    * Modifying to use proper Docker images.
    
    * Fixed when .htaccess not present
    rfernandes-sugarcrm authored Oct 17, 2024
    Copy the full SHA
    4c737e6 View commit details

Commits on Nov 22, 2024

  1. Copy the full SHA
    02550a2 View commit details
  2. Added docker.ini to image and enabled Blowfish on OpenSSL 3.0 (#17)

    * Modifying to use proper Docker images.
    
    * Fixed when .htaccess not present
    
    * Added docker.ini to image and enabled Blowfish on OpenSSL 3.0
    rfernandes-sugarcrm authored Nov 22, 2024
    Copy the full SHA
    900ecb3 View commit details
  3. Copy the full SHA
    38c2bfe View commit details
  4. Fixed failing tests on recent github actions (#19)

    * docker-compose no longer available
    
    * Fixed failing tests on recent github actions
    rfernandes-sugarcrm authored Nov 22, 2024
    Copy the full SHA
    ea9f254 View commit details

Commits on Dec 2, 2024

  1. Replaced toothpaste with simpleRepair and fix tests (#20)

    * Replaced toothpaste with simpleRepair and fix tests
    
    * Added sugar folder
    
    * Fixed docker compose command
    
    * removing sugar9 workflows no longer supported
    rfernandes-sugarcrm authored Dec 2, 2024
    Copy the full SHA
    1fe9398 View commit details

Commits on Mar 17, 2025

  1. Sugar 25 Implementation (#21)

    * Replaced toothpaste with simpleRepair and fix tests
    
    * Added sugar folder
    
    * Fixed docker compose command
    
    * removing sugar9 workflows no longer supported
    
    * Sugar 25 Implementation
    
    * no longer supported
    
    * Fixed missing tests and build without push
    rfernandes-sugarcrm authored Mar 17, 2025
    Copy the full SHA
    5e31592 View commit details
Showing with 3,513 additions and 153 deletions.
  1. +50 −0 .github/workflows/sugar-commons.yml
  2. +0 −21 .github/workflows/sugar11.yml
  3. +52 −7 .github/workflows/sugar12.yml
  4. +72 −0 .github/workflows/sugar13.yml
  5. +72 −0 .github/workflows/sugar14.yml
  6. +87 −0 .github/workflows/sugar25.yml
  7. +0 −21 .github/workflows/sugar9.yml
  8. +1 −0 .gitignore
  9. +75 −34 README.md
  10. 0 data/mysql/8032/.gitkeep
  11. 0 data/mysql/843/.gitkeep
  12. +1 −1 images/jmeter/Dockerfile
  13. +1 −1 images/loadbalancer/Dockerfile
  14. +4 −0 images/mysql/8032/Dockerfile
  15. +13 −0 images/mysql/8032/config/mysql/docker.cnf
  16. +4 −0 images/mysql/830/Dockerfile
  17. +13 −0 images/mysql/830/config/mysql/docker.cnf
  18. +4 −0 images/mysql/843/Dockerfile
  19. +12 −0 images/mysql/843/config/mysql/docker.cnf
  20. +2 −2 images/permissions/Dockerfile
  21. +5 −0 images/permissions/apps/sugarfixpermissions
  22. +1 −20 images/php/80/apache/Dockerfile
  23. +22 −0 images/php/80/apache/config/php/docker.ini
  24. +3 −6 images/php/80/apache/config/php/mods-available/xdebug.ini
  25. +1 −12 images/php/80/cron/Dockerfile
  26. +11 −0 images/php/80/cron/config/php/docker.ini
  27. +92 −0 images/php/82/apache/Dockerfile
  28. +1 −0 images/php/82/apache/config/apache2/mods-available/deflate.conf
  29. +14 −0 images/php/82/apache/config/apache2/sites-available/sugar.conf
  30. +22 −0 images/php/82/apache/config/php/docker.ini
  31. +30 −0 images/php/82/apache/config/php/mods-available/opcache.ini
  32. +1 −0 images/php/82/apache/config/php/mods-available/redis.ini
  33. +2 −0 images/php/82/apache/config/php/mods-available/tideways.ini
  34. +10 −0 images/php/82/apache/config/php/mods-available/xdebug.ini
  35. +2 −0 images/php/82/apache/config/php/mods-available/xhprof.ini
  36. +7 −0 images/php/82/apache/config/php/opcache-blacklist
  37. +91 −0 images/php/82/cron/Dockerfile
  38. +25 −0 images/php/82/cron/apps/sugarcron
  39. +11 −0 images/php/82/cron/config/php/docker.ini
  40. +30 −0 images/php/82/cron/config/php/mods-available/opcache.ini
  41. +1 −0 images/php/82/cron/config/php/mods-available/redis.ini
  42. +2 −0 images/php/82/cron/config/php/mods-available/tideways.ini
  43. +10 −0 images/php/82/cron/config/php/mods-available/xdebug.ini
  44. +2 −0 images/php/82/cron/config/php/mods-available/xhprof.ini
  45. +7 −0 images/php/82/cron/config/php/opcache-blacklist
  46. +91 −0 images/php/83/apache/Dockerfile
  47. +1 −0 images/php/83/apache/config/apache2/mods-available/deflate.conf
  48. +14 −0 images/php/83/apache/config/apache2/sites-available/sugar.conf
  49. +22 −0 images/php/83/apache/config/php/docker.ini
  50. +30 −0 images/php/83/apache/config/php/mods-available/opcache.ini
  51. +1 −0 images/php/83/apache/config/php/mods-available/redis.ini
  52. +2 −0 images/php/83/apache/config/php/mods-available/tideways.ini
  53. +10 −0 images/php/83/apache/config/php/mods-available/xdebug.ini
  54. +2 −0 images/php/83/apache/config/php/mods-available/xhprof.ini
  55. +7 −0 images/php/83/apache/config/php/opcache-blacklist
  56. +91 −0 images/php/83/cron/Dockerfile
  57. +25 −0 images/php/83/cron/apps/sugarcron
  58. +11 −0 images/php/83/cron/config/php/docker.ini
  59. +30 −0 images/php/83/cron/config/php/mods-available/opcache.ini
  60. +1 −0 images/php/83/cron/config/php/mods-available/redis.ini
  61. +2 −0 images/php/83/cron/config/php/mods-available/tideways.ini
  62. +10 −0 images/php/83/cron/config/php/mods-available/xdebug.ini
  63. +2 −0 images/php/83/cron/config/php/mods-available/xhprof.ini
  64. +7 −0 images/php/83/cron/config/php/opcache-blacklist
  65. +91 −0 images/php/8314/apache/Dockerfile
  66. +1 −0 images/php/8314/apache/config/apache2/mods-available/deflate.conf
  67. +14 −0 images/php/8314/apache/config/apache2/sites-available/sugar.conf
  68. +22 −0 images/php/8314/apache/config/php/docker.ini
  69. +30 −0 images/php/8314/apache/config/php/mods-available/opcache.ini
  70. +1 −0 images/php/8314/apache/config/php/mods-available/redis.ini
  71. +2 −0 images/php/8314/apache/config/php/mods-available/tideways.ini
  72. +10 −0 images/php/8314/apache/config/php/mods-available/xdebug.ini
  73. +2 −0 images/php/8314/apache/config/php/mods-available/xhprof.ini
  74. +7 −0 images/php/8314/apache/config/php/opcache-blacklist
  75. +91 −0 images/php/8314/cron/Dockerfile
  76. +25 −0 images/php/8314/cron/apps/sugarcron
  77. +11 −0 images/php/8314/cron/config/php/docker.ini
  78. +30 −0 images/php/8314/cron/config/php/mods-available/opcache.ini
  79. +1 −0 images/php/8314/cron/config/php/mods-available/redis.ini
  80. +2 −0 images/php/8314/cron/config/php/mods-available/tideways.ini
  81. +10 −0 images/php/8314/cron/config/php/mods-available/xdebug.ini
  82. +2 −0 images/php/8314/cron/config/php/mods-available/xhprof.ini
  83. +7 −0 images/php/8314/cron/config/php/opcache-blacklist
  84. +79 −0 images/php/844/apache/Dockerfile
  85. +1 −0 images/php/844/apache/config/apache2/mods-available/deflate.conf
  86. +14 −0 images/php/844/apache/config/apache2/sites-available/sugar.conf
  87. +22 −0 images/php/844/apache/config/php/docker.ini
  88. +30 −0 images/php/844/apache/config/php/mods-available/opcache.ini
  89. +1 −0 images/php/844/apache/config/php/mods-available/redis.ini
  90. +10 −0 images/php/844/apache/config/php/mods-available/xdebug.ini
  91. +2 −0 images/php/844/apache/config/php/mods-available/xhprof.ini
  92. +7 −0 images/php/844/apache/config/php/opcache-blacklist
  93. +77 −0 images/php/844/cron/Dockerfile
  94. +25 −0 images/php/844/cron/apps/sugarcron
  95. +11 −0 images/php/844/cron/config/php/docker.ini
  96. +30 −0 images/php/844/cron/config/php/mods-available/opcache.ini
  97. +1 −0 images/php/844/cron/config/php/mods-available/redis.ini
  98. +10 −0 images/php/844/cron/config/php/mods-available/xdebug.ini
  99. +2 −0 images/php/844/cron/config/php/mods-available/xhprof.ini
  100. +7 −0 images/php/844/cron/config/php/opcache-blacklist
  101. +1 −1 images/testsmtp/Dockerfile
  102. +1 −1 images/traefik/Dockerfile
  103. +1 −1 stacks/reverseproxy/README.md
  104. +6 −0 stacks/sugar12/php80-local-build.yml
  105. +5 −6 stacks/sugar12/php80.yml
  106. +10 −0 stacks/sugar13/README.md
  107. +94 −0 stacks/sugar13/php82-local-build.yml
  108. +91 −0 stacks/sugar13/php82.yml
  109. +10 −0 stacks/sugar14/README.md
  110. +94 −0 stacks/sugar14/php83-local-build.yml
  111. +91 −0 stacks/sugar14/php83.yml
  112. +26 −0 stacks/sugar25/README.md
  113. +92 −0 stacks/sugar25/php83-local-build.yml
  114. +89 −0 stacks/sugar25/php83.yml
  115. +92 −0 stacks/sugar25/php84-local-build.yml
  116. +89 −0 stacks/sugar25/php84.yml
  117. +1 −1 tests/start.sh
  118. +2 −2 tests/stop.sh
  119. +1 −1 tests/web_tests.sh
  120. +5 −0 tests/web_tests/8.0/composer.json
  121. +2 −0 tests/web_tests/8.0/test_1.php
  122. +9 −0 tests/web_tests/8.0/test_2.php
  123. +10 −0 tests/web_tests/8.0/test_3.php
  124. +20 −0 tests/web_tests/8.0/test_4.php
  125. +59 −0 tests/web_tests/8.0/test_5.php
  126. +5 −0 tests/web_tests/8.2/composer.json
  127. +2 −0 tests/web_tests/8.2/test_1.php
  128. +9 −0 tests/web_tests/8.2/test_2.php
  129. +10 −0 tests/web_tests/8.2/test_3.php
  130. +20 −0 tests/web_tests/8.2/test_4.php
  131. +59 −0 tests/web_tests/8.2/test_5.php
  132. +5 −0 tests/web_tests/8.3.14/composer.json
  133. +2 −0 tests/web_tests/8.3.14/test_1.php
  134. +9 −0 tests/web_tests/8.3.14/test_2.php
  135. +10 −0 tests/web_tests/8.3.14/test_3.php
  136. +20 −0 tests/web_tests/8.3.14/test_4.php
  137. +59 −0 tests/web_tests/8.3.14/test_5.php
  138. +5 −0 tests/web_tests/8.3/composer.json
  139. +2 −0 tests/web_tests/8.3/test_1.php
  140. +9 −0 tests/web_tests/8.3/test_2.php
  141. +10 −0 tests/web_tests/8.3/test_3.php
  142. +20 −0 tests/web_tests/8.3/test_4.php
  143. +59 −0 tests/web_tests/8.3/test_5.php
  144. +5 −0 tests/web_tests/8.4.4/composer.json
  145. +2 −0 tests/web_tests/8.4.4/test_1.php
  146. +9 −0 tests/web_tests/8.4.4/test_2.php
  147. +10 −0 tests/web_tests/8.4.4/test_3.php
  148. +20 −0 tests/web_tests/8.4.4/test_4.php
  149. +59 −0 tests/web_tests/8.4.4/test_5.php
  150. +1 −1 utilities/build/build.sh
  151. +1 −1 utilities/build/refreshsystem.sh
  152. +29 −0 utilities/build/simpleRepair.php
  153. +75 −0 utilities/configs/.htaccess
  154. +17 −0 utilities/configs/config_override_dockerized.php
  155. +6 −0 utilities/installfromzip.sh
  156. +6 −1 utilities/repair.sh
  157. +125 −0 utilities/restorefromfile.sh
  158. +4 −4 utilities/stack.sh
  159. +8 −0 utilities/stacks.conf
  160. +1 −2 utilities/sugardockerized/checkversion.sh
  161. +1 −1 utilities/sugardockerized/install.sh
  162. +1 −1 utilities/sugardockerized/selfupgrade.sh
  163. +3 −3 utilities/xdebug.sh
  164. +1 −1 version
50 changes: 50 additions & 0 deletions .github/workflows/sugar-commons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: ci-commons
on:
push:
tags:
- 'v*'
# branches: [ master, dev ]
# pull_request:
# branches: [ master ]
jobs:
docker:
strategy:
fail-fast: false
matrix:
include:
- dockercontext: ./images/permissions
image: sugarcrmdevelopers/sugardockerized
prefix: permissions-
- dockercontext: ./images/testsmtp
image: sugarcrmdevelopers/sugardockerized
prefix: testsmtp-
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ matrix.image }}
flavor: |
latest=true
prefix=${{ matrix.prefix }},onlatest=true
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ${{ matrix.dockercontext }}
push: true
platforms: 'linux/amd64,linux/arm64'
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
21 changes: 0 additions & 21 deletions .github/workflows/sugar11.yml

This file was deleted.

59 changes: 52 additions & 7 deletions .github/workflows/sugar12.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,66 @@
name:
name: ci-v12
on:
#push:
# branches: [ master, dev ]
pull_request:
branches: [ master ]
push:
tags:
- 'v*'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
run: ['stacks/sugar12/php80.yml', 'stacks/sugar12/php80-local-build.yml']
run: ['stacks/sugar12/php80-local-build.yml']
steps:
- run: sudo sysctl -w vm.max_map_count=262144
- run: echo '127.0.0.1 docker.local' | sudo tee -a /etc/hosts
- uses: actions/checkout@v1
- run: cp -r ./tests/web_tests ./data/app/sugar/
- run: ./tests/start.sh ${{ matrix.run }}
- run: ./tests/web_tests.sh ${{ matrix.run }} 11.0 7.4
- run: ./tests/web_tests.sh ${{ matrix.run }} 12.0 8.0
- run: ./tests/stop.sh ${{ matrix.run }}

docker:
strategy:
fail-fast: false
matrix:
include:
- dockercontext: ./images/php/80/apache
image: sugarcrmdevelopers/sugardockerized
prefix: php8.0-apache-
- dockercontext: ./images/php/80/cron
image: sugarcrmdevelopers/sugardockerized
prefix: php8.0-cron-
- dockercontext: ./images/mysql/80
image: sugarcrmdevelopers/sugardockerized
prefix: mysql8.0-
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ matrix.image }}
flavor: |
latest=true
prefix=${{ matrix.prefix }},onlatest=true
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ${{ matrix.dockercontext }}
push: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' && 'true' || 'false' }}
platforms: 'linux/amd64,linux/arm64'
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
72 changes: 72 additions & 0 deletions .github/workflows/sugar13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: ci-v13
on:
push:
tags:
- 'v*'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
run: ['stacks/sugar13/php82-local-build.yml']
steps:
- run: sudo sysctl -w vm.max_map_count=262144
- run: echo '127.0.0.1 docker.local' | sudo tee -a /etc/hosts
- uses: actions/checkout@v1
- run: cp -r ./tests/web_tests ./data/app/sugar/
- run: ./tests/start.sh ${{ matrix.run }}
- run: ./tests/web_tests.sh ${{ matrix.run }} 13.0 8.2
- run: ./tests/stop.sh ${{ matrix.run }}

docker:
strategy:
fail-fast: false
matrix:
include:
- dockercontext: ./images/php/82/apache
image: sugarcrmdevelopers/sugardockerized
prefix: php8.2-apache-
- dockercontext: ./images/php/82/cron
image: sugarcrmdevelopers/sugardockerized
prefix: php8.2-cron-
- dockercontext: ./images/mysql/8032
image: sugarcrmdevelopers/sugardockerized
prefix: mysql8.0.32-
- dockercontext: ./images/permissions
image: sugarcrmdevelopers/sugardockerized
prefix: permissions-
- dockercontext: ./images/testsmtp
image: sugarcrmdevelopers/sugardockerized
prefix: testsmtp-
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ matrix.image }}
flavor: |
latest=true
prefix=${{ matrix.prefix }},onlatest=true
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ${{ matrix.dockercontext }}
push: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' && 'true' || 'false' }}
platforms: 'linux/amd64,linux/arm64'
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
72 changes: 72 additions & 0 deletions .github/workflows/sugar14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: ci-v14
on:
push:
tags:
- 'v*'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
run: ['stacks/sugar14/php83-local-build.yml']
steps:
- run: sudo sysctl -w vm.max_map_count=262144
- run: echo '127.0.0.1 docker.local' | sudo tee -a /etc/hosts
- uses: actions/checkout@v1
- run: cp -r ./tests/web_tests ./data/app/sugar/
- run: ./tests/start.sh ${{ matrix.run }}
- run: ./tests/web_tests.sh ${{ matrix.run }} 14.0 8.3
- run: ./tests/stop.sh ${{ matrix.run }}

docker:
strategy:
fail-fast: false
matrix:
include:
- dockercontext: ./images/php/83/apache
image: sugarcrmdevelopers/sugardockerized
prefix: php8.3-apache-
- dockercontext: ./images/php/83/cron
image: sugarcrmdevelopers/sugardockerized
prefix: php8.3-cron-
- dockercontext: ./images/mysql/830
image: sugarcrmdevelopers/sugardockerized
prefix: mysql8.3.0-
- dockercontext: ./images/permissions
image: sugarcrmdevelopers/sugardockerized
prefix: permissions-
- dockercontext: ./images/testsmtp
image: sugarcrmdevelopers/sugardockerized
prefix: testsmtp-
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ matrix.image }}
flavor: |
latest=true
prefix=${{ matrix.prefix }},onlatest=true
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ${{ matrix.dockercontext }}
push: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' && 'true' || 'false' }}
platforms: 'linux/amd64,linux/arm64'
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
87 changes: 87 additions & 0 deletions .github/workflows/sugar25.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: ci-v25
on:
push:
tags:
- 'v*'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- stack: 'stacks/sugar25/php83-local-build.yml'
version: 25.1
php: 8.3.14
- stack: 'stacks/sugar25/php84-local-build.yml'
version: 25.1
php: 8.4.4
steps:
- run: sudo sysctl -w vm.max_map_count=262144
- run: echo '127.0.0.1 docker.local' | sudo tee -a /etc/hosts
- uses: actions/checkout@v3
- run: cp -r ./tests/web_tests ./data/app/sugar/
- run: ./tests/start.sh ${{ matrix.stack }}
- run: ./tests/web_tests.sh ${{ matrix.stack }} ${{ matrix.version }} ${{ matrix.php }}
- run: ./tests/stop.sh ${{ matrix.stack }}

docker:
strategy:
fail-fast: false
matrix:
include:
- dockercontext: ./images/php/8314/apache
image: sugarcrmdevelopers/sugardockerized
prefix: php8.3.14-apache-
- dockercontext: ./images/php/8314/cron
image: sugarcrmdevelopers/sugardockerized
prefix: php8.3.14-cron-
- dockercontext: ./images/mysql/8032
image: sugarcrmdevelopers/sugardockerized
prefix: mysql8.0.32-
- dockercontext: ./images/permissions
image: sugarcrmdevelopers/sugardockerized
prefix: permissions-
- dockercontext: ./images/testsmtp
image: sugarcrmdevelopers/sugardockerized
prefix: testsmtp-
- dockercontext: ./images/php/844/apache
image: sugarcrmdevelopers/sugardockerized
prefix: php8.4.4-apache-
- dockercontext: ./images/php/844/cron
image: sugarcrmdevelopers/sugardockerized
prefix: php8.4.4-cron-
- dockercontext: ./images/mysql/843
image: sugarcrmdevelopers/sugardockerized
prefix: mysql8.4.3-
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ matrix.image }}
flavor: |
latest=true
prefix=${{ matrix.prefix }},onlatest=true
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ${{ matrix.dockercontext }}
push: ${{ github.repository == 'sugarcrm-developers/SugarDockerized' && 'true' || 'false' }}
platforms: 'linux/amd64,linux/arm64'
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Loading