File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- String cron_string = BRANCH_NAME == " master " ? " H 12 * * 1-5" : " " // Mon-Fri at noon UTC, 8am EST, 5am PDT
1+ String cron_string = BRANCH_NAME == " main " ? " H 12 * * 1-5" : " " // Mon-Fri at noon UTC, 8am EST, 5am PDT
22
33pipeline {
44 agent { label ' ephemeral-linux' }
@@ -14,9 +14,9 @@ pipeline {
1414 GIT_COMMIT_SUBJECT = sh(returnStdout : true , script :" git log --format=%s -n 1 HEAD" ). trim()
1515 GIT_COMMIT_AUTHOR = sh(returnStdout : true , script :" git log --format='%an' -n 1 HEAD" ). trim()
1616 GIT_COMMIT_SUMMARY = " `<https://github.com/Kaggle/docker-python/commit/${ GIT_COMMIT} |${ GIT_COMMIT_SHORT} >` ${ GIT_COMMIT_SUBJECT} - ${ GIT_COMMIT_AUTHOR} "
17- SLACK_CHANNEL = sh(returnStdout : true , script : " if [[ \" ${ GIT_BRANCH} \" == \" master \" ]]; then echo \" #kernelops\" ; else echo \" #builds\" ; fi" ). trim()
18- PRETEST_TAG = sh(returnStdout : true , script : " if [[ \" ${ GIT_BRANCH} \" == \" master \" ]]; then echo \" ci-pretest\" ; else echo \" ${ GIT_BRANCH} -pretest\" ; fi" ). trim()
19- STAGING_TAG = sh(returnStdout : true , script : " if [[ \" ${ GIT_BRANCH} \" == \" master \" ]]; then echo \" staging\" ; else echo \" ${ GIT_BRANCH} -staging\" ; fi" ). trim()
17+ SLACK_CHANNEL = sh(returnStdout : true , script : " if [[ \" ${ GIT_BRANCH} \" == \" main \" ]]; then echo \" #kernelops\" ; else echo \" #builds\" ; fi" ). trim()
18+ PRETEST_TAG = sh(returnStdout : true , script : " if [[ \" ${ GIT_BRANCH} \" == \" main \" ]]; then echo \" ci-pretest\" ; else echo \" ${ GIT_BRANCH} -pretest\" ; fi" ). trim()
19+ STAGING_TAG = sh(returnStdout : true , script : " if [[ \" ${ GIT_BRANCH} \" == \" main \" ]]; then echo \" staging\" ; else echo \" ${ GIT_BRANCH} -staging\" ; fi" ). trim()
2020 }
2121
2222 stages {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ If you the first step above doesn't work for your use case, [open an issue](http
2727 1 . For changes specific to the GPU image, update the [ gpu.Dockerfile] ( gpu.Dockerfile ) .
2828 1 . Otherwise, update the [ Dockerfile] ( Dockerfile ) .
29291 . Follow the instructions below to build a new image.
30- 1 . Add tests for your new package. See this [ example] ( https://github.com/Kaggle/docker-python/blob/master /tests/test_fastai.py ) .
30+ 1 . Add tests for your new package. See this [ example] ( https://github.com/Kaggle/docker-python/blob/main /tests/test_fastai.py ) .
31311 . Follow the instructions below to test the new image.
32321 . Open a PR on this repo and you are all set!
3333
You can’t perform that action at this time.
0 commit comments