From 5973408cf8d51a5677893185162e600d2d2ea014 Mon Sep 17 00:00:00 2001 From: Antenore Gatta Date: Wed, 2 Oct 2019 15:42:21 +0000 Subject: Speeding up build using remmina docker image --- .gitlab-ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd30095..969b025 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ --- -image: ubuntu:18.04 +image: remmina/ubuntu:18.04 variables: GIT_SUBMODULE_STRATEGY: recursive @@ -11,11 +11,7 @@ stages: remminadoc build: stage: upddoc before_script: - - apt-get update -qq - - apt-get install -y -qq software-properties-common - python3-software-properties - - apt-get install -y -qq build-essential git-core doxygen graphviz libxslt1.1 - xsltproc + - apt-get install -y -qq doxygen graphviz libxslt1.1 xsltproc script: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) @@ -40,10 +36,7 @@ remminadoc build: remminai18n build: stage: updi18n before_script: - - apt-get update -qq - - apt-get install -y -qq software-properties-common - python3-software-properties - - apt-get install -y -qq build-essential git-core gettext-base gettext lftp + - apt-get install -y -qq gettext-base gettext lftp script: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) @@ -58,7 +51,7 @@ remminai18n build: - cd Remmina - scripts/update-translations.sh - scripts/i18nstats.sh - - 'git diff --exit-code --quiet origin/master || git commit -am "Automatic translations by remmina-ci"' + - 'git diff --exit-code --quiet origin/master || git commit -am "Updating pot file via remmina-ci"' - lftp -e "cd $REM_CWD/stats ; put data/reports/chartkick.min.js; put data/reports/postats.html; exit" -u "$REM_USER,$REM_PASWD" "$REM_SERVER" - git push origin master when: on_success -- cgit v1.2.3