aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 09:38:17 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 09:38:17 -0400
commit89c7394e2a1277d74ed5affcad6d335e83b1a567 (patch)
tree98f3cb1340fa6a940251441952e6bc4e74744d1d /include
parent45557383afe19a0a180b3a8568a1d88337dad440 (diff)
downloadstasis-89c7394e2a1277d74ed5affcad6d335e83b1a567.tar.gz
Allow filtering of tags from repositories during build/test phase
* The version requested and the tag resolved by git describe may be different if the project's maintainer tagged a commit object more than once. * If version 1.2.3 and 1.2.3a fall on the same commit, one can now filter the "a" to ensure the tag is reported correctly during build/test.
Diffstat (limited to 'include')
-rw-r--r--include/deliverable.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/deliverable.h b/include/deliverable.h
index 506354a..f5681f4 100644
--- a/include/deliverable.h
+++ b/include/deliverable.h
@@ -144,14 +144,15 @@ struct Delivery {
* \brief Test information
*/
struct Test {
- char *name; ///< Name of package
- char *version; ///< Version of package
- char *repository; ///< Git repository of package
- char *script; ///< Commands to execute
- char *build_recipe; ///< Conda recipe to build (optional)
- char *repository_info_ref; ///< Git commit hash
- char *repository_info_tag; ///< Git tag (first parent)
- struct Runtime runtime; ///< Environment variables specific to the test context
+ char *name; ///< Name of package
+ char *version; ///< Version of package
+ char *repository; ///< Git repository of package
+ char *script; ///< Commands to execute
+ char *build_recipe; ///< Conda recipe to build (optional)
+ char *repository_info_ref; ///< Git commit hash
+ char *repository_info_tag; ///< Git tag (first parent)
+ struct StrList *repository_remove_tags; ///< Git tags to remove (to fix duplicate commit tags)
+ struct Runtime runtime; ///< Environment variables specific to the test context
} tests[1000]; ///< An array of tests
struct Deploy {