Skip to content

Commit

Permalink
Merge pull request #24 from mlocati/master
Browse files Browse the repository at this point in the history
Fork Sync: Update from parent repository
  • Loading branch information
vanderletenpartners authored Oct 1, 2024
2 parents dd9e353 + 0378313 commit 8c9bb61
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 49 deletions.
1 change: 1 addition & 0 deletions .github/workflows/monitor-php8.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
repository_dispatch:
types:
- monitor-php8.4
workflow_dispatch:

jobs:
test_extensions:
Expand Down
66 changes: 36 additions & 30 deletions .github/workflows/readme-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ on:
repository_dispatch:
types:
- readme-release
workflow_dispatch:

jobs:
readme-release:
runs-on: ubuntu-latest
env:
VERSIONTAG_THIS: ""
steps:
- name: Checkout
-
name: Checkout
if: >
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|| (github.event_name == 'create' && github.event.ref_type == 'tag')
Expand All @@ -26,7 +28,8 @@ jobs:
with:
ref: master
fetch-depth: 0
- name: Update README
-
name: Update README
if: >
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|| github.event_name == 'repository_dispatch'
Expand All @@ -42,7 +45,8 @@ jobs:
git commit -m '[skip ci] Automatically update README.md'
git push
fi
- name: Look for the recent version tags
-
name: Look for the recent version tags
if: >
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|| (github.event_name == 'create' && github.event.ref_type == 'tag')
Expand All @@ -68,7 +72,8 @@ jobs:
fi
printf 'VERSIONTAG_LAST=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV"
printf 'VERSIONTAG_PENULTIMATE=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV"
- name: Check if we need to create a version tag after a push
-
name: Check if we need to create a version tag after a push
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
VERSIONTAG_THIS=
Expand All @@ -95,17 +100,20 @@ jobs:
fi
printf 'VERSIONTAG_THIS=%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV"
printf 'VERSIONTAG_PREVIOUS=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV"
- name: Sleep for a while before creating a tag
-
name: Sleep for a while before creating a tag
if: env.VERSIONTAG_THIS != ''
uses: juliangruber/sleep-action@v1
with:
time: 30s
- name: Create version tag after a push in the local repository
-
name: Create version tag after a push in the local repository
if: env.VERSIONTAG_THIS != ''
run: |
git tag -- "$VERSIONTAG_THIS"
printf 'VERSIONTAG_THIS_SHA=%s\n' "$(git rev-parse HEAD)" >> "$GITHUB_ENV"
- name: Create version tag after a push in the remote repository
-
name: Create version tag after a push in the remote repository
if: env.VERSIONTAG_THIS != ''
uses: actions/github-script@v3
with:
Expand All @@ -117,7 +125,8 @@ jobs:
ref: `refs/tags/${process.env.VERSIONTAG_THIS}`,
sha: process.env.VERSIONTAG_THIS_SHA
})
- name: Check format of received tag
-
name: Check format of received tag
if: github.event_name == 'create' && github.event.ref_type == 'tag'
run: |
VERSIONTAG_THIS="${GITHUB_REF#refs/tags/}"
Expand All @@ -134,7 +143,8 @@ jobs:
fi
printf 'VERSIONTAG_THIS=%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV"
printf 'VERSIONTAG_PREVIOUS=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV"
- name: Extract release notes
-
name: Extract release notes
if: env.VERSIONTAG_THIS != ''
run: |
printf 'Generating release notes for tag %s\n' "$VERSIONTAG_THIS"
Expand All @@ -148,16 +158,19 @@ jobs:
printf 'Release notes:\n%s\n' "$RELEASE_NOTES"
printf 'RELEASE_NAME=v%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV"
printf 'RELEASE_NOTES<<EOF\n%s\nEOF\n' "$RELEASE_NOTES" >> "$GITHUB_ENV"
- name: Set script version
-
name: Set script version
if: env.VERSIONTAG_THIS != ''
run: sed -i -E "s/^(IPE_VERSION=)master$/\1$VERSIONTAG_THIS/" install-php-extensions
- name: Login to Docker Hub
-
name: Login to Docker Hub
if: env.VERSIONTAG_THIS != ''
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: mlocati
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
-
name: Build docker image
if: env.VERSIONTAG_THIS != ''
run: >
docker build
Expand All @@ -166,28 +179,21 @@ jobs:
--tag "mlocati/php-extension-installer:${VERSIONTAG_THIS%%.*}"
--tag mlocati/php-extension-installer:latest
.
- name: Push docker image to Docker Hub
-
name: Push docker image to Docker Hub
if: env.VERSIONTAG_THIS != ''
run: docker push --all-tags mlocati/php-extension-installer
- name: Create release
id: create_release
-
name: Create release
if: env.VERSIONTAG_THIS != ''
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.VERSIONTAG_THIS }}
release_name: ${{ env.RELEASE_NAME }}
name: ${{ env.RELEASE_NAME }}
body: ${{ env.RELEASE_NOTES }}
draft: false
prerelease: false
- name: Upload release asset
if: env.VERSIONTAG_THIS != ''
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./install-php-extensions
asset_name: install-php-extensions
asset_content_type: application/octet-stream
generate_release_notes: false
fail_on_unmatched_files: true
files: |
install-php-extensions
9 changes: 6 additions & 3 deletions .github/workflows/test-recent-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
repository_dispatch:
types:
- test-recent-extensions
workflow_dispatch:

