]> git.corax.cc Git - foundry/commitdiff
testbot: Remove remaining "commit" references
authorMatthias Kruk <m@m10k.eu>
Sun, 1 Aug 2021 07:39:27 +0000 (16:39 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 1 Aug 2021 07:39:27 +0000 (16:39 +0900)
Testbots receive testrequest messages and send test messages, neither
of which have a commit property. Therefore, testbots should have no
notion of commits.
This commit removes all remaining references to commits from the
testbot implementation.

testbot.sh

index 17dc5b49645fe61312e988fd7831d08da5b35049..e6540d4f74e7e4d2f218a5db05fa7cbc1f5f082b 100755 (executable)
@@ -55,7 +55,6 @@ publish_result() {
        if ! testmsg=$(foundry_msg_test_new "$context"    \
                                            "$repository" \
                                            "$branch"     \
-                                           "$commit"     \
                                            "$result"); then
                log_error "Could not make test message"
                return 1
@@ -77,7 +76,6 @@ handle_test_request() {
        local context
        local repository
        local branch
-       local commit
        local result
        local testlog