summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-01-26 10:31:00 +0000
committerBen Copeland <ben.copeland@linaro.org>2016-01-26 15:50:00 +0000
commit45a73439b2a9954f2793142b8843a1e9e699b996 (patch)
tree56b1193ffff2e10665a326c8f6a8651ed77e6346 /per-service
parent083c557c49f8866c762b7fd3721f8e644a518cc4 (diff)
patchwork: Define GIT version
As per linting, we should define a git version when cloning repos. Change-Id: I9cfdfaa7cc9a445f58c625874095316f51a8d5ee Reviewed-on: https://review.linaro.org/10123 Reviewed-by: Andy Doan <andy.doan+gerrit@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/patchwork/roles/patchwork-pre-django/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/per-service/patchwork/roles/patchwork-pre-django/tasks/main.yml b/per-service/patchwork/roles/patchwork-pre-django/tasks/main.yml
index 7a6aca7a..197fd92b 100644
--- a/per-service/patchwork/roles/patchwork-pre-django/tasks/main.yml
+++ b/per-service/patchwork/roles/patchwork-pre-django/tasks/main.yml
@@ -13,7 +13,7 @@
- name: Clone django-crowd-rest-backend repository
git: repo=http://git.linaro.org/lava/django-crowd-rest-backend.git
- dest=/srv/django-crowd-rest-backend
+ dest=/srv/django-crowd-rest-backend version="HEAD"
register: crowdbackend
- name: Install django-crowd-rest-backed
@@ -28,7 +28,7 @@
- name: Install patchwork tools
git: repo=https://git.linaro.org/infrastructure/patchwork-tools.git
dest={{install_base}}/{{hostname}}/tools
- update=yes accept_hostkey=true
+ update=yes accept_hostkey=true version="HEAD"
sudo_user: "{{apache_user}}"
tags:
- update