Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1658f288e1 | |||
| e560e3eaad | |||
| 36fe011d0c | |||
| 868a31582c | |||
| 63130f975f | |||
| 5a0f986279 | |||
| c84a5bd9c8 | |||
| 31f683f766 |
+1
-1
@@ -9,7 +9,7 @@ image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
|||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:${DOCKER_DIND_VERSION}
|
||||||
script:
|
script:
|
||||||
- build
|
- build
|
||||||
- push
|
- push
|
||||||
|
|||||||
+20
-27
@@ -1,29 +1,22 @@
|
|||||||
FROM python:3
|
FROM python:3.12-slim-bullseye
|
||||||
|
|
||||||
LABEL maintainer="Joakim Olsson <joakim@unbound.se>"
|
ARG TARGETOS
|
||||||
LABEL description="Base image for running Robot Framework test suites in Docker. \
|
ARG TARGETARCH
|
||||||
\
|
ARG GECKODRIVER_VERSION=0.32.0
|
||||||
The image cotains the following Robot Framework libraries:\
|
|
||||||
- Appium library - Keywords for Android & IOS device UI tests \
|
|
||||||
- Database library - Keywords for SQL queries & statements \
|
|
||||||
- HTTP library - Keywords for HTTP & Rest \
|
|
||||||
- RabbitMQ library - Keywords for Rabbit MQ \
|
|
||||||
- Selenium2 library - Keywords for cross browser tests\
|
|
||||||
\
|
|
||||||
Drivers:\
|
|
||||||
- psycopg2 - Python driver for Postgres \
|
|
||||||
- PyMySQL - Python driver for MySQL"
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN install -d -m 0755 /etc/apt/keyrings && \
|
||||||
apt-get -y install jq firefox-esr && \
|
apt-get update && \
|
||||||
rm -r /var/lib/apt/lists/* && \
|
apt-get -y install wget gnupg2 jq curl git fonts-liberation libdrm2 libgbm1 libnspr4 libnss3 libu2f-udev libvulkan1 xdg-utils && \
|
||||||
pip install \
|
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null && \
|
||||||
urllib3 \
|
gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); print "\n"$0"\n"}' && \
|
||||||
psycopg2-binary \
|
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null && \
|
||||||
PyMySQL \
|
printf 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000' >/etc/apt/preferences.d/mozilla && \
|
||||||
robotframework==6.0.1 \
|
apt-get update && \
|
||||||
robotframework-appiumlibrary \
|
apt-get -y install firefox && \
|
||||||
robotframework-databaselibrary \
|
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
|
||||||
robotframework-httplibrary \
|
dpkg -i google-chrome-stable_current_amd64.deb && \
|
||||||
-e "git+https://github.com/JakUi/robotframework-rabbitmq-fork#egg=robotframework-rabbitmq-ao" \
|
rm -r /var/lib/apt/lists/* google-chrome-stable_current_amd64.deb
|
||||||
robotframework-selenium2library
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt && \
|
||||||
|
rm requirements.txt
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
robotframework==7.0
|
||||||
|
robotframework-seleniumlibrary==6.3.0
|
||||||
|
urllib3==2.2.1
|
||||||
|
psycopg2-binary==2.9.9
|
||||||
|
PyMySQL==1.1.0
|
||||||
|
robotframework-appiumlibrary==2.0.0
|
||||||
|
robotframework-databaselibrary==1.4.4
|
||||||
|
robotframework-httplibrary==0.4.2
|
||||||
|
robotframework-http-rabbitmq==1.0.3
|
||||||
Reference in New Issue
Block a user