): Please enter the gitlab-ci token for this runner: nKkpzBBxou1xn3RgwgzM Please enter the gitlab-ci description for this runner: : yaoyansiVMCentOS7 Please enter the gitlab-ci tags for this runner (comma separated): centos Whether to run untagged builds : : Whether to lock the Runner to current project : : false Registering runner. New password: (gitlab-runner) etype new password: (gitlab-runner) (Switch account "gitlab-runner") $ /usr/bin/gitlab-runner register (here is the log:) Please enter the gitlab-ci coordinator URL (e.g. (create account "gitlab-runner" and set password) $sudo useradd -comment 'gitlab-runner' -create-home gitlab-runner -shell /bin/bash $sudo passwd gitlab-runner Changing password for user gitlab-runner. \gitlab-runner.exe start WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases C:\GitLab-Runner>.\gitlab-runner.exe -version Version: 10.0.0~beta.55.g2055cfdc Git revision: 2055cfdc Git branch: 10-0-stable GO version: go1.8.3 Built: Fri, 12:22:32 0000 OS/Arch: windows/amd64 \gitlab-runner.exe install WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases PS C:\GitLab-Runner>. Feel free to start it, but if it's running already the config should be automatically reloaded![0 m PS C:\GitLab-Runner>. succeeded [0 m runner[0 m=nKkpzBBx Please enter the executor: kubernetes, parallels, shell, ssh, docker-ssh machine, docker, docker-ssh, virtualbox, docker machine: shell Runner registered successfully. ): Please enter the gitlab-ci token for this runner: nKkpzBBxou1xn3RgwgzM Please enter the gitlab-ci description for this runner: : yaoyansiVMWin10 Please enter the gitlab-ci tags for this runner (comma separated): win Whether to run untagged builds : : false Whether to lock the Runner to current project : : false Registering runner. The executeNotebook functions runs the notebook and provides the output to stdout, while also outputs timing information for duration of the notebook.Open Command Prompt(Admin) cd C:\GitLab-Runner c:\GitLab-Runner>gitlab-runner.exe register Please enter the gitlab-ci coordinator URL (e.g. cells.outputs?.text catch "jq notebook outputs parsing error"'Įcho "$(date), Stopped $1, Runtime: $runtime seconds"ĮxecuteNotebook tests/pre-deploy-run-notebook-test.ipynb Jupyter nbconvert -ExecutePreprocessor.timeout=3600 -stdout -to notebook -execute "$1" | jq 'try. Ipython kernel install -name "python3" -user # Install python3 kernel to run notebooks Requirements.txt must contain these: ipythonĪnd my deploy.sh looks like this: #!/bin/bash It also installes jq which is needed for getting the outputs of the notebooks to stdout nicely. This will cache apt package installs and pip installs and install python packages from requirements.txt before calling deploy.sh apt-get update -y
0 Comments
Leave a Reply. |