You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/04/05 10:05:01 UTC

[buildstream-plugins] 46/49: tests/sources/git: Use locally defined git source

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 5ade411781c47d9745f837776663bcdee6995f73
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Tue Apr 5 18:35:48 2022 +0900

    tests/sources/git: Use locally defined git source
    
    Instead of accidentally testing the buildstream core git source which will
    be removed
---
 tests/sources/git/project-override/project.conf | 7 +++++++
 tests/sources/git/template/project.conf         | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/tests/sources/git/project-override/project.conf b/tests/sources/git/project-override/project.conf
index 01c9016..7ced79e 100644
--- a/tests/sources/git/project-override/project.conf
+++ b/tests/sources/git/project-override/project.conf
@@ -1,6 +1,13 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - git
+
 sources:
   git:
     config:
diff --git a/tests/sources/git/template/project.conf b/tests/sources/git/template/project.conf
index dc34380..a92b56b 100644
--- a/tests/sources/git/template/project.conf
+++ b/tests/sources/git/template/project.conf
@@ -1,3 +1,9 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - git