This guide provides instructions on how to configure the autobuild feature on our platform. Autobuild allows you to automatically build and deploy your projects when changes are detected in your source code repository.

Prerequisites

Before you start configuring the autobuild feature, make sure you have the following prerequisites:

  • A valid user account on our platform.
  • A project created on our platform.
  • A source code repository (e.g., GitHub, GitLab, Bitbucket) linked to your project.

Step-by-Step Configuration

1. Navigate to Project Settings

  1. Go to your project's dashboard.
  2. Click on the "Settings" tab.
  3. In the "Autobuild" section, click on "Configure".

2. Select Repository

  1. Choose your source code repository from the dropdown list.
  2. Enter the repository URL.
  3. Click "Next".

3. Configure Build Steps

  1. Build Command: Enter the command to build your project.
  2. Dockerfile: If you are using Docker, upload your Dockerfile or select an existing one.
  3. Build Environment Variables: Add any required environment variables for the build process.
  4. Click "Save".

4. Configure Deployment

  1. Deployment Target: Choose the target environment (e.g., staging, production).
  2. Deployment Method: Select the deployment method (e.g., direct deployment, CI/CD pipeline).
  3. Deployment Environment Variables: Add any required environment variables for the deployment process.
  4. Click "Save".

5. Enable Autobuild

  1. In the "Autobuild" section, toggle the switch to enable the feature.
  2. Optionally, set up a build schedule or trigger the build manually.

Troubleshooting

If you encounter any issues during the configuration process, please refer to the following troubleshooting tips:

  • Check Repository Permissions: Make sure you have the necessary permissions to access your source code repository.
  • Validate Build Command: Ensure that the build command is correct and that the required tools are installed.
  • Review Deployment Configuration: Double-check the deployment settings and environment variables.

For more detailed information and additional resources, please visit our Autobuild Documentation.

Docker Image