From 816bb0e0512ae3c85a521a648dd07162f6841ee0 Mon Sep 17 00:00:00 2001 From: Daljit Singh Date: Wed, 10 Feb 2021 17:11:01 +1300 Subject: [PATCH] All steps completed and tested the scripts Co-authored-by: jmhbnz --- 5-install-gitlab-via-composer.sh | 3 +-- README.org | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/5-install-gitlab-via-composer.sh b/5-install-gitlab-via-composer.sh index 762821f..f4b67d2 100755 --- a/5-install-gitlab-via-composer.sh +++ b/5-install-gitlab-via-composer.sh @@ -10,6 +10,5 @@ export gcp_machine_name=$(gcloud compute instances list --limit=1 --format='valu # Copy file to vm gcloud compute scp docker-compose.yaml $gcp_machine_name:/home/$USER --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no -# Install gotlan with docker compose -sleep 2 +# Install gitlab with docker compose 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 338abc6..6e628f4 100644 --- a/README.org +++ b/README.org @@ -1,4 +1,5 @@ -#+TITLE: Gitlab GCP Deployment +#+TITLE: Gitlab +GCP Deployment #+AUTHOR: James Blair #+EMAIL: mail@jamesblair.net #+DATE: 5th January 2021 @@ -150,8 +151,7 @@ export gcp_machine_name=$(gcloud compute instances list --limit=1 --format='valu # Copy file to vm gcloud compute scp docker-compose.yaml $gcp_machine_name:/home/$USER --ssh-key-file ~/.ssh/$USER --strict-host-key-checking=no -# Install gotlan with docker compose -sleep 2 +# Install gitlab with docker compose gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- 'sudo docker-compose up -d' #+end_src