jobs:
determine_extension_list:
Expand All @@ -26,10 +27,12 @@ jobs:
fi
printf "$EXTENSIONS_TO_TEST" > extensions-to-test.txt
- name: Persist list of extensions to be tested
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: artifact
path: extensions-to-test.txt
if-no-files-found: error
retention-days: 1
test_extensions:
runs-on: ubuntu-latest
needs: determine_extension_list
Expand Down Expand Up @@ -61,12 +64,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Loading list of extensions to be tested
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: artifact
- name: Test extensions
run: |
EXTENSIONS_TO_TEST="$(cat artifact/extensions-to-test.txt)"
EXTENSIONS_TO_TEST="$(cat extensions-to-test.txt)"
if test -z "$EXTENSIONS_TO_TEST"; then
echo 'No extensions to be tested'
else
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-sending-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
repository_dispatch:
types:
- test-sending-notifications
workflow_dispatch:

jobs:
send_sampe_notification:
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,15 @@ install-php-extensions @fix_letsencrypt
| interbase | | | | | | | &check; | &check; | &check; | &check; | &check; | &check; |
| intl | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| ion | &check; | &check; | &check; | &check; | | | | | | | | |
| ioncube_loader | | | &check; | &check; | | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| ioncube_loader | | &check; | &check; | &check; | | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| jsmin | | | | | | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| json_post | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| jsonpath | &check; | &check; | &check; | &check; | &check; | &check; | | | | | | |
| ldap | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| luasandbox | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| lz4[*](#special-requirements-for-lz4) | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | |
| lzf | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| mailparse | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| mailparse | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| maxminddb | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | | | |
| mcrypt | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| memcache | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
Expand Down Expand Up @@ -279,7 +279,7 @@ install-php-extensions @fix_letsencrypt
| pdo_dblib | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| pdo_firebird | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| pdo_mysql | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| pdo_oci | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| pdo_oci | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| pdo_odbc | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| pdo_pgsql | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| pdo_sqlsrv | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
Expand All @@ -299,19 +299,19 @@ install-php-extensions @fix_letsencrypt
| relay | | &check; | &check; | &check; | &check; | &check; | | | | | | |
| saxon[*](#special-requirements-for-saxon) | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| seasclick | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| seaslog | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| seaslog | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| shmop | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| simdjson[*](#special-requirements-for-simdjson) | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | | |
| smbclient | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| snappy | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| snmp | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| snuffleupagus | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| snuffleupagus | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| soap | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| sockets | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| sodium[*](#special-requirements-for-sodium) | | | | | | | | | &check; | &check; | &check; | |
| solr | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| sourceguardian | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| spx | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| spx | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| sqlsrv[*](#special-requirements-for-sqlsrv) | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| ssh2 | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| stomp | &check; | &check; | &check; | | | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
Expand Down Expand Up @@ -339,6 +339,7 @@ install-php-extensions @fix_letsencrypt
| xlswriter | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| xmldiff | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| xmlrpc | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| xpass[*](#special-requirements-for-xpass) | &check; | &check; | &check; | &check; | &check; | | | | | | | |
| xsl | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| yac | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | | |
| yaml | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
Expand All @@ -349,7 +350,7 @@ install-php-extensions @fix_letsencrypt
| zookeeper | | | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
| zstd | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; | &check; |
*Number of supported extensions: 147*
*Number of supported extensions: 148*
<!-- END OF EXTENSIONS TABLE -->
PS: the pre-installed PHP extensions are excluded from this list.
Expand Down Expand Up @@ -455,6 +456,7 @@ Some extensions have special requirements:
| <a name="special-requirements-for-sqlsrv"></a>sqlsrv | &bull; Not available in `7.1-alpine3.9` docker images<br />&bull; Not available in `7.1-alpine3.10` docker images |
| <a name="special-requirements-for-vips"></a>vips | &bull; Not available in `alpine3.9` docker images<br />&bull; Not available in `jessie` docker images |
| <a name="special-requirements-for-wikidiff2"></a>wikidiff2 | &bull; Not available in `jessie` docker images<br />&bull; Not available in `stretch` docker images |
| <a name="special-requirements-for-xpass"></a>xpass | Not available in `buster` docker images |
<!-- END OF SPECIAL REQUIREMENTS -->

### How do I know which Linux distribution I am using?
Expand Down
1 change: 1 addition & 0 deletions data/special-requirements
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ sodium !jessie
sqlsrv !7.1-alpine3.9 !7.1-alpine3.10
vips !alpine3.9 !jessie
wikidiff2 !jessie !stretch
xpass !buster
13 changes: 7 additions & 6 deletions data/supported-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ inotify 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
interbase 5.5 5.6 7.0 7.1 7.2 7.3
intl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
ion 8.1 8.2 8.3 8.4
ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.1 8.2
ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.1 8.2 8.3
jsmin 5.5 5.6 7.0 7.1 7.2 7.3 7.4
json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
jsonpath 7.4 8.0 8.1 8.2 8.3 8.4
ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
luasandbox 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
lz4 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
maxminddb 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
mcrypt 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
memcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
Expand Down Expand Up @@ -76,7 +76,7 @@ pcov 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
pdo_dblib 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
pdo_firebird 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4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 8.0 8.1 8.2 8.3 8.4
sodium 5.6 7.0 7.1
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
sourceguardian 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
spx 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
spx 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
ssh2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
stomp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.2 8.3 8.4
Expand Down Expand Up @@ -136,6 +136,7 @@ xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
xmldiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
xpass 8.0 8.1 8.2 8.3 8.4
xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
yac 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
Expand Down
Loading

0 comments on commit 8c9bb61

Please sign in to comment.