Skip to content

Instantly share code, notes, and snippets.

@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"
> Task :compileJava SKIPPED
> Task :processResources SKIPPED
> Task :classes SKIPPED
> Task :jar SKIPPED
> Task :startScripts SKIPPED
> Task :distTar SKIPPED
> Task :distZip SKIPPED
> Task :assemble SKIPPED
> Task :compileTestJava SKIPPED
> Task :processTestResources SKIPPED
@gamerson
gamerson / build.gradle
Last active July 15, 2020 21:09
build.gradle workaround for com.liferay.node plugin and gradle4
allprojects {
plugins.withId("com.liferay.node") {
node.nodeUrl = node.nodeUrl.replace("http:", "https:")
}
}
dxp-7.0-sp8
commerce-2.0.7-7.2
dxp-7.0-sp10
portal-7.3-ga3
dxp-7.1-sp2
commerce-2.0.7-7.1
portal-7.3-ga2
commerce-2.0.2
dxp-7.0-sp5
dxp-7.2-ga1