Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cbb8686b
Commit
cbb8686b
authored
May 28, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin the Chrome/Chromedriver versions to 83 in the QA
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
461d574c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
qa/Dockerfile
qa/Dockerfile
+19
-9
No files found.
qa/Dockerfile
View file @
cbb8686b
FROM
ruby:2.6-stretch
LABEL
maintainer="GitLab Quality Department <quality@gitlab.com>"
ENV
DEBIAN_FRONTEND noninteractive
ENV
DEBIAN_FRONTEND="noninteractive"
ENV
DOCKER_VERSION="17.09.0-ce"
ENV
CHROME_VERSION="83.0.4103.61-1"
ENV
CHROME_DRIVER_VERSION="83.0.4103.39"
ENV
CHROME_DEB="google-chrome-stable_${CHROME_VERSION}_amd64.deb"
ENV
CHROME_URL="https://s3.amazonaws.com/gitlab-google-chrome-stable/${CHROME_DEB}"
ENV
K3D_VERSION="1.3.4"
##
# Add support for stretch-backports
...
...
@@ -21,28 +28,31 @@ RUN apt-get -y -t stretch-backports install git git-lfs
##
# Install Docker
#
RUN
wget
-q
https://download.docker.com/linux/static/stable/x86_64/docker-17.09.0-ce.tgz
&&
\
tar
-zxf
docker-17.09.0-ce.tgz
&&
mv
docker/docker /usr/local/bin/docker
&&
\
rm
docker-17.09.0-ce.tgz
RUN
wget
-q
"https://download.docker.com/linux/static/stable/x86_64/docker-
${
DOCKER_VERSION
}
.tgz"
&&
\
tar
-zxf
"docker-
${
DOCKER_VERSION
}
.tgz"
&&
mv
docker/docker /usr/local/bin/docker
&&
\
rm
"docker-
${
DOCKER_VERSION
}
.tgz"
##
# Install Google Chrome version with headless support
# Download from our local S3 bucket, populated by https://gitlab.com/gitlab-org/gitlab-build-images/-/blob/master/scripts/cache-google-chrome
#
RUN
curl
-sS
-L
https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN
echo
"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
>
/etc/apt/sources.list.d/google.list
RUN
apt-get update
-q
&&
apt-get
install
-y
google-chrome-stable
&&
apt-get clean
RUN
curl
--silent
--show-error
--fail
-O
"
${
CHROME_URL
}
"
&&
\
dpkg
-i
"./
${
CHROME_DEB
}
"
||
true
&&
\
apt-get
install
-f
-y
&&
\
rm
-f
"./
${
CHROME_DEB
}
"
##
# Install chromedriver to make it work with Selenium
#
RUN
wget
-q
https://chromedriver.storage.googleapis.com/
$(
wget
-q
-O
- https://chromedriver.storage.googleapis.com/LATEST_RELEASE
)
/chromedriver_linux64.zip
RUN
wget
-q
"https://chromedriver.storage.googleapis.com/
${
CHROME_DRIVER_VERSION
}
/chromedriver_linux64.zip"
RUN
unzip chromedriver_linux64.zip
-d
/usr/local/bin
RUN
rm
-f
chromedriver_linux64.zip
##
# Install K3d local cluster support
# https://github.com/rancher/k3d
#
RUN
curl
-s
https://raw.githubusercontent.com/rancher/k3d/master/install.sh |
TAG
=
v1.3.4
bash
RUN
curl
-s
https://raw.githubusercontent.com/rancher/k3d/master/install.sh |
TAG
=
"v
${
K3D_VERSION
}
"
bash
##
# Install gcloud and kubectl CLI used in Auto DevOps test to create K8s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment