Skip to content

Commit 122f71d

Browse files
authored
Merge pull request #139 from unity-sds/cicd
changed app-gen installation method
2 parents 8230efc + a4f7971 commit 122f71d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

ci_cd/install_group_runner_x86_64_docker.tftpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ sudo curl -sSL https://repo.anaconda.com/miniconda/Miniconda3-py310_23.3.1-0-Lin
133133
sudo chmod 755 /tmp/install_miniconda.sh
134134
sudo bash /tmp/install_miniconda.sh -b -p /usr/local -u
135135

136+
pip3 install notebook
137+
136138

137139
#---------- install docker ----------#
138140

@@ -166,8 +168,10 @@ sudo yum install -y docker
166168
# there must be no sudo before the "pip3 install ..." command itself.
167169

168170
cd /home/gitlab-runner
171+
su gitlab-runner -c "git clone https://github.com/unity-sds/app-pack-generator.git"
172+
pip3 install app-pack-generator/
169173
su gitlab-runner -c "git clone https://github.com/unity-sds/unity-app-generator.git"
170-
pip3 install -r unity-app-generator/requirements.txt
174+
pip3 install unity-app-generator/
171175

172176

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

ci_cd/install_group_runner_x86_64_shell.tftpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ sudo curl -sSL https://repo.anaconda.com/miniconda/Miniconda3-py310_23.3.1-0-Lin
126126
sudo chmod 755 /tmp/install_miniconda.sh
127127
sudo bash /tmp/install_miniconda.sh -b -p /usr/local -u
128128

129+
pip3 install notebook
130+
129131

130132
#---------- install docker ----------#
131133

@@ -167,8 +169,10 @@ sudo usermod -a -G docker gitlab-runner
167169
# there must be no sudo before the "pip3 install ..." command itself.
168170

169171
cd /home/gitlab-runner
172+
su gitlab-runner -c "git clone https://github.com/unity-sds/app-pack-generator.git"
173+
pip3 install app-pack-generator/
170174
su gitlab-runner -c "git clone https://github.com/unity-sds/unity-app-generator.git"
171-
pip3 install -r unity-app-generator/requirements.txt
175+
pip3 install unity-app-generator/
172176

173177

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

0 commit comments

Comments
 (0)