diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-10-02 18:42:21 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-10-02 18:42:21 +0300 |
commit | 5973408cf8d51a5677893185162e600d2d2ea014 (patch) | |
tree | 8015f1dccd211c1e551e7ce1e6ae5dd53285692d | |
parent | 13a095de74e8b7b63169706acf1885e84431fc39 (diff) |
Speeding up build using remmina docker image
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files 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 |