[Git][security-tracker-team/security-tracker][master] 2 commits: fix CI: do not try to checkout a branch

Salvatore Bonaccorso carnil at debian.org
Sat Nov 10 07:20:21 GMT 2018


Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker


Commits:
ab63e1fb by Antoine Beaupré at 2018-11-09T19:43:43Z
fix CI: do not try to checkout a branch

This makes all jobs fail on merge requests, because the branch being
tested is deliberately *not* the master branch.

Gitlab CI should normally checkout the right branch at the right
point, so we shouldn't be messing around with git like that.

- - - - -
0061ab5b by Salvatore Bonaccorso at 2018-11-10T07:19:38Z
Merge branch 'anarcat/security-tracker-ci-fix'

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -5,8 +5,6 @@ check-syntax:
     - apt-get update && apt-get -y --no-install-recommends install git ca-certificates make python python-apt
 
   script:
-    - git checkout master
-    - git pull
     - make check-syntax
 
   # https://docs.gitlab.com/ce/ci/yaml/#shallow-cloning



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/f7494d5ee5fc3e97db54efef35b201d3d9195061...0061ab5b62c258e41045c3c1313e4583f06853ab

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/f7494d5ee5fc3e97db54efef35b201d3d9195061...0061ab5b62c258e41045c3c1313e4583f06853ab
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20181110/a28aae7e/attachment.html>


More information about the debian-security-tracker-commits mailing list