diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-01-29 02:24:31 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-01-29 02:24:31 +0300 |
commit | d1af0bc2c86522d5a1fe9ce8b94058ce0f127109 (patch) | |
tree | 9660c23926583127ef652be2f84e387e1dc7027f | |
parent | d5bcaf306bec77d4fcf659a041a845c2c32ca0a2 (diff) |
Split jobs to use the right key
-rw-r--r-- | .gitlab-ci.yml | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5191bb2..326092a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,6 @@ remminadoc build: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - - echo "$SSH_PRIVATE_KEY_R" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - ssh-keyscan gitlab.com >> ~/.ssh/known_hosts @@ -30,12 +29,33 @@ remminadoc build: - git clone git@gitlab.com:Remmina/remminadoc.gitlab.io.git RemminaDoc - git clone git@gitlab.com:Remmina/Remmina.wiki.git Remmina.wiki - cd Remmina - - scripts/update-translations.sh - - 'git diff --exit-code origin/master || git commit -am "Automatic translations by remmina-ci"' - - git push origin master - doxygen - cd ../RemminaDoc - git add --all - 'git diff --exit-code origin/master || git commit -am "Automatic doc build by remmina-ci"' - git push origin master +remminai18n build: + stage: updsource + 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 + script: + - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - echo "$SSH_PRIVATE_KEY_R" | tr -d '\r' | ssh-add - > /dev/null + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - ssh-keyscan gitlab.com >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + - git config --global user.name "Antenore Gatta" + - git config --global user.email "antenore@simbiosi.org" + - git clone git@gitlab.com:Remmina/Remmina.git Remmina + - cd Remmina + - scripts/update-translations.sh + - 'git diff --exit-code origin/master || git commit -am "Automatic translations by remmina-ci"' + - git push origin master + |