]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
kernel: do not fetch git tags 838/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 22 Aug 2017 08:57:12 +0000 (10:57 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 22 Aug 2017 10:47:18 +0000 (12:47 +0200)
commitb34f8faa08d44d6afe1f3e2957138e45d71b8c3c
tree54e4bd0e883c14250712815288265568a848094e
parentb3ddcc2ec4c71c3fd4cab114d1eb6d460f26e0f2
kernel: do not fetch git tags

After a recent jenkins/plugins update, jenkins started listing tags and
attempting git rev-parse ^{commit} on them:

  Seen branch in repository origin/wip-tighter-types
  Seen 39 remote branches
  > git tag -l # timeout=10
  > git rev-parse refs/tags/v4.7-rc7^{commit} # timeout=10
  > git rev-parse refs/tags/v2.6.30-rc7^{commit} # timeout=10

On the Linux kernel repo, this eventually fails with:

  > git rev-parse refs/tags/v2.6.11^{commit} # timeout=10
  FATAL: Command "git rev-parse refs/tags/v2.6.11^{commit}" returned status code 128:
  stdout: refs/tags/v2.6.11^{commit}
  stderr: error: refs/tags/v2.6.11^{commit}: expected commit type, but
  the object dereferences to tree type

Only "trigger" jobs seem to be affected, but we don't really need tags,
so don't fetch them for both kernel-trigger and kernel.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
kernel-trigger/config/definitions/kernel-trigger.yml
kernel/config/definitions/kernel.yml