Skip to content

Instantly share code, notes, and snippets.

@gamerson
gamerson / tasks.json
Created July 23, 2021 14:55
Lugbot `/tasks` Example #2 - Large proposals
[
{
"finishTime": 1627051481133,
"id": 4,
"name": "Bug Prevention",
"projectId": 1,
"startTime": 1627051458149,
"state": "COMPLETED_SUCCESS"
},
{
@gamerson
gamerson / tasks.json
Created July 23, 2021 14:35
Lugbot `/tasks?state=COMPLETED_FAILURE` Example
[
{
"finishTime": 1627048113551,
"id": 11,
"name": "Code Upgrade Proposal: find-breaking-changes_FindBreakingChanges",
"projectId": 1,
"proposal": {
"action": "canceled",
"body": "Canceled by user",
"branchName": "",
@gamerson
gamerson / tasks.json
Created July 23, 2021 14:33
Lugbot `/tasks` Example #1
[
{
"finishTime": 1627047806038,
"id": 4,
"name": "Bug Prevention",
"projectId": 1,
"startTime": 1627047771174,
"state": "COMPLETED_SUCCESS"
},
{
@gamerson
gamerson / status.json
Created July 23, 2021 14:26
Lugbot `/status` Example #3 - Completed Tasks with Proposals
{
"completedTasks": [
{
"finishTime": 1627047806038,
"id": 4,
"name": "Bug Prevention",
"projectId": 1,
"startTime": 1627047771174,
"state": "COMPLETED_SUCCESS"
},
@gamerson
gamerson / status.json
Created July 23, 2021 13:53
Lugbot `/status` example #2
{
"completedTasks": [
{
"finishTime": 1627047806038,
"id": 4,
"name": "Bug Prevention",
"projectId": 1,
"startTime": 1627047771174,
"state": "COMPLETED_SUCCESS"
},
@gamerson
gamerson / status.json
Created July 23, 2021 13:47
Lugbot `/status` example #1
{
"completedTasks": [
{
"finishTime": 1627047806038,
"id": 4,
"name": "Bug Prevention",
"projectId": 1,
"startTime": 1627047771174,
"state": "COMPLETED_SUCCESS"
},
{
"completedTasks": [],
"pendingTasks": [
{
"finishTime": 0,
"id": 9,
"name": "Code Upgrade Proposal: debug-timer_sleep-60",
"startTime": 0,
"state": "2"
},
@gamerson
gamerson / lugbot.yaml
Created June 1, 2021 22:23
sample lugbot yaml
tasks:
mode: pr
upgrade:
currentVersion: '7.1'
upgradeVersion: '7.3'
enableAll: true
quality:
categories:
- BugPrevention
- Performance
@gamerson
gamerson / payload.json
Created October 21, 2020 19:01
payload.json
{
"action": "created",
"issue": {
"url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3",
"repository_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test",
"labels_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3/labels{/name}",
"comments_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3/comments",
"events_url": "https://api.github.com/repos/gamerson/lfrgs-sim-ips-test/issues/3/events",
"html_url": "https://github.com/gamerson/lfrgs-sim-ips-test/issues/3",
"id": 725970390,
@gamerson
gamerson / webhooks.json
Created October 21, 2020 18:50
webhooks.json
[
{
"id": "lugbot",
"execute-command": "/opt/lugbot-upgrade.sh",
"command-working-directory": "/tmp",
"pass-arguments-to-command":
[
{
"source": "payload",
"name": "repository.owner.login"