aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-10-19 07:17:43 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-19 07:17:43 +0000
commitfb5b97d0912f687b7e83836bfa52359d81c0ef76 (patch)
tree4c568f34fa4caecc0ae5a5bc9425b8902d98129c /.gitlab-ci.yml
parent0e379524e6e3aedd071d323826378af197344fac (diff)
downloadaports-fb5b97d0912f687b7e83836bfa52359d81c0ef76.tar.bz2
aports-fb5b97d0912f687b7e83836bfa52359d81c0ef76.tar.xz
gitlab-ci: remove git fetch before_script
To know what aports are changed in a merge request, we need to know where the target branch is, so that we can use git diff against that branch. To test this, this was added in the CI jobs description in a global `before_script`, but this is now being handled by respective scripts themselves, so the before_script is now redundant.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 0 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44e7b31924..a2deeedb7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,12 +6,6 @@ variables:
GIT_STRATEGY: fetch
GIT_DEPTH: "0"
-# Make sure master points to the correct upstream commit
-before_script:
- - >
- git fetch $CI_MERGE_REQUEST_PROJECT_URL
- +refs/heads/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME:refs/heads/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
-
lint:
stage: lint
image: alpinelinux/apkbuild-lint-tools:latest