Skip to content

Commit

Permalink
Disable SSH Key Syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
Schnitzel committed Feb 28, 2019
1 parent 96affbc commit 3041b36
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions services/webhooks2tasks/src/webhooks/dataSync.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ async function processOther(
await handle(gitlabUserProjectRemove, webhook, `${webhooktype}:${event}`);
break;

case "gitlab:key_create":
await handle(gitlabSshKeyAdd, webhook, `${webhooktype}:${event}`);
break;

case "gitlab:key_destroy":
await handle(gitlabSshKeyRemove, webhook, `${webhooktype}:${event}`);
break;
// https://govdex.gov.au/jira/browse/GOVCMS-2658
// Disable SSH Key Syncing for now
// case "gitlab:key_create":
// await handle(gitlabSshKeyAdd, webhook, `${webhooktype}:${event}`);
// break;

// case "gitlab:key_destroy":
// await handle(gitlabSshKeyRemove, webhook, `${webhooktype}:${event}`);
// break;

default:
unhandled(webhook, `${webhooktype}:${event}`);
Expand Down

0 comments on commit 3041b36

Please sign in to comment.