Skip to content

Commit cd48ef1

Browse files
authored
Remove PHP 7.2 (#97)
PHP 7.2 is no longer supported by the PHP group as per https://www.php.net/supported-versions.php
1 parent 5ef59e4 commit cd48ef1

10 files changed

Lines changed: 3 additions & 684 deletions

File tree

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ deploy:
4141
tags: true
4242
all_branches: true
4343
repo: apache/openwhisk-runtime-php
44-
- provider: script
45-
script: "./tools/travis/publish.sh openwhisk 7.2 nightly"
46-
on:
47-
branch: master
48-
repo: apache/openwhisk-runtime-php
4944
- provider: script
5045
script: "./tools/travis/publish.sh openwhisk 7.3 nightly"
5146
on:

README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
## PHP versions
2626

27-
This runtime provides PHP 7.4, 7.3 & 7.2.
27+
This runtime provides PHP 7.4 and 7.3.
2828

2929
### Give it a try today
3030
To use as a docker action
@@ -39,11 +39,6 @@ PHP 7.3:
3939
wsk action update myAction myAction.php --docker openwhisk/action-php-v7.3:latest
4040
```
4141

42-
PHP 7.2:
43-
```
44-
wsk action update myAction myAction.php --docker openwhisk/action-php-v7.2:latest
45-
```
46-
4742
This works on any deployment of Apache OpenWhisk
4843

4944
### To use on deployment that contains the runtime as a kind
@@ -59,28 +54,21 @@ PHP 7.3:
5954
wsk action update myAction myAction.php --kind php:7.3
6055
```
6156

62-
PHP 7.2:
63-
```
64-
wsk action update myAction myAction.php --kind php:7.2
65-
```
66-
6757
### Local development
6858
```
6959
./gradlew core:php7.4Action:distDocker
7060
./gradlew core:php7.3Action:distDocker
71-
./gradlew core:php7.2Action:distDocker
7261
```
73-
This will produce the images `whisk/action-php-v7.4`, `whisk/action-php-v7.3` & `whisk/action-php-v7.2` respectively.
62+
This will produce the images `whisk/action-php-v7.4` & `whisk/action-php-v7.3` respectively.
7463

7564
Build and Push image
7665
```
7766
docker login
7867
./gradlew core:php7.4Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
7968
./gradlew core:php7.3Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
80-
./gradlew core:php7.2Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
8169
```
8270

83-
Deploy OpenWhisk using ansible environment that contains the kinds `php:7.4`, `php:7.3` & `php:7.2`
71+
Deploy OpenWhisk using ansible environment that contains the kinds `php:7.4` & `php:7.3`
8472
Assuming you have OpenWhisk already deploy locally and `OPENWHISK_HOME` pointing to root directory of OpenWhisk core repository.
8573

8674
Set `ROOTDIR` to the root directory of this repository.
@@ -111,10 +99,6 @@ docker push $user_prefix/action-php-v7.4
11199
docker tag whisk/php7.3Action $user_prefix/action-php-v7.3
112100
docker push $user_prefix/action-php-v7.3
113101
```
114-
```
115-
docker tag whisk/php7.2Action $user_prefix/action-php-v7.2
116-
docker push $user_prefix/action-php-v7.2
117-
```
118102

119103
Then create the action using your the image from dockerhub
120104
```

core/php7.2Action/CHANGELOG.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

core/php7.2Action/Dockerfile

Lines changed: 0 additions & 63 deletions
This file was deleted.

core/php7.2Action/build.gradle

Lines changed: 0 additions & 19 deletions
This file was deleted.

core/php7.2Action/composer.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

core/php7.2Action/php.ini

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)