mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add Google cloud SDK to www-gitlab-com
This commit is contained in:
parent
865f5cb8d2
commit
edc1ff095c
1 changed files with 8 additions and 2 deletions
|
|
@ -20,15 +20,21 @@ tar xvf pandoc-2.3.1-linux.tar.gz
|
|||
cp pandoc-2.3.1/bin/* /usr/local/bin
|
||||
rm -rf /tmp/pandoc*
|
||||
|
||||
# Install Google Cloud SDK for deploys via rsync
|
||||
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
|
||||
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
|
||||
apt-get update
|
||||
apt-get install -yq --no-install-recommends google-cloud-sdk
|
||||
|
||||
# Install Imagemagick for cropping the pictures on the team page
|
||||
apt-get install -yq --no-install-recommends imagemagick
|
||||
|
||||
# Instal node & yarn
|
||||
# Install node & yarn
|
||||
NODE_INSTALL_VERSION=12.4.0
|
||||
YARN_INSTALL_VERSION=1.21.1-1
|
||||
/scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version
|
||||
|
||||
# Instal gitlab-runner
|
||||
# Install gitlab-runner
|
||||
curl -O -J -L https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-amd64
|
||||
mv gitlab-ci-multi-runner-linux-amd64 /usr/bin/gitlab-runner-helper
|
||||
chmod +x /usr/bin/gitlab-runner-helper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue