Procedures to Switch to Diarkis CLI v3
(Information as of February 26, 2025)
Overview
Since the Diarkis CLI versions v1 and v2 are set to be discontinued, we request you to switch to the latest Diarkis CLI v3. If you have been using Diarkis for a while, you may be using v1/v2, and therefore, an upgrade to the Diarkis CLI is necessary.
By using the latest version, you can achieve faster builds. We apologize for the inconvenience and appreciate your understanding and cooperation.
How to Check Your Current Version
Search for builder.diarkis.io
in your server's source code.
If your search result is v3.builder.diarkis.io
, there is no need to switch.
If your search results in builder.diarkis.io
or v2.builder.diarkis.io
, you need to switch, so please follow the steps outlined below.
Steps
Download the new diarkis-cli
You can download the binary from https://github.com/Diarkis/diarkis-server-template/tree/develop/src/diarkis-cli/os and replace your existing diarkis-cli binary.
Change the endpoint of the diarkis build server
Replace occurrences of
builder.diarkis.io
/v2.builder.diarkis.io
in the source code withv3.builder.diarkis.io
.
(Optional) Use
.buildignore
to speed up the build process further..buildignore
specifies the items not to be uploaded to the build server, reducing the upload size and overall build time.Refer to https://github.com/Diarkis/diarkis-server-template/blob/develop/src/.buildignore and place it in your repository. The default settings are generally sufficient, but if there are additional unnecessary files or folders, particularly large binary files, it is recommended to add them to the list.
Run the script or task that executes
diarkis-cli
to ensure there are no issues.
Last updated
Was this helpful?