Skip to content

Commit aebeab4

Browse files
authored
Remove PHP 7.4 (#133)
PHP 7.4 is End of life and no longer supported and is therfor beeing removed https://www.php.net/supported-versions.php
1 parent af73c10 commit aebeab4

11 files changed

Lines changed: 3 additions & 444 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ jobs:
8888
working-directory: runtime
8989
run: |
9090
SHORT_COMMIT=$(git rev-parse --short "$GITHUB_SHA")
91-
./gradlew :core:php7.4Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
92-
./gradlew :core:php7.4Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
9391
./gradlew :core:php8.0Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
9492
./gradlew :core:php8.0Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
9593
./gradlew :core:php8.1Action:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=nightly

README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
## PHP versions
2525

26-
This runtime provides PHP 8.1, 8.0 and 7.4.
26+
This runtime provides PHP 8.1, 8.0
2727

2828
### Give it a try today
2929
To use as a docker action
@@ -38,11 +38,6 @@ PHP 8.0:
3838
wsk action update myAction myAction.php --docker openwhisk/action-php-v8.0:latest
3939
```
4040

41-
PHP 7.4:
42-
```
43-
wsk action update myAction myAction.php --docker openwhisk/action-php-v7.4:latest
44-
```
45-
4641
This works on any deployment of Apache OpenWhisk
4742

4843
### To use on deployment that contains the runtime as a kind
@@ -58,19 +53,14 @@ PHP 8.0:
5853
wsk action update myAction myAction.php --kind php:8.0
5954
```
6055

61-
PHP 7.4:
62-
```
63-
wsk action update myAction myAction.php --kind php:7.4
64-
```
6556

6657
### Local development
6758

6859
```
6960
./gradlew core:php8.1Action:distDocker
7061
./gradlew core:php8.0Action:distDocker
71-
./gradlew core:php7.4Action:distDocker
7262
```
73-
This will produce the images `whisk/action-php-v8.1`, `whisk/action-php-v8.0` and `whisk/action-php-v7.4` respectively.
63+
This will produce the images `whisk/action-php-v8.1` and `whisk/action-php-v8.0` respectively.
7464

7565
Build and Push image
7666
```
@@ -79,7 +69,7 @@ docker login
7969
./gradlew core:php7.4Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
8070
```
8171

82-
Deploy OpenWhisk using ansible environment that contains the kinds `php:8.1`, `php:8.0` and `php:7.4`
72+
Deploy OpenWhisk using ansible environment that contains the kinds `php:8.1` and `php:8.0`
8373
Assuming you have OpenWhisk already deploy locally and `OPENWHISK_HOME` pointing to root directory of OpenWhisk core repository.
8474

8575
Set `ROOTDIR` to the root directory of this repository.
@@ -110,10 +100,6 @@ docker push $user_prefix/action-php-v8.1
110100
docker tag whisk/php8.0Action $user_prefix/action-php-v8.0
111101
docker push $user_prefix/action-php-v8.0
112102
```
113-
```
114-
docker tag whisk/php7.4Action $user_prefix/action-php-v7.4
115-
docker push $user_prefix/action-php-v7.4
116-
```
117103

118104
Then create the action using your image from dockerhub
119105
```

core/php7.4Action/CHANGELOG.md

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

core/php7.4Action/Dockerfile

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

core/php7.4Action/build.gradle

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

core/php7.4Action/compile.php

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

core/php7.4Action/composer.json

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

core/php7.4Action/php.ini

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

0 commit comments

Comments
 (0)