Skip to content

Commit

Permalink
Revert "remove default actions and remove demo links" (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Jul 31, 2024
1 parent 91bd4fc commit 98d6b2f
Show file tree
Hide file tree
Showing 2 changed files with 531 additions and 0 deletions.
168 changes: 168 additions & 0 deletions integrations/bitbucket/actions.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,170 @@
[
{
"identifier": "bitbucket_scaffold_service",
"title": "Scaffold Service",
"icon": "Microservice",
"userInputs": {
"properties": {
"service_name": {
"title": "Service Name",
"description": "The new service's name",
"type": "string"
},
"bitbucket_workspace_name": {
"title": "Bitbucket Workspace Name",
"description": "The workspace to create the new service in",
"type": "string"
},
"bitbucket_project_key": {
"title": "Bitbucket Project Key",
"description": "Bitbucket project key symbol",
"type": "string"
}
},
"required": [
"service_name",
"bitbucket_workspace_name",
"bitbucket_project_key"
],
"order": [
"service_name",
"bitbucket_workspace_name",
"bitbucket_project_key"
]
},
"invocationMethod": {
"type": "WEBHOOK",
"agent": true,
"url": "https://example.com",
"synchronized": false,
"method": "POST"
},
"trigger": "CREATE",
"description": "To complete setting up this action, please refer to the following guide: [Setup scaffold service action ->](https://docs.getport.io/guides-and-tutorials/scaffold-a-new-service?git-provider=bitbucket)",
"requiredApproval": false,
"blueprint": "service"
},
{
"identifier": "bitbucket_send_scorecard_reminder",
"icon": "Slack",
"title": "Send scorecard reminder",
"userInputs": {
"properties": {},
"required": []
},
"invocationMethod": {
"type": "WEBHOOK",
"agent": true,
"url": "https://example.com",
"synchronized": true,
"method": "POST"
},
"trigger": "CREATE",
"description": "To complete setting up this action, please refer to the following guide: [Setup send scorecard reminder action ->](https://docs.getport.io/guides-and-tutorials/setup-slack-reminders?git-provider=bitbucket)",
"requiredApproval": false,
"blueprint": "service"
},
{
"identifier": "bitbucket_enrich_service",
"title": "Enrich service",
"icon": "Git",
"userInputs": {
"properties": {
"type": {
"icon": "BlankPage",
"title": "Type",
"description": "The service's type",
"type": "string",
"enum": [
"backend",
"frontend",
"integration"
],
"enumColors": {
"backend": "lightGray",
"frontend": "lightGray",
"integration": "lightGray"
}
},
"lifecycle": {
"icon": "CICD",
"title": "Lifecycle",
"description": "The service's lifecycle state",
"type": "string",
"enum": [
"Production",
"Experimental",
"Deprecated"
],
"enumColors": {
"Production": "green",
"Experimental": "orange",
"Deprecated": "red"
}
}
},
"required": [],
"order": [
"type",
"lifecycle"
]
},
"invocationMethod": {
"type": "WEBHOOK",
"agent": true,
"url": "https://example.com",
"synchronized": true,
"method": "POST"
},
"trigger": "DAY-2",
"description": "To complete setting up this action, please refer to the following guide: [Setup enrich service action ->](https://docs.getport.io/guides-and-tutorials/let-developers-enrich-services-using-gitops?git-provider=bitbucket)",
"requiredApproval": false,
"blueprint": "service"
},
{
"identifier": "bitbucket_create_s3_bucket",
"icon": "S3",
"title": "Create s3 bucket",
"userInputs": {
"properties": {
"name": {
"title": "Name",
"description": "The name of the cloud resource",
"type": "string"
},
"visibility": {
"title": "Visibility",
"description": "The resource's public/private visibility",
"type": "string",
"enum": [
"public",
"private"
],
"enumColors": {
"public": "green",
"private": "red"
}
}
},
"required": [
"name",
"visibility"
],
"order": [
"name",
"visibility"
]
},
"invocationMethod": {
"type": "WEBHOOK",
"agent": true,
"url": "https://example.com",
"synchronized": true,
"method": "POST"
},
"trigger": "DAY-2",
"description": "To complete setting up this action, please refer to the following guide: [Setup create s3 bucket ->](https://docs.getport.io/guides-and-tutorials/create-cloud-resource-using-iac?git-provider=bitbucket)",
"requiredApproval": false,
"blueprint": "service"
}
]
Loading

0 comments on commit 98d6b2f

Please sign in to comment.