What are Build Arguments?
Build Arguments are unique variables that are passed as environment variables during build-time. They can be passed by adding
Values and can be of use during the build process of KintoBlock. They are specific to a branch of a KintoBlock and in case you switch branches and want to use a particular branch in
KintoBlock, then you will need to input the
Build Arguments on that branch too.
Note: The Build Arguments can be added to Microservice, Website and Custom Service on the
How to add Build Arguments in KintoBlock?
To add Build Arguments to “KintoBlock”, follow the steps mentioned below:
Open a KintoBlock.
Select the required branch in the repository.
Scroll down to the “Build Arguments” section at the bottom of the form.
Add the Argument and Value.
Click on the + icon.
Click on the "Save Changes" button.
How to Edit or Delete Build Arguments in KintoBlock?
It is possible to edit and delete a Build Argument in KintoBlock at any required point. The edit and delete operations are also carried out in the
KintoBlocks Manage page.
Open the KintoBlock.
Select the required branch in your repository.
Scroll down to the Build Arguments section at the bottom of the form.
To edit, overwrite the existing
Valuewith the updated values.
To delete, click on the X icon displayed beside build arguments.
Click on the
Save Changesbutton to apply the changes.