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
2
2
3
3
pipeline {
4
4
agent { label ' ephemeral-linux' }
@@ -14,9 +14,9 @@ pipeline {
14
14
GIT_COMMIT_SUBJECT = sh(returnStdout : true , script :" git log --format=%s -n 1 HEAD" ). trim()
15
15
GIT_COMMIT_AUTHOR = sh(returnStdout : true , script :" git log --format='%an' -n 1 HEAD" ). trim()
16
16
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()
20
20
}
21
21
22
22
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
27
27
1 . For changes specific to the GPU image, update the [ gpu.Dockerfile] ( gpu.Dockerfile ) .
28
28
1 . Otherwise, update the [ Dockerfile] ( Dockerfile ) .
29
29
1 . 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 ) .
31
31
1 . Follow the instructions below to test the new image.
32
32
1 . Open a PR on this repo and you are all set!
33
33
You can’t perform that action at this time.
0 commit comments