From 2c2bee0c1bd93f2efa2f7a4afadf4003f7d96fbf Mon Sep 17 00:00:00 2001 From: Antenore Gatta Date: Tue, 25 May 2021 10:55:07 +0200 Subject: Adding CI --- .gitlab-ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8a882b..784baa7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,22 @@ +--- image: registry.gitlab.com/remmina/remmina/ubuntu:18.04 -stages: -- build + variables: GIT_SUBMODULE_STRATEGY: recursive DEB_PPA: ppa:remmina-ppa-team/remmina-next FREERDP_DAILY_PPA: ppa:remmina-ppa-team/remmina-next-daily DEBFULLNAME: Remmina CI DEBEMAIL: admin@remmina.org -ppa:build: + +stages: + - build + +ppa build: stage: build before_script: - apt-get update -qq - apt-get install -y -qq devscripts - scripts: + script: - '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 @@ -29,5 +33,5 @@ ppa:build: - cd Remmina-Ubuntu-PPA - dch -v ${TAG}-1+ppa1.1 "Upstream release" -D unstable - git commit -s -m "Upstream release" -a - - git push + - git push origin master when: on_success -- cgit v1.2.3