Loading content/handbook/customer-success/professional-services-engineering/education-services/ilt-labs/advgitlabcicdhandsonlab1.md +3 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ To start, let's create a new project in the lab environment: 1. Click the arrow next to **Runners** to expand the Runners section. 1. Select **New project runner**. 1. Select **Create project runner**. 1. Select **Run untagged jobs**, leave all other settings as default, and select **Create runner**. Loading Loading @@ -162,6 +162,8 @@ When this runner is created, it will have a `config.toml` file that defines the network_mtu = 0 ``` 1. Make a note of this output, as you will need it in the next task. ## Task E. Editing your runner configuration For our configuration, we want to be able to run our job with Docker in Docker. To do this, we need to change two default configurations: Loading content/handbook/customer-success/professional-services-engineering/education-services/ilt-labs/advgitlabcicdhandsonlab6.md +2 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ For this task, we will be creating a web application to run in our review enviro - ssh root@$ip 'cd /www/ && npm i express' - ssh root@$ip 'cd /www/ && npm i -g pm2' - scp index.js root@$ip:/www - ssh root@$ip 'pm2 start /www/index.js' - ssh root@$ip 'pm2 start -f /www/index.js' ``` 1. Here is what your final job script should look like: Loading @@ -223,6 +223,7 @@ For this task, we will be creating a web application to run in our review enviro script: - ssh-keyscan -t rsa,ed25519 $ip >> ~/.ssh/known_hosts - ssh root@$ip 'mkdir -p /www' - ssh root@$ip 'sudo apt-get update' - ssh root@$ip 'sudo apt-get install nodejs npm -y' - ssh root@$ip 'cd /www/ && npm init -y' - ssh root@$ip 'cd /www/ && npm i express' Loading Loading
content/handbook/customer-success/professional-services-engineering/education-services/ilt-labs/advgitlabcicdhandsonlab1.md +3 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ To start, let's create a new project in the lab environment: 1. Click the arrow next to **Runners** to expand the Runners section. 1. Select **New project runner**. 1. Select **Create project runner**. 1. Select **Run untagged jobs**, leave all other settings as default, and select **Create runner**. Loading Loading @@ -162,6 +162,8 @@ When this runner is created, it will have a `config.toml` file that defines the network_mtu = 0 ``` 1. Make a note of this output, as you will need it in the next task. ## Task E. Editing your runner configuration For our configuration, we want to be able to run our job with Docker in Docker. To do this, we need to change two default configurations: Loading
content/handbook/customer-success/professional-services-engineering/education-services/ilt-labs/advgitlabcicdhandsonlab6.md +2 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ For this task, we will be creating a web application to run in our review enviro - ssh root@$ip 'cd /www/ && npm i express' - ssh root@$ip 'cd /www/ && npm i -g pm2' - scp index.js root@$ip:/www - ssh root@$ip 'pm2 start /www/index.js' - ssh root@$ip 'pm2 start -f /www/index.js' ``` 1. Here is what your final job script should look like: Loading @@ -223,6 +223,7 @@ For this task, we will be creating a web application to run in our review enviro script: - ssh-keyscan -t rsa,ed25519 $ip >> ~/.ssh/known_hosts - ssh root@$ip 'mkdir -p /www' - ssh root@$ip 'sudo apt-get update' - ssh root@$ip 'sudo apt-get install nodejs npm -y' - ssh root@$ip 'cd /www/ && npm init -y' - ssh root@$ip 'cd /www/ && npm i express' Loading