Merge github.com:coollabsio/coolify into exposePort

This commit is contained in:
Aaron Styles
2022-05-03 16:14:58 +10:00
83 changed files with 2833 additions and 400 deletions

View File

@@ -101,11 +101,15 @@ export const post: RequestHandler = async (event) => {
type: 'webhook_commit'
}
});
await buildQueue.add(buildId, {
build_id: buildId,
type: 'webhook_commit',
...applicationFound
});
await buildQueue.add(
buildId,
{
build_id: buildId,
type: 'webhook_commit',
...applicationFound
},
{ jobId: buildId }
);
return {
status: 200,
body: {
@@ -161,13 +165,17 @@ export const post: RequestHandler = async (event) => {
type: 'webhook_pr'
}
});
await buildQueue.add(buildId, {
build_id: buildId,
type: 'webhook_pr',
...applicationFound,
sourceBranch,
pullmergeRequestId
});
await buildQueue.add(
buildId,
{
build_id: buildId,
type: 'webhook_pr',
...applicationFound,
sourceBranch,
pullmergeRequestId
},
{ jobId: buildId }
);
return {
status: 200,
body: {

View File

@@ -74,11 +74,15 @@ export const post: RequestHandler = async (event) => {
type: 'webhook_commit'
}
});
await buildQueue.add(buildId, {
build_id: buildId,
type: 'webhook_commit',
...applicationFound
});
await buildQueue.add(
buildId,
{
build_id: buildId,
type: 'webhook_commit',
...applicationFound
},
{ jobId: buildId }
);
return {
status: 200,
body: {
@@ -157,13 +161,17 @@ export const post: RequestHandler = async (event) => {
type: 'webhook_mr'
}
});
await buildQueue.add(buildId, {
build_id: buildId,
type: 'webhook_mr',
...applicationFound,
sourceBranch,
pullmergeRequestId
});
await buildQueue.add(
buildId,
{
build_id: buildId,
type: 'webhook_mr',
...applicationFound,
sourceBranch,
pullmergeRequestId
},
{ jobId: buildId }
);
return {
status: 200,
body: {