66 - master
77 - staging
88 - trying
9- schedule :
10- - cron : ' 00 00,12 * * *'
11-
9+ workflow_dispatch :
1210jobs :
1311 PredictMD_docker :
1412 runs-on : ${{ matrix.os }}
@@ -28,20 +26,20 @@ jobs:
2826 arch : ${{ matrix.arch }}
2927 - uses : julia-actions/julia-buildpkg@latest
3028 - uses : julia-actions/julia-runtest@latest
31- - run : julia --project -e 'import SimpleContainerGenerator; pkgs = [(name = "PredictMD", rev = "master", ), (name = "PredictMDExtra", rev = "master", ), (name = "PredictMDFull", rev = "master", ), (name = "UnicodePlots", version = "1.2.0 - *", ),]; no_test = String["UnicodePlots"]; parent_image = "nvidia/cuda"; tests_must_pass = String["PredictMD", "PredictMDExtra", "PredictMDFull"]; SimpleContainerGenerator.create_dockerfile(pkgs; no_test = no_test, parent_image = parent_image, tests_must_pass = tests_must_pass)'
29+ - run : julia --project -e 'import SimpleContainerGenerator; pkgs = [(name = "PredictMD", rev = "master", ), (name = "PredictMDExtra", rev = "master", ), (name = "PredictMDFull", rev = "master", ), (name = "UnicodePlots", version = "1.2.0 - *", ),]; no_test = String["UnicodePlots"]; parent_image = "nvidia/cuda:11.2.0-devel-ubuntu20.04 "; tests_must_pass = String["PredictMD", "PredictMDExtra", "PredictMDFull"]; SimpleContainerGenerator.create_dockerfile(pkgs; no_test = no_test, parent_image = parent_image, tests_must_pass = tests_must_pass)'
3230 - if : github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule')
3331 env :
3432 DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
3533 DOCKER_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
3634 run : echo ${{ secrets.DOCKER_PASSWORD }} | docker --config ~/.dockerconfig1 login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
37- - if : github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule ')
35+ - if : github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch ')
3836 env :
3937 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4038 run : echo ${{ secrets.GITHUB_TOKEN }} | docker --config ~/.dockerconfig2 login docker.pkg.github.com -u bcbi --password-stdin
4139 - run : docker build -t dilumaluthge/predictmd -t docker.pkg.github.com/bcbi/simplecontainergenerator.jl/predictmd .
4240 - run : docker run dilumaluthge/predictmd "JULIA_DEBUG=all PREDICTMD_TEST_GROUP=all PREDICTMD_TEST_PLOTS=true /usr/bin/julia -e 'import Pkg; Pkg.test(string(:PredictMDExtra)); Pkg.test(string(:PredictMDFull)); Pkg.test(string(:PredictMD))'"
43- - if : success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule ')
41+ - if : success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch ')
4442 run : docker --config ~/.dockerconfig1 push dilumaluthge/predictmd
45- - if : success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule ')
43+ - if : success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch ')
4644 run : docker --config ~/.dockerconfig2 push docker.pkg.github.com/bcbi/simplecontainergenerator.jl/predictmd
4745 continue-on-error : true
0 commit comments