Deploy from JetBrains Space¶
This guide covers setting up automated deployments from a JetBrains Space Git repository to a server managed by Appliku.
Note
The examples below use a team named appliku and an app named sometest. Replace these with your own team and app names.
Step 1: Create an Extension Application in JetBrains Space¶
- Open your team in JetBrains Space and go to the Extensions page
- Click New Application
- Give the app a name — use lowercase with no spaces, as it will be used in credentials
- Click Create, then Go to application
Step 2: Authorize the Extension¶
- Go to the Authorization tab
- Click Authorize in project, select your project, and click Authorize
- Click Configure
- Enable View Project details and Read Git Repositories, then click Save
Step 3: Generate a Permanent Token¶
- Click the Authorization link, then Permanent Tokens
- Click New Permanent Token..., give it a name, and click Create
- Copy the token and save it — it will not be shown again
Step 4: Create an Application in Appliku¶
- In your Appliku team dashboard, click Create an application
- Select Custom as the Git provider
Step 5: Build the Git URL¶
In JetBrains Space, copy the HTTPS clone URL for your repository. It looks like:
Edit the URL to include the extension app name and token:
For example:
You can verify the URL locally:
Paste this URL into the Git URL field in Appliku and click Create Application.
Step 6: Configure the Webhook in JetBrains Space¶
- In JetBrains Space, go to the Webhooks tab of your extension application
- Click New webhook, give it a name (include the app name), and click Create
- Create a new subscription with these settings:
- Source: Git Repository Commits
- Project: your project
- Filter by repository: your repository
- Branch: the branch used for deployment (e.g.,
main) - Events: Git repository commit
- Click Save
Step 7: Set the Webhook Endpoint¶
- Click the pencil icon near Endpoint
- Disable Use application settings
- In your Appliku dashboard, open the application settings and go to the Webhook tab
- Copy the webhook URL and paste it into the Endpoint URL field in JetBrains Space
- Click Save
Click Test endpoint to verify the connection. You should see a new deployment appear in the Appliku dashboard.
Your deployments from JetBrains Space are now automated.