Skip to content

Commit c3b0c70

Browse files
committed
Added exemption due to keras upgrade
1 parent 0b91589 commit c3b0c70

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pipeline {
2020
set -exo pipefail
2121
# Ensures the currently released Docker Python image is used.
2222
docker pull gcr.io/kaggle-images/python:staging
23+
docker pull gcr.io/kaggle-images/python@sha256:287c4e0e224e592dc6113940a6cf3d099b814c7bff0c1e8da57f8e6bad123ac5
2324
'''
2425
}
2526
}

notebooks/test.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@ if [[ -r /etc/git_commit ]]; then
1111
fi
1212

1313
# Filter by tracks if first argument set.
14-
TRACKS="ml_explainability intro_to_programming time_series ethics feature_engineering_new computer_vision deep_learning_intro pandas python machine_learning sql data_viz_to_coder ml_intermediate sql_advanced feature_engineering geospatial nlp game_ai data_cleaning"
15-
TESTABLE_NOTEBOOK_TRACKS="ml_intermediate ml_explainability intro_to_programming geospatial time_series ethics feature_engineering_new data_viz_to_coder data_cleaning computer_vision deep_learning_intro python pandas machine_learning game_ai"
14+
TRACKS="ml_explainability intro_to_programming time_series ethics feature_engineering_new pandas python machine_learning sql data_viz_to_coder ml_intermediate sql_advanced feature_engineering geospatial nlp game_ai data_cleaning"
15+
TESTABLE_NOTEBOOK_TRACKS="ml_intermediate ml_explainability intro_to_programming geospatial time_series ethics feature_engineering_new data_viz_to_coder data_cleaning python pandas machine_learning game_ai"
16+
PARTIAL_TESTABLE_NOTEBOOK_TRACKS="computer_vision deep_learning_intro"
1617

17-
if [[ -n $1 && $1 != "all" ]]; then
18+
if [[ -n $1 && $1 != "all" && $1 != "kerasExp" ]]; then
1819
TRACKS=$1
1920
TESTABLE_NOTEBOOK_TRACKS=$1
2021
fi
22+
23+
if [[ -n $1 && $1 == "kerasExp" ]]; then
24+
TRACKS=$PARTIAL_TESTABLE_NOTEBOOK_TRACKS
25+
TESTABLE_NOTEBOOK_TRACKS=$PARTIAL_TESTABLE_NOTEBOOK_TRACKS
26+
fi
27+
2128
readonly TRACKS
2229
readonly TESTABLE_NOTEBOOK_TRACKS
2330

test.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -e
33

44
IMAGE='gcr.io/kaggle-images/python:staging'
5+
PINNED_IMAGE='gcr.io/kaggle-images/python@sha256:287c4e0e224e592dc6113940a6cf3d099b814c7bff0c1e8da57f8e6bad123ac5'
56
TRACK='all'
67
NOTEBOOK='all'
78

@@ -76,6 +77,25 @@ if [[ -z $KAGGLE_KEY && ! ( -r "$HOME/.kaggle/kaggle.json" ) ]]; then
7677
fi
7778

7879
set -x
80+
81+
if [[ $NOTEBOOK == "all" ]]; then
82+
docker run --rm -t \
83+
-e KAGGLE_USERNAME -e KAGGLE_KEY \
84+
-v ~/.kaggle:/root/.kaggle:ro \
85+
-v $PWD:/input:ro \
86+
$PINNED_IMAGE \
87+
/bin/bash -c "/input/notebooks/test.sh kerasExp"
88+
fi
89+
90+
if [[ $NOTEBOOK == "computer_vision" || $NOTEBOOK == "deep_learning_intro" ]]; then
91+
docker run --rm -t \
92+
-e KAGGLE_USERNAME -e KAGGLE_KEY \
93+
-v ~/.kaggle:/root/.kaggle:ro \
94+
-v $PWD:/input:ro \
95+
$PINNED_IMAGE \
96+
/bin/bash -c "/input/notebooks/test.sh $TRACK $NOTEBOOK"
97+
fi
98+
7999
docker run --rm -t \
80100
-e KAGGLE_USERNAME -e KAGGLE_KEY \
81101
-v ~/.kaggle:/root/.kaggle:ro \

0 commit comments

Comments
 (0)