Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit f1f05a0

Browse files
Remove python:3.6, python-jessie:3 from the tests. (#207)
- The Python 3.6 based runtimes are deprecated due to Python 3.6 end of support.
1 parent e601d19 commit f1f05a0

File tree

4 files changed

+6
-24
lines changed

4 files changed

+6
-24
lines changed

‎ansible/environments/local/group_vars/all

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,13 @@ runtimes_manifest:
3535
name: "nodejs6action"
3636
deprecated: false
3737
python:
38-
- kind: "python:2"
39-
default: true
40-
image:
41-
name: "python2action"
42-
deprecated: false
43-
- kind: "python-jessie:3"
44-
default: false
45-
image:
46-
name: "action-python-v3.6"
47-
deprecated: false
48-
- kind: "python:3.6"
49-
default: false
50-
image:
51-
name: "action-python-v3.6"
52-
deprecated: false
5338
- kind: "python:3.7"
5439
default: false
5540
image:
5641
name: "action-python-v3.7"
5742
deprecated: false
5843
- kind: "python:3.9"
59-
default: false
44+
default: true
6045
image:
6146
name: "action-python-v3.9"
6247
deprecated: false

‎tests/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ tasks.withType(Test) {
1515
exceptionFormat = 'full'
1616
}
1717
outputs.upToDateWhen { false } // force tests to run every time
18+
19+
// We only test the python:3.7 and python:3.9 runtimes.
20+
// The default python:3.6 is deprecated (it reached end of support).
21+
include '**/*IBMPython37*'
22+
include '**/*IBMPython39*'
1823
}
1924

2025
task testWithoutCredentials(type: Test) {

‎tools/travis/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ docker pull ibmfunctions/invoker:nightly
2626
docker tag ibmfunctions/invoker:nightly ${IMAGE_PREFIX}/invoker
2727
docker pull openwhisk/nodejs6action:nightly
2828
docker tag openwhisk/nodejs6action:nightly nodejs6action
29-
docker pull openwhisk/python2action
30-
docker tag openwhisk/python2action python2action
3129

3230
TERM=dumb ./gradlew install
3331

‎tools/travis/test.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ export OPENWHISK_HOME=$WHISKDIR
1313
WHISK_CLI="${WHISKDIR}/bin/wsk -i"
1414

1515
# Run a simple action using the kind
16-
${WHISK_CLI} action update echoPython ${ROOTDIR}/tests/dat/echo.py --kind "python-jessie:3"
17-
${WHISK_CLI} action invoke echoPython -b
18-
${WHISK_CLI} action update echoPython ${ROOTDIR}/tests/dat/echo.py --kind "python:3.6"
19-
${WHISK_CLI} action invoke echoPython -b
2016
${WHISK_CLI} action update echoPython ${ROOTDIR}/tests/dat/echo.py --kind "python:3.7"
2117
${WHISK_CLI} action invoke echoPython -b
2218
${WHISK_CLI} action update echoPython ${ROOTDIR}/tests/dat/echo.py --kind "python:3.9"
@@ -32,7 +28,5 @@ else
3228
fi
3329

3430

35-
36-
3731
#For some reason there no activations, maybe index not ready
3832
#${WHISK_CLI} activation get --last

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /