Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion ci_cd/install_group_runner_x86_64_shell.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ echo "The account used to set up the environment is `whoami`."
sudo yum update -y


#---------- amazon-linux-extras ----------#

# Amazon linux comes with amazon-linux-extra already pre-installed;
# however, if needed and not installed, the command to install it is:

#sudo yum install -y amazon-linux-extras


#---------- download and install binary ----------#

# To register a gitlab executor, we first need to install and start
Expand Down Expand Up @@ -112,10 +120,18 @@ sudo /usr/local/bin/gitlab-runner register \
--tag-list "shell,unity"


#---------- install git ----------#
#---------- install git and git-lfs ----------#

sudo yum install -y git

#sudo curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
# or
sudo amazon-linux-extras install epel -y
sudo yum-config-manager --enable epel

sudo yum install -y git-lfs
sudo git lfs install


#---------- install mini-conda ----------#

Expand Down Expand Up @@ -175,6 +191,12 @@ su gitlab-runner -c "git clone https://github.com/unity-sds/unity-app-generator.
pip3 install unity-app-generator/


#---------- install unity-app-generator ----------#

cd /home/gitlab-runner
su gitlab-runner -c "git clone https://github.com/unity-sds/unity-app-build-trigger.git"


#---------- install aws cli ----------#

# Amazon Linux AMIs are pre-installed with aws cli, and
Expand Down