From 17c6b3bccfd96ac95940491ba372418bb5ca0d5f Mon Sep 17 00:00:00 2001 From: Daljit Singh Date: Mon, 8 Feb 2021 16:59:00 +1300 Subject: [PATCH] Step 5 remote vm path updated --- 5-install-gitlab-via-composer.sh | 6 +++--- README.org | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/5-install-gitlab-via-composer.sh b/5-install-gitlab-via-composer.sh index 9b45d88..58cec40 100755 --- a/5-install-gitlab-via-composer.sh +++ b/5-install-gitlab-via-composer.sh @@ -8,8 +8,8 @@ export gcp_machine_name=$(gcloud compute instances list --limit=1 --format='value(name.basename())') # Copy file to vm -gloud compute scp docker-compose.yaml $gcp_machine_name --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no +gcloud compute scp docker-compose.yaml $gcp_machine_name:/tmp --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no # Install gotlan with docker compose -sleep 2 -gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker compose up -d' +#sleep 2 +#gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker compose up -d' diff --git a/README.org b/README.org index 8abb3c9..9b15be8 100644 --- a/README.org +++ b/README.org @@ -148,11 +148,11 @@ Next up we need to copy file to gloud vm export gcp_machine_name=$(gcloud compute instances list --limit=1 --format='value(name.basename())') # Copy file to vm -gloud compute scp docker-compose.yaml $gcp_machine_name --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no +gcloud compute scp docker-compose.yaml $gcp_machine_name:/tmp --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no # Install gotlan with docker compose -sleep 2 -gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker compose up -d' +#sleep 2 +#gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker compose up -d' #+end_src