Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina-Ubuntu-PPA.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2021-05-25 17:23:42 +0300
committerAntenore Gatta <antenore@simbiosi.org>2021-05-25 17:23:42 +0300
commitedd9c30f092495c052e494d6147a8f68f5a7a095 (patch)
tree94486f794b4b39ddce44f56872f8c041897c34ed
parentcb0ed8c332eb6423a5c20569c876b59eab38f716 (diff)
cleaning up
-rw-r--r--ci/.gitlab-ci.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/ci/.gitlab-ci.yml b/ci/.gitlab-ci.yml
index 8b13789..09d65c4 100644
--- a/ci/.gitlab-ci.yml
+++ b/ci/.gitlab-ci.yml
@@ -1 +1,43 @@
+---
+image: registry.gitlab.com/remmina/remmina/ubuntu:18.04
+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
+
+stages:
+ - build
+
+ppa build:
+ stage: build
+ before_script:
+ - apt-get update -qq
+ - apt-get install -y -qq devscripts
+ 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
+ - export TAG="$(git describe --tags --abbrev=0 | tail -1 | tr -d 'v')"
+ - cd -
+ - git clone git@gitlab.com:Remmina/Remmina-Ubuntu-PPA.git Remmina-Ubuntu-PPA
+ - cd Remmina-Ubuntu-PPA
+ - grep ${TAG}-1+ppa1.1 debian/changelog && exit
+ - dch -v ${TAG}-1+ppa1.1 "Upstream release"
+ - dch -r ''
+ - git commit -s -m "Upstream release" -a
+ - git push origin master
+ only:
+ - triggers
+ - web
+ when: on_success