Skip to main content

Set up Build Details

BuildPiper has a well-designed ‘Build details setup template’ that enables seamless and hassle-free building of the Docker image by providing a few simple inputs and configurations. With Pre hooks and Post hooks, BuildPiper enables the execution of custom steps before and after the Docker image creation. The build template also allows defining CI information during the build definition process itself. Here is how the build template looks like.

Docs Version Dropdown

For building the service, configuring CI details is important. Here is how users can add CI details for the customized building of the Docker image.

Docs Version Dropdown

Enter Source Details#

1. Firstly, the users need to enter a specific Git URL.

2. After specifying the Git URL, users need to enter the repo credentials. Once the credentials are created, they can be re-used later for other services straight from the drop-down. Buildpiper supports these credential types.

  • Password
  • SSH
  • Token
  • Access token
  • AWS (access key and secret access key)

3. Specify the Dockerfile path where the user has placed the Docker file in the git repo.

Docs Version Dropdown

4. After specifying the Dockerfile path, enter the image name.

5. Click on save & continue to proceed further.

Enter CI Details#

6. Choose a language for defining CI-checks.

With each DevOps team using its own mix of technologies, it can be difficult to create a single build process that works across the organization. The build process must be flexible enough that every team can adapt it for their choice of language or framework.

Built with a developer-friendly mindset, our approach is to offer flexibility and ease of configuring CI for multiple-languages. Backed with the ability to offer multiple language CI support, Builpiper provides seamless CI configuration for these languages while setting up the build details.

  • JAVA
  • PHP

Docs Version Dropdown

7. Mention the CI-scope.

Buildpiper offers users an option to define the CI-scope. Users can specify CI-scope while defining the CI-checks along with a unique project key.

Specify Environment Variables#

BuildPiper allows you to specify different environment variables for providing access within different environments. BuildPiper supports building of environment variables with a set of key/value via two views, Field view to manage a small number of variables and the Editor view in case you want to copy-paste or manage a large number of variables.

Docs Version Dropdown

8. Specify the environment variables.

9. Click on Continue to proceed further.

Docs Version Dropdown

Add Custom Pre-hooks and Post-hooks#

10. Specify the hook details.

Buildpiper provides you with the ability to set-up custom pre-hooks and post-hooks during the build information stage. With pre-hooks and post-hooks, you can enable the custom execution of the steps before and after the creation of the Docker image. You can add pre-hooks via three options offered by Buildpiper,

  • Via Command
  • Via File Upload
  • Via Git

Docs Version Dropdown