Skip to content

Commit c6595a2

Browse files
akrabatrabbah
authored andcommitted
Remove PHP 7.1 (#77)
This version of PHP is no longer supported by the PHP group as per https://www.php.net/supported-versions.php
1 parent 532a67f commit c6595a2

10 files changed

Lines changed: 4 additions & 716 deletions

File tree

.travis.yml

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

README.md

Lines changed: 4 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.3, 7.2 and 7.1.
27+
This runtime provides PHP 7.3 & 7.2.
2828

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

42-
PHP 7.1:
43-
```
44-
wsk action update myAction myAction.php --docker openwhisk/action-php-v7.1: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.2:
5954
wsk action update myAction myAction.php --kind php:7.2
6055
```
6156

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

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

83-
Deploy OpenWhisk using ansible environment that contains the kinds `php:7.3`, `php:7.2` & `php:7.1`
71+
Deploy OpenWhisk using ansible environment that contains the kinds `php:7.3` & `php:7.2`
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,7 @@ docker push $user_prefix/action-php-v7.3
11199
docker tag whisk/php7.2Action $user_prefix/action-php-v7.2
112100
docker push $user_prefix/action-php-v7.2
113101
```
114-
```
115-
docker tag whisk/php7.1Action $user_prefix/action-php-v7.1
116-
docker push $user_prefix/action-php-v7.1
117-
```
102+
118103
Then create the action using your the image from dockerhub
119104
```
120105
wsk action update myAction myAction.php --docker $user_prefix/action-php-v7.3

core/php7.1Action/CHANGELOG.md

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

core/php7.1Action/Dockerfile

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

core/php7.1Action/build.gradle

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

core/php7.1Action/composer.json

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

0 commit comments

Comments
 (0)