Skip to content

Commit e38efac

Browse files
avargitster
authored andcommitted
t/README: Add SMOKE_{COMMENT,TAGS}= to smoke_report target
The smoke server supports a free form text field with comments about a report, and a comma delimited list of tags. Change the smoke_report target to expose this functionality. Now smokers can send more data that explains and categorizes the reports they're submitting. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4678a5c commit e38efac

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

t/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ SMOKE_UPLOAD_FLAGS =
6969
ifdef SMOKE_USERNAME
7070
SMOKE_UPLOAD_FLAGS += -F username="$(SMOKE_USERNAME)" -F password="$(SMOKE_PASSWORD)"
7171
endif
72+
ifdef SMOKE_COMMENT
73+
SMOKE_UPLOAD_FLAGS += -F comments="$(SMOKE_COMMENT)"
74+
endif
75+
ifdef SMOKE_TAGS
76+
SMOKE_UPLOAD_FLAGS += -F tags="$(SMOKE_TAGS)"
77+
endif
7278

7379
smoke_report: smoke
7480
curl \

t/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,13 @@ and password you'll be able to do:
600600

601601
SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> make smoke_report
602602

603+
You can also add an additional comment to attach to the report, and/or
604+
a comma separated list of tags:
605+
606+
SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> \
607+
SMOKE_COMMENT=<comment> SMOKE_TAGS=<tags> \
608+
make smoke_report
609+
603610
Once the report is uploaded it'll be made available at
604611
http://smoke.git.nix.is, here's an overview of Recent Smoke Reports
605612
for Git:

0 commit comments

Comments
 (0)